WebPagetest Forums
No speedindex when using the API - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: No speedindex when using the API (/showthread.php?tid=14101)



No speedindex when using the API - joelabrahamsson - 12-07-2015 06:15 PM

Hi!

I've set up a private instance of WPT and all seems well. However, when I trigger tests using the API I:
* Don't see speedindex in the summary view
* Get 0 as value for speedindex when viewing the test results using the API

When triggering test through the UI speedindex is included in the test results.

A sample API request looks like this:

http://<myhost>/runtest.php?url=http://www.google.com&f=json&location=Test:Chrome&video=1

The only parameter that I can see as related to speedindex in the docs is the video parameter but maybe I'm missing some other parameter which is needed for speedindex?


RE: No speedindex when using the API - pmeenan - 12-08-2015 11:17 PM

No, passing video=1 should be all that is required. Do you see a filmstrip in the test result that you submitted from the API?


RE: No speedindex when using the API - joelabrahamsson - 12-09-2015 12:56 AM

(12-08-2015 11:17 PM)pmeenan Wrote:  No, passing video=1 should be all that is required. Do you see a filmstrip in the test result that you submitted from the API?

Thanks for the reply. It *magically* started working after posting this thread :-)