pm.sendRequest
or pm.environments.set
cause they will fail. We recommend writing pure functions and returning them.var
, let
, const
, or function
other scripts cannot call those variables and methods. You must convert a variable or method to a global variable or global method if you want other scripts to use it.