Collection Variables
Collection variables are variables that are scoped to a specific collection. They are useful for storing variables that are used across multiple requests in a collection.
Creating a Collection Variable
- Go to Collection Settings
- Go to the Variables tab
- Add your variable name, value in the Pre Request Vars section
- Save your changes
Using a Collection Variable
You can use the {{varName}}
syntax to use a collection variable in a request.