Is it possible to store the response body specific parameters to CSV file?

Hi @PostmanUser

I have a response received from particular request. Now, I have to save that response to CSV file, while running my collection it should save response to CSV file. Is there anyway that we can achieve this?

Thanks in advance!
Shriniwas

Yes, you can do that with the help of this: https://documenter.getpostman.com/view/3407886/RWgp1fB5

Read the documentation as explained in it and there are steps you can take for changing file extensions etc.

1 Like

I have gone through the article you gave in the above, it says to clone the repository it has, unfortunately we donโ€™t have an access to github to clone or even open it. Is there any other way that I can use your script present in github and run in postman without cloning entire repo?

Thank you,
Shriniwas

You can write your own server, you need not clone it. :slight_smile:

Just click on โ€˜Run in Postmanโ€™ and you can checkout the script that is being used inside the collection.
Understand how you can use that script to write responses to file and write your own small server which will write the data to the file system.

Or, just use Newman and you can refer this article that I came across: https://medium.com/@vdespa/postman-how-to-write-files-to-disk-5ee398624a42