Created
March 24, 2017 03:25
-
-
Save daipresents/fa87f871f6ec6a3bd83bdc101c40e7e3 to your computer and use it in GitHub Desktop.
Postman example
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
var users = environment.users.split(',') | |
var counter = Number(environment.counter); | |
postman.setEnvironmentVariable("user", users[counter]); |
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
tests["counter:" + counter] = true; | |
var counter = Number(environment.counter); | |
postman.setEnvironmentVariable("counter", counter + 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment