HTML report With Postman Collection Run

Is there any way to create a HTML report on CI/CD pipeline while run the collection using “postman collection run”

newman run have option to generate the HTML report but can we create the same newman html report while run postman collection run “path/api.collection.json”

Hey @hemanshurana1984 :wave:t2:

Welcome to the Postman Community :postman:

The Postman CLI doesn’t currently have the ability to create custom reports.

@danny-dainton Thank you for reply. Should i expect that capability will add in future?

There is an open feature request for this on the GitHub tracker:

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

Hey @hemanshurana1984. :wave:

Thank you for the feedback! I’m happy to share that the Postman CLI now supports built in reporters!

You can export run results as json, html, JUnit or on the CLI. Simply run:

postman collection run <collection-id> -r <reporter>

For example, printing on the CLI and exporting run results as HTML, i will run the following:

postman collection run <collection-id> -r cli,html

Jan-31-2025 5-50-36 PM

Read more about this feature here

We’re eager to see how you use this feature. Please try it out and share any feedback you have with us! We’ll love to hear from you!