I want to generate HTML report for APIs with the help of postman application.
I want to run my collection and environment simultaneously and generate HTML report of pass and failure results.
please guide me.
Install npm package newman-reporter-htmlextra for creating reports.
npm install -g newman-reporter-htmlextra
Add parameters to the newman execution command to use this npm package to create html file(index.html) containing details of execution.
newman run xyz.postman_collection.json -e env.postman_environment.json -r htmlextra --reporters cli,junit,htmlextra --reporter-htmlextra-export index.html
Html file with detailed execution report is created in the collection folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With