Postman cli with csv files for collection

How do we use csv files with postman cli for a collection?
I tried searching in the forums and community and couldn’t find the solution. But newman supports csv files and it doesn’t support postman package.
I am in a situation where i have to use csv files for data and request and packages for some common methods to be utilized across different workspaces.
Could you please let me know

Hey @joint-operations-phy :waving_hand:

Welcome to the Postman Community :postman:

You can use the same flag on the command line that you use with Newman:

--iteration-data [file-path] or -d [file-path]

In the latest version of the Postman CLI, you can use the man postman command to show all the options available to you, including all the different flags.


Is this not working for you? Happy to take a look at any errors you’re seeing. :folded_hands:t2:

It worked. Thanks for the response. I think google never responded back with the csv file options. I should have checked the documentation. That’s my bad.

Thanks again for the response.

1 Like