Last active
April 12, 2018 21:13
-
-
Save jameshd/1ea7485b52c4a369c95529cf90f90a79 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
postman_api_key=<YOUR API KEY> | |
collection_uuid=<something here> | |
environment_uuid=<something here> | |
curl --request GET \ | |
--url "https://api.getpostman.com/collections/$collection_uid" \ | |
--header 'X-Api-Key: "$postman_api_key" > collection.json | |
curl --request GET \ | |
--url https://api.getpostman.com/environments/$environment_uid" \ | |
--header 'X-Api-Key: "$postman_api_key" > environment.json | |
npm i newman | |
# first dataset | |
./node_modules/newman/bin/newman.js run --collection collection.json -e environment.json --iteration-data applications.csv | |
# another dataset... | |
./node_modules/newman/bin/newman.js run --collection collection.json -e environment.json --iteration-data more-applications.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment