https://github.com/jamesroberts/postman-automation
Some scripts for working with Postman and the newman CLI tool.
https://github.com/jamesroberts/postman-automation
Last synced: about 2 months ago
JSON representation
Some scripts for working with Postman and the newman CLI tool.
- Host: GitHub
- URL: https://github.com/jamesroberts/postman-automation
- Owner: jamesroberts
- License: mit
- Created: 2021-06-30T18:56:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-30T23:05:06.000Z (almost 4 years ago)
- Last Synced: 2025-01-22T16:49:10.240Z (3 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postman-automation
Some scripts for working with Postman and the newman CLI tool.# Setup
Install [Postman](https://www.postman.com/downloads/) and create any [collection](https://learning.postman.com/docs/sending-requests/intro-to-collections/) of requests you want.
Install [newman-cli](https://learning.postman.com/docs/running-collections/using-newman-cli/command-line-integration-with-newman/)
Note: This will require you having [Node.js](https://nodejs.org/en/download/current/) installed.
```bash
npm install -g newman
```# Running
Create your Postman environment file using the `create_env.py` Python script.
```bash
python create_env.py
```Run your Postman collection with your newly created environment file:
```bash
newman run -e
```