Pingback and Json
|
07-14-2012, 04:54 AM
Post: #1
|
|||
|
|||
Pingback and Json
Hey Patrick,
It looks like the jsonUrls reported through the API are not working - the page renders the same as the userURL html Also, can the pingback parameter be used to report results to a private showslow instance? |
|||
07-15-2012, 12:43 PM
Post: #2
|
|||
|
|||
RE: Pingback and Json
Showslow expects the beacons in a different format than the pingbacks. If you run a private WebPagetest instance then you can configure it to send beacons to showslow but the public instance can't send beacons to private showslow instances.
Can you send a sample result that has JSON urls that aren't working? The JSON support is spotty so it's possible it hasn't been implemented somewhere yet. |
|||
07-18-2012, 07:40 AM
Post: #3
|
|||
|
|||
RE: Pingback and Json
Hey Patrick, here is an example of the json url I get back
It renders tot eh page results http://www.webpagetest.org/results.php?t...d7a&f=json Also - question on the pingbacks, do they notify the specified ural as the test progresses or upon completion - I seem to be getting multiple notifications Thx, morgan |
|||
07-19-2012, 06:36 AM
Post: #4
|
|||
|
|||
RE: Pingback and Json
I'm wondering where you got the ?f=json URL in the first place. I think runtest.php will return a path for an XML result but I didn't think it provided a JSON one (mostly because JSON isn't supported for the test results yet).
|
|||
07-19-2012, 06:38 AM
Post: #5
|
|||
|
|||
RE: Pingback and Json
The pingbacks should only be on completion. I just verified the code and it's inside the code block that is only run when a test finishes so there shouldn't be a way for it to be calling multiple times.
|
|||
08-16-2012, 11:28 AM
Post: #6
|
|||
|
|||
RE: Pingback and Json
Hey Pat,
I'm also getting ?f=json URL on my private instance through the API, e.g.: Code: $ curl "http://localhost/runtest.php?url=http%3A%2F%2Fexample.com&f=json" Thanks, |
|||
08-17-2012, 11:58 PM
Post: #7
|
|||
|
|||
RE: Pingback and Json
Yeah, that would be a bug where I optimistically expected to implement json support for the results but haven't gotten around to it yet - sorry. If it would help and XML is too painful I can see about cranking out the JSON support in the next week or so.
|
|||
09-25-2012, 10:45 AM
Post: #8
|
|||
|
|||
RE: Pingback and Json
Hey all - Wondering if full(er) JSON support is still on the horizon or available?
from my quick testing, it looks like f=json works fine for: runtest.php and testStatus.php but not yet for results.php - is that correct or am derping something? thanks! -matt |
|||
09-26-2012, 05:28 AM
Post: #9
|
|||
|
|||
RE: Pingback and Json
Correct. I will probably implement it in 2-3 weeks after I get back from Velocity Europe (yes, parsing XML is a pain, sorry).
|
|||
01-24-2013, 09:34 PM
Post: #10
|
|||
|
|||
RE: Pingback and Json | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)