# Save request and responses to excelsheet

**URL:** <https://community.postman.com/t/save-request-and-responses-to-excelsheet/26242>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [July 28, 2021, 2:38pm UTC](https://community.postman.com/t/save-request-and-responses-to-excelsheet/26242 "2021-07-28T14:38:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sawale1](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@sawale1](https://community.postman.com/u/sawale1)\
**Post date:** [July 28, 2021, 2:38pm UTC](https://community.postman.com/t/save-request-and-responses-to-excelsheet/26242/1 "2021-07-28T14:38:36Z")

</div>

I have a collection of 250+ requests/tests. I would like to save the request and response of each test into excelsheet , so it can be referred at anytime.

in a nutshell i want to save all request and their corresponding responses into excel sheet.

---

<div class="post-metadata">

**Author:** ![praveendvd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/praveendvd/32/6796_2.png) [@praveendvd](https://community.postman.com/u/praveendvd)\
**Post date:** [August 2, 2021, 8:59am UTC](https://community.postman.com/t/save-request-and-responses-to-excelsheet/26242/2 "2021-08-02T08:59:32Z")

</div>

you can do it using newman as a library. just store the data you want in a environment variable , and at the end of the run export that varaible and write to csv.

in collection runner you can do the same and write a html visualizatin template to download data as csv , but this is a manual step (just clicking the button at the end of the test run)
