Created
July 18, 2019 15:18
-
-
Save bunlongheng/3e4459d1811b2d38a543b8e4d8308498 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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