# Newman report - why is the text sometimes partially red in the reports?

**URL:** <https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577>\
**Category:** Help Hub\
**Tags:** newman-reports\
**Created:** [January 29, 2025, 2:01pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577 "2025-01-29T14:01:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![spaceflight-physici2](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@spaceflight-physici2](https://community.postman.com/u/spaceflight-physici2)\
**Post date:** [January 29, 2025, 2:01pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577/1 "2025-01-29T14:01:09Z")

</div>

Hi,

I’m creating a new test in Postman, and when I run it, even though the test is successful, sometimes part of the text is red.

Red text 1 - This test involves sending a POST request with a timestamp. In this screenshot {{$timestamp}} was used to pull the time.

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

White text - Some further tweaks made to the test, all text in Newman for both request and response are white, as expected. {{$timestamp}} is still being used.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/c/5c36cfa40f740190144735a3490c8ab284b2492a.jpeg)

Red text 2 - {{$timestamp}} replaced with currentDate in the actual request, and the pre-request updated as follows:

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

```auto
let moment = require('moment');
pm.environment.set('currentDate',moment().format('DD-MM-YYYY hh:mm:ss a'))

```

The test is successful, and the timestamp is correct, but now the text is partially red again - removing or // the above causes the text to turn entirely white again in the report.

Is there a way I can get all the text back to white, while keeping the timestamp in its current format?

---

<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:** [January 29, 2025, 3:07pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577/2 "2025-01-29T15:07:14Z")

</div>

Hey @spaceflight-physici2 👋

Welcome to the Postman Community! :postman:

Would you be able to share more information about where in the product you’re seeing this? It’s difficult to know/see in the cropped screenshot.

Is this a report created from a Newman run and you’re opening it up in a text editor? Which reporter are you using?

---

<div class="post-metadata">

**Author:** ![spaceflight-physici2](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@spaceflight-physici2](https://community.postman.com/u/spaceflight-physici2)\
**Post date:** [January 29, 2025, 3:24pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577/3 "2025-01-29T15:24:00Z")

</div>

Hi,

Thanks for your response.

The red text is in the request body of the Newman report. The response body is all in white.

Yes, the report was generated by using command line (newman run .json) in Node. The resulting report generated as an .html file, I took the screenshot from the file.

---

<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:** [January 29, 2025, 3:50pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577/4 "2025-01-29T15:50:36Z")

</div>

So you were using a html reporter that was part of the Newman command?

---

<div class="post-metadata">

**Author:** ![spaceflight-physici2](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@spaceflight-physici2](https://community.postman.com/u/spaceflight-physici2)\
**Post date:** [January 29, 2025, 3:59pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577/5 "2025-01-29T15:59:31Z")

</div>

Yes, that’s right. 🙂

---

<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:** [January 29, 2025, 4:24pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577/6 "2025-01-29T16:24:02Z")

</div>

This feels more like and issue with the custom reporter (You haven’t mentioned which one it is) and the way it’s rendering that particular output, than something specifically to do with either Postman or Newman.

Have you tired running the Collection with the Postman CLI and the HTML reporter to see if that produces a better output?

> **[Explore Postman's command-line companion | Postman Docs](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**
>
> Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

> **[Generate collection run reports using the Postman CLI | Postman Docs](https://learning.postman.com/docs/postman-cli/postman-cli-reporters/#configure-the-json-junit-and-html-reporters)**
>
> Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

---

<div class="post-metadata">

**Author:** ![spaceflight-physici2](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@spaceflight-physici2](https://community.postman.com/u/spaceflight-physici2)\
**Post date:** [January 29, 2025, 4:41pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577/7 "2025-01-29T16:41:30Z")

</div>

Sorry, it’s htmlextra.

---

<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:** [January 29, 2025, 5:04pm UTC](https://community.postman.com/t/newman-report-why-is-the-text-sometimes-partially-red-in-the-reports/74577/8 "2025-01-29T17:04:21Z")

</div>

I created that so it’s probably got lots of quirkiness to it… 😃

I would recommend the Postman CLI tool as a comparison though.
