I am facing a strange issue with postman chaining of requests I will explain my scenario below
I am chaining POST and PUT request in a folder
The response coming from POST request has a field which I am storing in environment variable and passing it as input parameter to 2nd PUT Request
While running this folder (POST+PUT) through runner I am passing test data to 2nd request through a csv file where as for the first request we have hard coded request body.
Getting incorrect response i.e., response populated for the 2nd request is same as response of 1st request.
My question: is there anyway to resolve this issue??
How I found the problem: While checking the response of 2nd request in console
I’ve already tried:
Verified the request body of 2nd Request- it is going correctly and my test data is getting picked from csv file
Checked and unchecked the cookies option in runner
Used Set Next request line in tests tab
Manually tested the scenario without using chaining and csv files and it is working fine