Same test, different results

Hello.

I’ve been using the WPT API for submitting automated tests. However, I’ve noticed that the results did not include the Speed Index and User Time metrics. So I’ve compared the same test, made from the API and from the UI, and these are the results:

The test (only a script)
Location: Dulles, VA - Chrome - Cable
Script:
[font=Courier]combineSteps
navigate http://todomvc.com/architecture-examples/backbone/[/font]

API

Request:
[font=Courier]POST http://www.webpagetest.org/runtest.php?f=json&script=combineSteps navigate+http%3A%2F%2Ftodomvc.com%2Farchitecture-examples%2Fbackbone%2F &location=Dulles%3AChrome[/font]

Result:

UI
Request: selected location, entered the above script and clicked “Start test”.

Result:

The first test includes the Speed Index metric, but the second does not. Also I can’t see the script associated to the test in the first one.

Any thoughts? Thanks.

Try passing video=1 to the API as a test option. The UI defaults to enabling video capture.

Also, I cleaned up your post but it’s a REALLY bad idea to publicly post your API key.

Thank you so much, Patrick. It worked now. And you’re right about the API key, I just didn’t notice that I posted it.

One last thing: it would great to include these kind of details in the documentation.