I searched a while for this… I didn’t know global variables were retrieved differently than environmental.
For reference: https://learning.postman.com/docs/postman/scripts/postman-sandbox/
For global variables use: pm.environment.get(“variableName”)
For environment variables use: pm.environment.get(“variableName”)
Be First to Comment