Read test data file into a variable in postman

I have a test data file in json format. How can we read it into a variable. I am trying to compare my test data against the response.

Welcome to the community @Balakrishna.Mandala :wave:!

Do you have just a single request worth of data in the test file, or do you have multiple runs worth of data?

The answer might vary based on your use case.

Hi Allen,

I have multiple runs worth of data.

Balakrishna M.

Perfect, Postman has an amazing feature designed to do exactly what you want.

Importing Data Files