Current time: 11-21-2019, 05:46 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
APIs - Test Status Response
07-22-2019, 06:32 PM
Post: #2
RE: APIs - Test Status Response
You want the code from the test, not the HTTP response code for the API call so think this line

statusResponseCode = testStatus_Response.status_code

should be

statusResponseCode = resp_dict_status['data']['statusCode']

As far as polling goes, I'd suggest an incremental back off based on the number of testing being run, and when the last check was made but put an upper cap on it e.g. 1 hour

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
APIs - Test Status Response - nmadz - 07-17-2019, 06:58 AM
RE: APIs - Test Status Response - andydavies - 07-22-2019 06:32 PM
RE: APIs - Test Status Response - nmadz - 07-23-2019, 10:54 PM

Forum Jump:


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