WebPagetest Forums
testStatus inaccurate - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: testStatus inaccurate (/showthread.php?tid=14637)

testStatus inaccurate - giri - 12-06-2016 08:54 AM


I have an automated framework where my program submits tests to a private WPT installation via the REST API. After submitting the test (for 9 runs) it checks for the status via the /testStatus.php REST endpoint every 30 seconds. After getting a response of "statusCode":200,"statusText":"Test Complete" the response sometimes contains "testsCompleted" as less than 9. When I manually check the status via the same endpoint after a few hours the testCompleted is returned correctly as 9.

This does not happen always but does happen 1 in 15 runs or so.