cancel
Showing results for 
Search instead for 
Did you mean: 

AlertSite: mutlistep API tests pass information from one step to another.

0 Kudos

AlertSite: mutlistep API tests pass information from one step to another.

Now that the API monitor creation is more robust with the ability to design right in the UI I'd like to enhance its for multistep transactions.

As a user, I would like to be able to use one of the results of a step in a following step.

Example 

Step 1: Poll API for a user
Step 2: pass user id to process something else.

1 Comment

This functionality currently exists in the API Endpoint Monitor through the use of Variables.

 

You can use variables to extract values from JSON and XML responses and insert these values in subsequent requests. In this manner, you can pass session tokens, item IDs, and similar data between the requests. Variables can be used in the request URL, headers, body, and in bearer tokens.

 

You can find the complete explanation below:

 

https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/variables.html

Join the September Hub-bub to show off, learn and win