# Newman htmlextra report generates a file with no extension and 0kb size

**URL:** <https://community.postman.com/t/newman-htmlextra-report-generates-a-file-with-no-extension-and-0kb-size/10245>\
**Category:** Help Hub\
**Tags:** htmlextra, tests, collections, newman-project, reporter\
**Created:** [January 21, 2020, 8:02pm UTC](https://community.postman.com/t/newman-htmlextra-report-generates-a-file-with-no-extension-and-0kb-size/10245 "2020-01-21T20:02:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suraj.b](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/suraj.b/32/3654_2.png) [@suraj.b](https://community.postman.com/u/suraj.b)\
**Post date:** [January 21, 2020, 8:02pm UTC](https://community.postman.com/t/newman-htmlextra-report-generates-a-file-with-no-extension-and-0kb-size/10245/1 "2020-01-21T20:02:32Z")

</div>

Hi @danny-dainton ! I’m running the following command through the node.js CLI:

`newman run https://www.getpostman.com/collections/MyExactURI -r htmlextra,cli`

The output is the following:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/f/c/fcd8e1bbce469c7810ab4a393a1e4c4e65c38ae1.png)

The CLI reporter is running perfectly with all tests passing, as such:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/b/2b636d5ecdd7f5243fba18dda65042d513fb365f.png)  
Please advise on what I am doing incorrectly. Thank you very much!

Suraj B:  
Windows 10  
Postman 7.16.0  
Node.js 13.6.0  
NPM 6.13.6  
Newman 4.5.7  
htmlextra 1.9.2

---

<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 21, 2020, 9:17pm UTC](https://community.postman.com/t/newman-htmlextra-report-generates-a-file-with-no-extension-and-0kb-size/10245/2 "2020-01-21T21:17:41Z")

</div>

Hey @suraj.b,

If you haven’t specifically set a path for the export/final report, it will be placed into the Newman directory. That will be created in the same directory that you ran the command from. Are you sure there isn’t any other Newman directory?

You can add the `--newman-reporter-export <path.html>` flag and send the report to a specific location.

What’s the name of the Collection, I saw a few issues before with certain names not being a valid file name, the default output creates a report with the collection name as the filename.

---

<div class="post-metadata">

**Author:** ![suraj.b](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/suraj.b/32/3654_2.png) [@suraj.b](https://community.postman.com/u/suraj.b)\
**Post date:** [January 27, 2020, 9:12pm UTC](https://community.postman.com/t/newman-htmlextra-report-generates-a-file-with-no-extension-and-0kb-size/10245/3 "2020-01-27T21:12:31Z")

</div>

Hey @danny-dainton!

Nothing was working until:

- I uninstalled Postman (used zsoft remover and ccleaner pro to scrub the regs as well)
- Used Eraser to scrub all the relevant files and folders clean
- Used windows disk cleaner to clean all ‘System Files’
- Restarted my PC and downloaded Postman again
- Recreated each request from scratch
- Got a new link for the collection
- Used the new link to run:  
`newman run https://www.getpostman.com/collections/MyExactURI -r htmlextra,cli`

Thanks for the tips btw, I am now using them and someone on my team is now using [your guide on uploading htmlextra reports to S3](https://github.com/DannyDainton/simple-newman-html-file-upload-to-s3) to set up something similar on MS Sharepoint for our client.

I also found your following comment [at this link](https://github.com/DannyDainton/newman-reporter-htmlextra/issues/14#issuecomment-496518915) really helpful: “If you use the `--reporter-htmlextra-export ./newman/myReport.html` flag, it will _overwrite_ the report each time and save it with that filename. You can obviously name that file whatever you like and point it to a better directory.”

You are doing a great service to us and the community, thank you very much for you help. Hope it’s ok to create a new topic and reach out again if we have any other questions?

Thanks,

Suraj and Team

---

<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 27, 2020, 9:55pm UTC](https://community.postman.com/t/newman-htmlextra-report-generates-a-file-with-no-extension-and-0kb-size/10245/4 "2020-01-27T21:55:09Z")

</div>

Awesome!! Glad to see it working for you!!

If you or your team have any questions, feel free to ping me. 🏆
