No speedindex when using the API

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:///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?

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 :slight_smile: