newman-reporter-summary
v1.0.4
Published
Report a synthetic summary
Downloads
68
Readme
newman-reporter-summary
A Newman Summary reporter that show only health status of service but extracted from executions of asserts.
This project will always continue to be fully maintained free of charge
Report Example
Install
The reporter works as a plugin with Newman so ensure that you have already installed that package globally, using
npm install -g newman
.
To globally
install the summary
package:
npm install -g newman-reporter-summary
Usage
In order to enable this reporter, specify summary
in Newman's -r
or --reporters
option. The following command will create a new report in the ./newman
directory, if the directory does not exist, it will be created as part of the Newman run.
newman run collection.json -r summary
CLI Options
With Newman CLI
| CLI Option | Description | Example |
|------------------------------------------|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
| --reporter-summary-showTableFailedOnly
| Use this optional flag to tell the reporter to display only the requests with failed tests in a table format. | newman run collection.json -r summary --reporter-summary-showTableFailedOnly
|
| --reporter-summary-showSimpleFailedOnly
| Use this optional flag to tell the reporter to display only the requests with failed tests as a list of service. | newman run collection.json -r summary --reporter-summary-showSimpleFailedOnly
|
License
For open source projects, say how it is licensed.
Project Contributors
I would be lying if I said that I've created this reporter all on my own, I need to say a massive Thank You! to the following folks for helping make htmlextra
even better: