Skip to content

Instantly share code, notes, and snippets.

@bunlongheng
Created July 18, 2019 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bunlongheng/3e4459d1811b2d38a543b8e4d8308498 to your computer and use it in GitHub Desktop.
Save bunlongheng/3e4459d1811b2d38a543b8e4d8308498 to your computer and use it in GitHub Desktop.
console.log("Environment variables----------------")
let variables = pm.environment.toObject();
console.log(variables)
console.log(typeof (variables)) //object
Object.keys(variables).forEach(function(key) {
console.log(key, variables[key]);
});
console.log("-------------------------------------")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment