make a function variable 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");