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
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
Danny Dainton:
newman run Test.postman_collection.json --reporters cli,html,json --reporter-json-export outputfile.json --reporter
That solution works. Thanks and welcome.
1 Like
system
(system)
Closed
December 15, 2023, 12:49pm
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.