newman-reporter-junitreportshowheaders
v1.0.4
Published
Added the Request header based on 'newman-reporter-junitfullreport'
Downloads
6,247
Maintainers
Readme
newman-reporter-junitreportshowheaders
Added request header based on 'newman-reporter-junitfullreport'
Install
The installation should be global if newman is installed globally, local otherwise. (Replace -g from the command below with -S for a local installation)
$ npm install -g newman-reporter-junitreportshowheaders
How to Use
In order to enable this reporter, specify junitreportshowheaders
in Newman's -r
or --reporters
option.
newman run https://www.getpostman.com/collections/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65-JsLv -r junitreportshowheaders --reporter-junitreportshowheaders-export './examples/full/result.xml' -n 2
Original
Use newman-reporter-junit to execute.
In order to enable this reporter, specify junit
in Newman's -r
or --reporters
option.
newman run https://www.getpostman.com/collections/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65-JsLv -r junit --reporter-junit-export './examples/original/result.xml' -n 2
Options
With Newman CLI
| CLI Option | Description |
|-------------|-------------------|
| --reporter-junitreportshowheaders-export <path>
| Specify a path where the output XML file will be written to disk. If not specified, the file will be written to newman/
in the current working directory. |
Compatibility
| newman-reporter-junitfullreport | newman | node | |:-----------------------------:|:----------:|:--------:| | v1.0.0 | >= v4.0.0 | >= v6.x | | v1.1.0 | >= v4.0.0 | >= v6.x |
Troubleshooting
Reporter not found
The reporter and newman must be installed at the same level, the installation should be global if newman is installed globally, local otherwise.
Getting different JUnit output
You are most probably getting in-built reporter output used in older versions of newman, Please check the newman's compatibility section above.
If you are facing any other problem, please check the open issues or create new.
Community Support
Sign in using your Postman account to participate in the discussions and don't forget to take advantage of the search bar - the answer to your question might already be waiting for you! Don’t want to log in? Then lurk on the sidelines and absorb all the knowledge.
License
This software is licensed under Apache-2.0. Copyright Postdot Technologies, Inc. See the LICENSE file for more information.