Current time: 12-10-2019, 04:57 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to return test results as JSON thru API?
05-16-2015, 04:40 AM
Post: #1
Is it possible to return test results as JSON thru API?
I can hit the "/runtest.php" API endpoint and have JSON returned by appending the `f=json` URL parameter.

Is there a way to get the results of the test returned as JSON, as opposed to XML? I tried appending the JSON URL parameter but that didn't work (e.g. 'http://www.webpagetest.org/xmlResult/<test-id>/?f=json').

Thanks!
Find all posts by this user
Quote this message in a reply
05-16-2015, 04:43 AM
Post: #2
RE: Is it possible to return test results as JSON thru API?
The runtest.php response should give you an URL for the JSON version of the result. Usually looks something like http://www.webpagetest.org/jsonResult.ph...est-id>
Visit this user's website Find all posts by this user
Quote this message in a reply
05-16-2015, 04:43 AM
Post: #3
RE: Is it possible to return test results as JSON thru API?
Ahh, I missed that for some reason. Thanks for the quick response!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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