https://github.com/adequatica/postman-newman-ci
Run Newman (Postman CLI) in CI
https://github.com/adequatica/postman-newman-ci
Last synced: 12 months ago
JSON representation
Run Newman (Postman CLI) in CI
- Host: GitHub
- URL: https://github.com/adequatica/postman-newman-ci
- Owner: adequatica
- Created: 2021-09-23T05:33:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-08T07:42:03.000Z (over 2 years ago)
- Last Synced: 2025-06-01T23:50:30.703Z (about 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Run Newman (Postman CLI) in CI
The idea of the repository is outlined in the article «[Run Newman (Postman CLI) in TeamCity with Secrets](https://adequatica.medium.com/run-newman-postman-cli-in-teamcity-with-secrets-d3f06d7199bf)»
For local testing:
1. Add token to shell environment: `export TOKEN={your_secret_token}`
2. Run `npm init`
3. Run `node create-globals.js` and you will get *globals.json* file
4. Run `node run-newman.js` and you will test cases from *my.postman_collection.json* file