how to make global variables code example
Example 1: what is a global variable
Global variables allow you to access data between collections,
requests, test scripts, and environments. Global variables
are available throughout a workspace. I use Global variables
to quickly test something.
Example 2: How to define global variables
Use pm.globals to define a global variable:
pm.globals.set("variable_key", "variable_value");