# I want to create single html report when I am running multiple collection

**URL:** <https://community.postman.com/t/i-want-to-create-single-html-report-when-i-am-running-multiple-collection/8673>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [October 30, 2019, 9:32am UTC](https://community.postman.com/t/i-want-to-create-single-html-report-when-i-am-running-multiple-collection/8673 "2019-10-30T09:32:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![manan.sharma](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@manan.sharma](https://community.postman.com/u/manan.sharma)\
**Post date:** [October 30, 2019, 9:32am UTC](https://community.postman.com/t/i-want-to-create-single-html-report-when-i-am-running-multiple-collection/8673/1 "2019-10-30T09:32:16Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

I am running below command :

```
variable=$collectionname
for i in $(echo $variable | sed "s/,/ /g")   
do
    # call your procedure/other scripts here below
    echo "test $i"
    echo $count
    newman run $i --environment /home/ec2-user/workspace/apis-execution-postman-collection/postman_env/Staging.postman_environment.json -r htmlextra --reporter-htmlextra-export /home/ec2-user/workspace/apis-execution-postman-collection/report$count.html
    count=$(($count+1))

done

```

This command executes all the collection which collection links are passed in “collectionname” variable so after execution I need single HTML report

---

<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:** [October 30, 2019, 9:37am UTC](https://community.postman.com/t/i-want-to-create-single-html-report-when-i-am-running-multiple-collection/8673/2 "2019-10-30T09:37:55Z")

</div>

Hey @manan.sharma,

Welcome to the community! 🏆

You can only currently create a single report per single collection, you won’t be able to run X number of Collections through Newman, and have it generate a single report.

---

<div class="post-metadata">

**Author:** ![manan.sharma](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@manan.sharma](https://community.postman.com/u/manan.sharma)\
**Post date:** [October 30, 2019, 9:39am UTC](https://community.postman.com/t/i-want-to-create-single-html-report-when-i-am-running-multiple-collection/8673/3 "2019-10-30T09:39:45Z")

</div>

Thanks @danny-dainton

Is any other way I can run multiple collection and create single report for all collection , if yes then Please suggest how can I do?

---

<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:** [October 30, 2019, 9:56am UTC](https://community.postman.com/t/i-want-to-create-single-html-report-when-i-am-running-multiple-collection/8673/4 "2019-10-30T09:56:02Z")

</div>

Not that I know of, I think there might be tools created by people to convert a bunch of collections into a single Collection but I wouldn’t think that report would be the same. I’ve not actually tried that so I wouldn’t know for sure.

This is one I found - [https://www.npmjs.com/package/postman-combine-collections](https://www.npmjs.com/package/postman-combine-collections)

---

<div class="post-metadata">

**Author:** ![manan.sharma](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@manan.sharma](https://community.postman.com/u/manan.sharma)\
**Post date:** [October 30, 2019, 9:56am UTC](https://community.postman.com/t/i-want-to-create-single-html-report-when-i-am-running-multiple-collection/8673/5 "2019-10-30T09:56:50Z")

</div>

Thanks @danny-dainton 😄
