How to download Responses, HTML Reports in a Newman Comment?

How to download Responses and HTML Reports in One Newman Comment? I used below comment. But it is generating HTML report alone. Not capturing response in JSON.

newman run Test.postman_collection.json --reporters cli,json --reporter-json-export outputfile.json --reporters cli,html --reporter-html-export “reports/report1.html”

Hey @smrajasubramanian :wave:

You have the reporters flag twice in that command.

Does that work?

newman run Test.postman_collection.json --reporters cli,html,json --reporter-json-export outputfile.json --reporter-html-export “reports/report1.html”

Personally, I would also use the htmlextra reporter :wink:

That solution works. Thanks and welcome.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.