WebPagetest Forums
How can I get the result ID from CLI test call - 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: How can I get the result ID from CLI test call (/showthread.php?tid=15426)



How can I get the result ID from CLI test call - Digitalneo - 06-29-2018 06:00 AM

I'd like to get the result Id at run-time after kicking off a test call.

Perhaps I could save the result json to a file, and retrieve it there?


RE: How can I get the result ID from CLI test call - eva2000 - 07-05-2018 02:22 PM

Can't you script it to inspect the xml output for the test ? That's what I do for my API usage for WPT, GTMetrix and Google PageSpeed Insights https://github.com/centminmod/google-insights-api-tools

the test id would be in the result xml file <testId></testId> tags