Variables
Overview
The variables in the Variables section can be reused across all steps and flows within your project. For example, if you need to automate a login process, you can store sensitive login credentials like username and password as project variables. Instead of manually entering these credentials in every API or UI step, you can reference them using {{username}} and {{password}}, ensuring consistency and simplifying maintenance.
By using project variables, you can easily update values in one place. If you need environment-specific values, for example, different credentials for development or production, you can configure Variables in Environments to manage these settings for each environment, making it easy to switch between them without modifying individual steps.
However, if a variable is not defined at the environment level, it will use the default value specified at the project level.
Create a variable
To create a variable, follow these steps:
- Navigate to the Project > Variables.
- Click
. A new row will be added to the Variables table. - Optional. Click Is Secret if you want the value to be hidden.
- Enter valid values for the Name, Type, and Value columns.
- Click Save. If you wish to cancel the creation of a new variable, click X.
.png)
Edit a variable
The name of the variable is not editable. You can only modify the type or value of a variable. Once modified, click Save.
Delete a variable
To delete a variable, click the delete icon on the row of the variable you wish to delete.
Search a variable
To search for a variable, you can enter a keyword of the full name or value of the parameter on the Search box beside
. Only the variable names that match the provided keyword or name will be displayed in the view.
.png)