Documentation

Variables Variables are the storage elements that transfer data from a response of an endpoint to another endpoint.
In the variables section, you can pick a key from the latest response of that endpoint and mark it as a variable. You can see the variables you created from the "Current Variables" list at the same page. You can name a variable from the input next to it. Variable names have to be unique in an endpoint.

You can use the variables you created in two ways:

  • As Parameter In the parameters section of an endpoint, you can add a parameter related to a variable from the same test group with that endpoint. Simply click the "Variables" button and pick the one you like. Once you add the variable, it will always automatically load the latest value of that variable as the parameter value.
  • In Endpoint Name Once you create a variable and name it anything you like, you can use that variable in endpoint names globally in that test group. Simply use the curly brackets and put the variable name inside them. For example {user_id} will automatically swapped with the latest value of the variable named user_id in the endpoint name when running the endpoint.


When running a test group, the order of the endpoints effects variable values. If an endpoint uses a variable, and the generator endpoint of that variable doesn't run before currently running endpoint, the value of the variable will not be updated to use. Variable will use the old value again.
Marking a response key as a variable also generates a key existence success rule. The key you marked becomes required for this endpoint to run successfully.