# How to generate output file that contains test results only for postman API collection from newman?

**URL:** <https://community.postman.com/t/how-to-generate-output-file-that-contains-test-results-only-for-postman-api-collection-from-newman/4423>\
**Category:** Help Hub\
**Created:** [March 10, 2019, 3:19pm UTC](https://community.postman.com/t/how-to-generate-output-file-that-contains-test-results-only-for-postman-api-collection-from-newman/4423 "2019-03-10T15:19:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikhilB](https://avatars.discourse-cdn.com/v4/letter/n/4bbf92/32.png) [@nikhilB](https://community.postman.com/u/nikhilB)\
**Post date:** [March 10, 2019, 3:19pm UTC](https://community.postman.com/t/how-to-generate-output-file-that-contains-test-results-only-for-postman-api-collection-from-newman/4423/1 "2019-03-10T15:19:17Z")

</div>

I have API collection, i want test-results data in a json file which i will use it in my next collection
