# Newman html reporter does not generate a report file

**URL:** <https://community.postman.com/t/newman-html-reporter-does-not-generate-a-report-file/43656>\
**Category:** Help Hub\
**Tags:** newman-project, html, htmlextra\
**Created:** [February 6, 2023, 10:17pm UTC](https://community.postman.com/t/newman-html-reporter-does-not-generate-a-report-file/43656 "2023-02-06T22:17:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.accola](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/david.accola/32/14490_2.png) [@david.accola](https://community.postman.com/u/david.accola)\
**Post date:** [February 6, 2023, 10:17pm UTC](https://community.postman.com/t/newman-html-reporter-does-not-generate-a-report-file/43656/1 "2023-02-06T22:17:28Z")

</div>

Newman itself is able to run my tests, but is not creating any html file of the output, and is not throwing any error. It just thinks for a few seconds, then does nothing

Steps taken:

- Installed Node.js (node-v18.14.0-x64.msi)
- npm install -g newman
- npm install -g newman-reporter-html
- npm install -g newman-reporter-htmlextra

All installed fine, no errors.

```auto
C:\Users\xxxxx>newman run "C:\Tools\Newman\collection.json" -e "C:\Tools\Newman\environment.json" -r

```

This much executes just fine. The tests run.

`C:\Users\xxxxx>newman run "C:\Tools\Newman\collection.json" -e "C:\Tools\Newman\environment.json" -r html`

But this does nothing. After a few seconds of nothing it displays an empty line:

```auto
C:\Users\xxxxx>

```

…and generates no folder and no file. Same thing if I try htmlextra instead of html.  
I have tried this on an account that has full admin rights and on one that does not, same results.

This is similar to [Newman report (html/html extra) not generating any output](https://community.postman.com/t/newman-report-html-html-extra-not-generating-any-output/8698), but that thread did not have any replies.

---

<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:** [February 7, 2023, 8:27am UTC](https://community.postman.com/t/newman-html-reporter-does-not-generate-a-report-file/43656/2 "2023-02-07T08:27:37Z")

</div>

Hey @david.accola

Can you raise an issue on the repo, please.

> **[GitHub - DannyDainton/newman-reporter-htmlextra: A HTML reporter for...](https://github.com/DannyDainton/newman-reporter-htmlextra)**
>
> A HTML reporter for Postman's Command Line Runner, Newman. Includes Non Aggregated Runs broken down by Iterations, Skipped Tests, Console Logs and the handlebars helpers module for better cust...

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [February 7, 2023, 10:27am UTC](https://community.postman.com/t/newman-html-reporter-does-not-generate-a-report-file/43656/3 "2023-02-07T10:27:24Z")

</div>

Hi @david.accola

Just tried this using the same steps you listed and it appears to work for me…

![newman](https://us1.discourse-cdn.com/getpostman/original/3X/a/2/a203aec87ec85c7aba7121af7fca7a59dedcea6f.gif)

Have you tried specifying a specific output directory? For example; `

> C:\Users\James\>newman run “C:\Users\James\PMtest\NewmanTest.postman\_collection.json” -e “C:\Users\James\PMtest\NewmanTestEnv.postman\_environment.json” -r htmlextra --reporter-htmlextra-export “C:\temp\New folder”

This also works for me.

---

<div class="post-metadata">

**Author:** ![david.accola](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/david.accola/32/14490_2.png) [@david.accola](https://community.postman.com/u/david.accola)\
**Post date:** [February 7, 2023, 3:32pm UTC](https://community.postman.com/t/newman-html-reporter-does-not-generate-a-report-file/43656/4 "2023-02-07T15:32:42Z")

</div>

Ah, I see! It is generating a folder and file after all.

I had thought it generated the folder/file in the path the collection was located in by default for some reason, instead of generating in the current working directory. I reread the docs and all is well.

---

<div class="post-metadata">

**Author:** ![devouror](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@devouror](https://community.postman.com/u/devouror)\
**Post date:** [February 12, 2024, 6:51am UTC](https://community.postman.com/t/newman-html-reporter-does-not-generate-a-report-file/43656/5 "2024-02-12T06:51:57Z")

</div>

I got the same problem. Thanks for the help.
