# How to hide single response from allure report - newman

**URL:** <https://community.postman.com/t/how-to-hide-single-response-from-allure-report-newman/61896>\
**Category:** Help Hub\
**Tags:** newman-reports, allure-report\
**Created:** [June 6, 2024, 7:19am UTC](https://community.postman.com/t/how-to-hide-single-response-from-allure-report-newman/61896 "2024-06-06T07:19:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhinaba2495](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@abhinaba2495](https://community.postman.com/u/abhinaba2495)\
**Post date:** [June 6, 2024, 7:19am UTC](https://community.postman.com/t/how-to-hide-single-response-from-allure-report-newman/61896/1 "2024-06-06T07:19:51Z")

</div>

I am running an API automation suite via newman and generating reports using allure. The command looks like this:

newman run postman\_collection.json -e postman\_environment.json --silent -r allure --reporter-allure-export ‘Results/’

Now, one of the APIs return sensitive data in response body - so I want to hide the response from report or mask the response. How can I do that?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [June 6, 2024, 7:26am UTC](https://community.postman.com/t/how-to-hide-single-response-from-allure-report-newman/61896/2 "2024-06-06T07:26:32Z")

</div>

Hey @abhinaba2495 👋

Welcome to the Postman community :postman:

That’s not a reporter that’s owned by Postman, the author of that custom reporter would be the person who could answer that question.

> **[GitHub - ervirendersingh/newman-reporter-allure: A newman reporter for...](https://github.com/ervirendersingh/newman-reporter-allure)**
>
> A newman reporter for generating nice and clean report using Allure-js framework - ervirendersingh/newman-reporter-allure

By the looks of it, it’s not actively maintained.

If that capability hasn’t been added then it wouldn’t be possible to do that. It’s not something that works out of the box.

---

<div class="post-metadata">

**Author:** ![abhinaba2495](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@abhinaba2495](https://community.postman.com/u/abhinaba2495)\
**Post date:** [June 6, 2024, 7:31am UTC](https://community.postman.com/t/how-to-hide-single-response-from-allure-report-newman/61896/3 "2024-06-06T07:31:39Z")

</div>

Hi @danny-dainton Thanks for the quick response. I think this is not the correct github repo you are looking at. From the official npm page ([newman-reporter-allure - npm](https://www.npmjs.com/package/newman-reporter-allure)) we can see that the github repo is something else: [GitHub - allure-framework/allure-js: Allure integrations for JavaScript test frameworks](https://github.com/allure-framework/allure-js)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [June 6, 2024, 7:37am UTC](https://community.postman.com/t/how-to-hide-single-response-from-allure-report-newman/61896/4 "2024-06-06T07:37:32Z")

</div>

That links to the allure framework, which isn’t the reporters code. That would be on the repo I linked.

I know, from experience, that if they haven’t added the functionality to hide requests from a report, it’s not going to work.

---

<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 6, 2024, 7:38am UTC](https://community.postman.com/t/how-to-hide-single-response-from-allure-report-newman/61896/5 "2024-07-06T07:38:26Z")

</div>

Closed on July 6, 2024, 7:38am UTC

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