Current time: 11-17-2019, 08:00 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Same test, different results
10-10-2013, 03:54 AM (This post was last modified: 10-10-2013 04:44 AM by pmeenan.)
Post: #1
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:
combineSteps
navigate http://todomvc.com/architecture-examples/backbone/


API

Request:
POST http://www.webpagetest.org/runtest.php?f...s%3AChrome

Result:
[Image: Captura%20de%20pantalla%202013-10-09%20a....39.25.png]


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

Result:
[Image: Captura%20de%20pantalla%202013-10-09%20a....44.01.png]

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.
Find all posts by this user
Quote this message in a reply
10-10-2013, 04:45 AM
Post: #2
RE: Same test, different results
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
10-10-2013, 06:32 AM
Post: #3
RE: Same test, different results
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)