# Postman CLI Reporting Support via Azure Pipelines

**URL:** <https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571>\
**Category:** Help Hub\
**Tags:** reporters, postmancli\
**Created:** [May 28, 2024, 2:05pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571 "2024-05-28T14:05:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![allen888](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@allen888](https://community.postman.com/u/allen888)\
**Post date:** [May 28, 2024, 2:05pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/1 "2024-05-28T14:05:09Z")

</div>

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](https://us1.discourse-cdn.com/getpostman/original/3X/5/1/51e57e93d8e501add3a2f157245ee4cfad4f1768.png)  
and this is the reporter we use:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/b/eb39b67ec85ba1b9dd76c96eaa8c2ee4fb78350c.png)  
If we could get this reporter to run for Postman CLI, we would be in Great Shape.

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [May 30, 2024, 9:25am UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/2 "2024-05-30T09:25:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![allen888](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@allen888](https://community.postman.com/u/allen888)\
**Post date:** [May 30, 2024, 9:42am UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/3 "2024-05-30T09:42:00Z")

</div>

Hi [Gbadebo Bello](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/2),  
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

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [June 5, 2024, 3:05pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/4 "2024-06-05T15:05:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [July 5, 2024, 3:06pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/5 "2024-07-05T15:06:27Z")

</div>

Closed on July 5, 2024, 3:06pm UTC

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

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [January 31, 2025, 5:09pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/6 "2025-01-31T17:09:55Z")

</div>

Opened on January 31, 2025, 5:09pm UTC



---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [January 31, 2025, 5:10pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/7 "2025-01-31T17:10:56Z")

</div>

Hi @allen888 👋

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:

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

```

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

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

```

![Jan-31-2025 5-50-36 PM](https://us1.discourse-cdn.com/getpostman/original/3X/8/0/80f9f654fe0210fea4adf909790b7d67f5c1202a.gif)

Read more about this feature [here](https://learning.postman.com/docs/postman-cli/postman-cli-reporters/)

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!

---

<div class="post-metadata">

**Author:** ![technical-architec16](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@technical-architec16](https://community.postman.com/u/technical-architec16)\
**Post date:** [July 25, 2025, 12:34pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/8 "2025-07-25T12:34:06Z")

</div>

Thank you so much for the information!  
I wonder if there is a possibility to have extra reports in the Azure pipelines?  
How the task in the pipeline yaml should look like to have the “nicer” report on the Azure?

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [July 28, 2025, 11:40am UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/9 "2025-07-28T11:40:46Z")

</div>

Hi @technical-architec16 👋.

Could you expand a bit more on what you mean here? Are you referring to wanting the report in a specific format? If yes, what format works best for Azure pipelines?

---

<div class="post-metadata">

**Author:** ![technical-architec16](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@technical-architec16](https://community.postman.com/u/technical-architec16)\
**Post date:** [July 29, 2025, 6:11am UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/10 "2025-07-29T06:11:51Z")

</div>

I remember that some years ago when I used Newman to embed Postman tests in the pipelines in Azure Devops there was a possibility to add steps that would publish test results in a user-friendly format like these 2 examples. Does Postman CLI permits something similar and what would I need to write in yaml to obtain such results?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/1/6/16a1e1dfca5db4975336236b73acef3b242d4edb.png)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/4/e46ac4dafed3e6263f7731cc7732be9a6440007c.jpeg)

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [July 29, 2025, 12:40pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/11 "2025-07-29T12:40:42Z")

</div>

Hi @technical-architec16.

Postman CLI supports built-in reporters like the one displayed in your screenshot. You can generate a report by running

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

```

You can learn more about this [here](https://learning.postman.com/docs/postman-cli/postman-cli-reporters/).

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [August 15, 2025, 1:37pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/12 "2025-08-15T13:37:33Z")

</div>

Can you explain what your pipeline looks like? It should now be similar to how you would set it up in Newman.

I notice you have Test Plans enabled within your ADO project.

You should be able to publish the test results directly to Test Plans.

Start by getting your sources. With the CLI, you might not need this step because you can use command line options to pull the collection straight from Postman Cloud.

Then your pipeline would have three main steps:

1. **Install the CLI tool.**

2. **Run your Postman collection.** Make sure the working directory is set correctly, because you’ll need it later when publishing the test results.

3. **Publish the test results** using the “Publish Test Results” action. This will upload the results to the Test Plans section in Azure DevOps (ADO).

Just make sure the format of the test results matches the format expected by the reporter. I would try the JUnit option.

One important detail: the working directory must be set properly so the report gets picked up correctly.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/4/b486f88e594a33ee030a4c57329a72cce729d1c1.png)

---

<div class="post-metadata">

**Author:** ![technical-architec16](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@technical-architec16](https://community.postman.com/u/technical-architec16)\
**Post date:** [August 18, 2025, 2:38pm UTC](https://community.postman.com/t/postman-cli-reporting-support-via-azure-pipelines/61571/13 "2025-08-18T14:38:33Z")

</div>

Thank you for your reply! Well, our pipelines are defined not in Azure but in our monolith codebase in the .yml files. Therefore, I have difficulties using a task of the classic editor in Azure pipelines (the screenshot you provided). I would need to know the lines in yaml that would do the publishing…
