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.
I have a 1 request which return some numbers. Base on that numbers, another request need to execute by passing one of those number each time.
As on the image at the top image, as for the response, I’m getting booking IDs.
And as for the 2nd image at the bottom, I have to pass the booking ID as a parameter to the 2nd request. And I need to do this for all the numbers I’m getting for the 1st request.
It should run the next post request, and the request name is used for postman.setNextRequest() method.
And if you need to run the GET request for certain number of times before POST, you need write a simple snippet with the iteration logic and conditions
I think @chathurahjm needs to write a script where he can iterate over the array of objects and then pass the value of each bookingId to the GET request before POST.