newman-tests-runner

1.0.2 • Public • Published

Run multiple postman collections tests with itearations and environment data

A command line tool to run multiple postman collections using newman


Usage

newman-tests-runner -f <feed file path> (or) ntrun -f <feed file path>

Example of feed file:-

{
   "collections": [
       "./sample-files/test.postman_collection.json"
   ],
   "environment": "./sample-files/environment.json",
   "iterations": 1,
   "appName": "MyTestApp", //App Name To Be Reflected In Report
   "reporters": ["cli", "htmlextra"] // Currently only 2 reports cli and htmlextra are supported,
   "reportPath": "./newman-report/" //Path for the report to be generated (relative or complete path)
}

Need help for running collections through multiple environment files and generate a single report

Package Sidebar

Install

npm i newman-tests-runner

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

7.33 kB

Total Files

8

Last publish

Collaborators

  • bhavani_prasad_jindam