Can we use different reporter with Postman CLI?

Archived topic — this may be out of date.
Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.
Working with an AI coding agent? The Postman plugin lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.

Newman can run my collections and output the result in various report formats. I have read postman cli documentation and nowhere reporters are mentioned. It seems postman cli only sends result to Postman app. I would like to know if different reporters are possible with postman cli

I use newman to run tests, since it hasn’t been updated for many months it seems postman cli is the future. I was comparing newman and postman cli and I couldn’t find reporters for postman cli

There is no command line option for postman to output result in a format of my choosing.

Hi @aakash.gupta

This is being looked into;

Team,
Any update on this , we are also looking for Html Report generation with Postman CLI

Specifying custom reporters would be great but as a temporary work around, does anyone know how to export the resulting data of a postman-cli run?

Right now the closest thing I can get is piping the output of postman-cli into another command but it’s messy. Any hints or suggestions?

Hi all :wave:

Thank you for all 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!