/postman-automation

Some scripts for working with Postman and the newman CLI tool.

Primary LanguagePythonMIT LicenseMIT

postman-automation

Some scripts for working with Postman and the newman CLI tool.

Setup

Install Postman and create any collection of requests you want.

Install newman-cli

Note: This will require you having Node.js installed.

npm install -g newman

Running

Create your Postman environment file using the create_env.py Python script.

python create_env.py

Run your Postman collection with your newly created environment file:

newman run <path-to-collection.json> -e <path-to-created-envinoment.json>