Some examples for newman runner below
- Clone this repository
- Install https://nodejs.org/en/
- Run
npm install
from main folder (it requires package.json)
After npm install -g newman
you can run
newman run collections/sample-collection.json -r cli,junit
dev-run-collection.js
is a module which runs collection with some options, and then connects to DB and clears test datatest-run-collection.js
is a module which runs collection with some other options, and then connects to DB and clears test datarun-collection-multipletimes.js
is a module which runs collection async 100 times (in parallel, so it can be used as load tests)run-collections-from-folder.js
is a module which runs all collections from a given folder
- use
/collections
to export tests created in postman - use
/envs/
to export environment settings and variables created in postman - use
/templates
to store your own modified templates for html reports - reports will be created in
/reports
folder which is ignored by this git repository