runscope

Retrieve data from response body using Runscope's Trigger URL


My question is very similar to "How to retrieve data from response body when using trigger URL" - I'm also attempting to run a test case created on Runscope using Trigger URL to retrieve data from response body but I am only getting details as shown here.

I've looked through the documentation (https://www.runscope.com/docs/api-testing/integrations#trigger-url-response) but found no answer. Am I missing anything?


Solution

  • The response that you get when you use a Trigger URL is not the result of the test, but an indication of whether you successfully started the test. Included in the response, however, is the test_run_url which is a link to the test result (including the requests and bodies for the test). Also included in the response are the bucket_key, test_id, and test_run_id which can be used with the Runscope API to retrieve the results of the test via API. See https://www.runscope.com/docs/api/results#test-run-detail for documentation on the endpoint.