Postman CLI Reporting Support via Azure Pipelines

With Version 11 and the introduction of the Package Libraries we are very exicited to start using the Package Libraries.

Currently we run >7000 Requests (~40 Collections, located in 4 different Workspaces in Postman), through Azure pipeline for our Automation in Lab and Staging Envioronments.
We are currently using Newman and a junit reporter which outputs the run results in json which is then convered to XML which we then use to populate a the results in Azure.

Unfortunatly Newman doesn’t support Package Libraries and it seems that Postman CLI doens’t support the "-r) switch to run reporters.

So we are in a fix…

Trying to glean test results out of the Postman UI is not a viable solution.

If anyone has a solution to getting the results of a Postman CLI Run through an Azure Pipeline It would be Greatly Appreciated
We currently use this plugin to run newman image
and this is the reporter we use:
image
If we could get this reporter to run for Postman CLI, we would be in Great Shape.

1 Like

Hi @allen888.

Postman CLI currently does not support plugins or exporting of run results like newman does. This is something we’re well aware of and are looking into providing soon.

Hi Gbadebo Bello,
Thank you for your quick response.

Is there any anticipated time frame on when this support might be available?

The lack of this ability is blocking us from moving to full use of Postman CLI, Package Libraries and potentially upgrading our subscription level.

Regards
Allen

1 Like

Hi @allen888.

I’m unable to share an ETA at the moment, but we’re looking into this internally and I’ll do well to update this thread when I’m able to communicate an ETA for it being available.

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

Hi @allen888 :wave:

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

This means you can now fully switch your workflows to using both Postman CLI and the Package Library!

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!