Iâve been able to work out how to return the data for one âproduct_idâ I need using bodyData etc in the Tests tab.
What I would like to do is to be able to return those systematically for different âproduct_idâ - can this be done with a path variable and a CSV upload in Runner?
I know all the product numbers so could type them all in manually to return the value, but would like to know it there is someway to return the GET call data automatically by supplying all the URL variables in one file and having Postman iterate though each.
I have looked at multiple tutorials, but they all seem to deal with variables that are being POST via the call rather than retrieving multiple endpoints.
In short, I would like to call multiple unique API URLS and retain one specific value in the body data for each URL
I see you got a solution to the problem. Iâm having a similar problem but Iâm not able to resolve following your process. Please advice⊠How did you set your variables to connect to the CSV data file. Please help!
You just have to add the csv as datafile when u use collection runner or newman . The mapping of column name as variable is done automatically . you dont have to do anything