# Outputting responses from api requests in a test

**URL:** <https://community.postman.com/t/outputting-responses-from-api-requests-in-a-test/18881>\
**Category:** Help Hub\
**Tags:** tests, collections\
**Created:** [January 6, 2021, 7:27am UTC](https://community.postman.com/t/outputting-responses-from-api-requests-in-a-test/18881 "2021-01-06T07:27:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![taehoshino](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/taehoshino/32/6608_2.png) [@taehoshino](https://community.postman.com/u/taehoshino)\
**Post date:** [January 7, 2021, 2:36am UTC](https://community.postman.com/t/outputting-responses-from-api-requests-in-a-test/18881/5 "2021-01-07T02:36:50Z")

</div>

In addition to what @gunjandb suggested, you can use newman to export the response to a file as suggested [here](https://community.postman.com/t/save-body-results-to-a-csv-or-json-file-using-newman/5861/2).

Here are more details on the newman reporter: [GitHub - postmanlabs/newman: Newman is a command-line collection runner for Postman](https://github.com/postmanlabs/newman#reporters)

---

_[View the full topic](https://community.postman.com/t/outputting-responses-from-api-requests-in-a-test/18881)._
