How to read data from two csv files for two different requests in same collection?

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question:
How to read data from two csv files for two different requests in same collection? I have Two Requests one for adding devices and One for adding users from CSV files

Details (like screenshots):

How I found the problem:
At once I am able to give only one csv file to collection

I’ve already tried:

Hey @suresh.67717 :wave: Welcome to the Postman Community :tada:

Currently, only one data file can be passed to a single collection. Here’s more about using data files:

As a workaround, I would suggest using different variable names for the two requests and concatenating the two csv files into one.

Hope this helps, but please feel free to let me know if you have further questions :smiley:

Thank You so much for the response @taehoshino .
Can I you Use two separate sheets for each collection in the same CSV.

Thanks for your response @suresh.67717 :wave:

No unfortunately, you cannot pass multiple sheets. I found a similar question here, which might be a possible workaround for you too :slightly_smiling_face: