MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Timestamps for test start / completion

WebPagetest Forums

Full Version: Timestamps for test start / completion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Since ~9th Oct responses to calls to `/testStatus.php?` seem to be returning less detail than before, and specifically (ie the bit that's breaking my code) are no longer returning a value for startTime. Is this intentional?

For eg:

An older test (from August): https://www.webpagetest.org/testStatus.p...ca5&f=json

Code:
{
  "statusCode": 200,
  "statusText": "Test Complete",
  "data": {
    "statusCode": 200,
    "statusText": "Test Complete",
    "id": "200820_D0_1dca59727e1865d521dd679bcb610ca5",
    "testInfo": { ... },
    "testId": "200820_D0_1dca59727e1865d521dd679bcb610ca5",
    "runs": 3,
    "fvonly": 1,
    "remote": false,
    "testsExpected": 3,
    "location": "London_EC2",
    "startTime": "08/20/20 21:05:03",
    "elapsed": 51,
    "completeTime": "08/20/20 21:05:54",
    "testsCompleted": 3,
    "fvRunsCompleted": 0,
    "rvRunsCompleted": 0
  }
}

vs a more recent test: https://www.webpagetest.org/testStatus.p...178&f=json

Code:
{
  "statusCode": 200,
  "statusText": "Test Complete",
  "data": {
    "statusCode": 200,
    "statusText": "Test Complete",
    "id": "201018_Di3P_965e5ef3280318bf6d704b4630e8d178",
    "completeTime": 1603186019
  }
}

In addition the timestamp currently being returned for `completeTime` in the 2nd example above also now seems to be a different value from the timestamp of `data.completed` in the full JSON response, whereas for the older test these values are equivalent.

Any thoughts?

Thanks for a very helpful tool btw!
Sorry about the delay. It should be better now. I added a fast-path for test status on the server that got rid of some race conditions but the responses weren't what they were before. I just fixed the timestamps and added a bunch of the missing fields. The different "completed" test counts aren't reported but hopefully that's not an issue.
Fantastic, thanks Patrick - really appreciate you taking a look at this. Everything I was using is now back where it was (the "completed" count wasn't something I was looking at personally). Thanks again!
Reference URL's