WebPagetest Forums
How can I get individual timings per step in a script - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: How can I get individual timings per step in a script (/showthread.php?tid=12612)



How can I get individual timings per step in a script - craig.combs@target.com - 10-17-2013 05:50 AM

It's documented that only 1 capture is allowed for a script on Hosted so you want to use logData 0 to exclude what you don't want and logData 1 for want you want to measure.

We are using a private instance and would like to record a measurement for each navigation.

Is there an ability to do this for private instances.


RE: How can I get individual timings per step in a script - cws - 10-23-2013 04:28 PM

(10-17-2013 05:50 AM)craig.combs@target.com Wrote:  It's documented that only 1 capture is allowed for a script on Hosted so you want to use logData 0 to exclude what you don't want and logData 1 for want you want to measure.

We are using a private instance and would like to record a measurement for each navigation.

Is there an ability to do this for private instances.

WebPageTest can't do this without modifing the source code. However, the most data for each navigation step is already collected. In the <run>_IEWPG.txt file the measurement results for each navigation step are already stored (expect the steps behind logData 0). The server just reads the first step (=line) of this file in page_data.inc (there is a explicit break in the source code).

For the request details its a little more complicated. The <run>_IEWTR.txt file just contains the request details for the last measured navigation step. To get the whole request data you need to change the file creation in the agent code (the files are created in the file results.cc). With the screenshots and video it's the same issue. Old screenshots are overriden by new ones.

If you just need the results you can use the "raw page data" link on the result page. This generates a csv file, which contains the measurement results for each navigation step (one line = one step).