WebPagetest Forums
Report.txt, details page - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Report.txt, details page (/showthread.php?tid=1009)

Report.txt, details page - ebo488 - 07-27-2011 06:37 AM

For the details page, im trying to understand how it gets the information. Does it come directly from the report.txt.gz file inside the result folder for that test or is is being collected from a HAR/json file. I want to try to do virtually the same thing but extract only the information that I need rather than all of it.

RE: Report.txt, details page - pmeenan - 07-27-2011 06:41 AM

It comes from both the *_IEWTR.txt.gz file (has all of the request timings in a tab-delimited file) and report.txt.gz for the raw headers.

If you want to re-use code, page_data.inc in the php code will load and parse the data for you.

RE: Report.txt, details page - ebo488 - 07-28-2011 03:44 AM

Where does the $testPath variable get initialized. Im trying to use the loadallpagedata methods but cannot find the appropriate test path, thanks!

RE: Report.txt, details page - pmeenan - 07-28-2011 03:45 AM

common.inc - There is a helper function GetTestPath() that will translate a test ID into a relative path but it also sets it based on the test ID for the current test if one is set.