Environment variables

Environment variables allow you to store and reuse values in your requests and scripts.

By storing a value in a variable:

  • You can reference it throughout your request section
  • You can change it's value by updating it at a single place
  • You increase your ability to work efficiently and minimize the likelihood of errors

Accessing environment variable

If you have more than one environments, select the environment whose variables you want to access. You can access the variables in the request section by referencing the variable in the following format {{variable_name}}, in our case the variable will be {{baseUrl}} and the complete URL will be {{baseUrl}}/HB/2790e93a-793f-4138-8b23-d838a2ba59a5.

  • You can add your variables to Global environment, which can be accessed globally, ie. without creating any evironments for the Team.

For detailed setup, see Environments