RESTful APIs and Relays
|
02-07-2012, 03:17 AM
(This post was last modified: 02-07-2012 03:37 AM by Aaron Kulick.)
Post: #1
|
|||
|
|||
![]()
We leverage the RESTful APIs heavily for internal URL testing and relay requests heavily. I have noticed a potential bug, though, it may not necessarily be a bug both with the normal GUI results and the RESTful API results of any relay test.
I have not had time to fully investigate and will be doing so this morning and there is a simple work around for the issue, but maybe someone has a fix/suggestion already. To reproduce the issue:
The API reports as follows: curl "http://www.example.com/xmlResult.php?test=120206_YS_KPT" Code: <response> The API will continue to report a statusCode 100 until GUI test result URL is hit (http://www.example.com/result/120206_YS_KPT/). No matter how many times I hit it will staty at "Pending" even after hours or days have passed. However, as soon as the GUI result is hit, the API result will change to completed and the results displayed as XML normally. The simple workaround is to hit the GUI result URL before hitting the API result. However, the situation is not ideal. I have not really looked into how relay results are presented, but appears the simple act of viewing them stages the result and changes it from pending to completed. However, as I said, I am not sure why this is. Anybody else seeing this behavior? Aaron |
|||
02-07-2012, 03:59 AM
Post: #2
|
|||
|
|||
RE: RESTful APIs and Relays
Try updating from the trunk. There were several entry points that have been fixed up since the initial release to support relays.
|
|||
02-07-2012, 04:39 AM
Post: #3
|
|||
|
|||
RE: RESTful APIs and Relays
Subsequent to the 2.5 release? I will update and report back.
Aaron |
|||
02-07-2012, 05:00 AM
Post: #4
|
|||
|
|||
RE: RESTful APIs and Relays
Yep - getting close to cutting 2.6 but there are a couple more features I want to get worked in.
|
|||
02-09-2012, 03:37 AM
Post: #5
|
|||
|
|||
RE: RESTful APIs and Relays
Any idea when 2.6 might come? I'm about to upgrade to 2.5.
|
|||
02-09-2012, 06:50 AM
Post: #6
|
|||
|
|||
RE: RESTful APIs and Relays
It's probably ~2 weeks away. There's some stuff I'm working on right now that I really want to get in before baking it.
|
|||
02-15-2012, 12:44 PM
Post: #7
|
|||
|
|||
![]() |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)