Add Variables

Variables create a returned response that can be used in other requests.

Follow the steps below to add a variable to an API (multiple variables are allowed).

Steps

  1. Select an API from the WS APIs list.
  2. Press the Add button to open the New Variable panel.

  3. Enter a Name and Description and press Save .

    The New Variable edit screen displays.

  4. Fill in the URL for the request and press the Test button to populate the Response panel on the left with the JSON object.

  5. Check to select the JSON elements to display in the Transformed Data panel.

  6. Under the URL, tabs are available to specify the following:

  7. Parameters -

    Headers -

    Cookies -

    Body -

    Variables -

  8. Press Save to create the new Variable.