sitespeedio / sitespeed.io

sitespeed.io is an open-source tool for comprehensive web performance analysis, enabling you to test, monitor, and optimize your website’s speed using real browsers in various environments.
https://www.sitespeed.io/
MIT License
4.74k stars 600 forks source link

WebPageTest missing data breaks a run #1685

Closed soulgalore closed 7 years ago

soulgalore commented 7 years ago

We sometimes gets error when running WebPageTest against NYT:

screen shot 2017-07-31 at 06 56 22

The problem is that WebPageTest misses data from one run.

We should check for that in the JSON we get back.

https://www.webpagetest.org/jsonResult.php?test=170730_W6_6c0ba8a9efbf1193ccdde74d950ed0d5

soulgalore commented 7 years ago

Hmm, the status code in the JSON is 200 = everything working but the data looks like:

"runs":{"1":{"firstView":{"numSteps":1,"run":1,"tester":"VM4-03-192.168.10.91","testTiming":{"ExtensionStart":2039,"ExtensionBlank":231,"WaitForIdle":1090,"MeasureStep":33666,"RunTest":303490,"UploadImages":0,"AllRunsDuration":303000},"cached":0,"step":1,"loadTime":0,"TTFB":0,"render":0,"fullyLoaded":0,"docTime":0,"domTime":0,"aft":0,"titleTime":0,"loadEventStart":0,"loadEventEnd":0,"domContentLoadedEventStart":0,"domContentLoadedEventEnd":0,"domLoading":0,"domInteractive":0,"lastVisualChange":0,"visualComplete":0,"server_rtt":0,"firstPaint":0,"smallImageCount":0,"bigImageCount":0,"maybeCaptcha":0,