I am working on a postman collection where I have written two get requests for APIs. I am using a single data file in the runner for both the requests when I run. My data file looks like below -
What I am trying to do is when I run request1 it should use Algo_id and use in the query parameter and for request2 it should use product_ids . When I run these request from the test runner using data file it runs the requests for the blank values as well, four requests each. I want to skip the runs for blank values and only run it when there is a value in the column for the request.
I want to run both the request two times and skip for the blank ones.
what I have tried so far, but had no success -
request1 Pre-request script -
request2 Pre-request script -