# Saving response body data from newman run

**URL:** <https://community.postman.com/t/saving-response-body-data-from-newman-run/68389>\
**Category:** Help Hub\
**Tags:** newman-reports\
**Created:** [September 13, 2024, 4:09pm UTC](https://community.postman.com/t/saving-response-body-data-from-newman-run/68389 "2024-09-13T16:09:01Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [September 18, 2024, 4:06pm UTC](https://community.postman.com/t/saving-response-body-data-from-newman-run/68389/2 "2024-09-18T16:06:10Z")

</div>

Hey @jpjpjp 👋

You could use this method to save the responses - might not be 100% to you context but if could work for you.

> [@Save body results to a CSV or JSON file - using newman](https://community.postman.com/t/save-body-results-to-a-csv-or-json-file-using-newman/5861/17):
>
> Hey @hdabas, Welcome to the community! rocket Just jumping in here to see if I can help with getting the request name from the Newman run. Newman has certain events that can be access with the .on() function - A full list can be found here: A basic example of getting the name of the Request would be using something like this: const newman = require('newman') newman.run({ collection: '\<Postman Echo Collection\>', }).on('request', (err, args) =\> { console.log(args.item.name) }) Here’…

---

_[View the full topic](https://community.postman.com/t/saving-response-body-data-from-newman-run/68389)._
