1.0.6 • Published 4 years ago
postman-reporting v1.0.6
postman-reporting
A command line utility for testing Postman collections with reporting and logging.
Features
- Faster than Postman GUI
- Supports CLI
- Supports reporting and logging
- Can be used to specify which apis to test
Changelog (1.0.5)
- Added
format
option to specify which to format to use (json by default or html)
Installation
npm install -g --save postman-reporting
Usage
Once the package is installed, you can use it as a command line :
par run <collection> <options>
- collection : Path to JSON file containing collections
- options :
--env : Path to JSON file containing which environment to use
--apis : Contains which apis to test, comma separated
--reporting : Path to the HTML file where the reporting will be saved
--log : Path to the text file where the log will saved
--format : Reporting format (json, html)
Example : par run collections.json --env prod.json --apis=account,address --reporting report.html --log report.log --format html