how to make variables in a function global code example
Example: How to define global variables
Use pm.globals to define a global variable:
pm.globals.set("variable_key", "variable_value");
Use pm.globals to define a global variable:
pm.globals.set("variable_key", "variable_value");