I’m using a JSON Datafile to test a large number of new products being added to our API and I have created the Datafile and a single call to our Order Service API Endpoint. We have a test scenario setup on the parent folder test tab checking for valid responses (200, 202 etc).
Is it possible to add a response variable to the JSON data file to populate a test scenario variable on the test tab, so that we can define which response we are expecting for each product ordered?
I have tried adding a variable {{testResponse}} to the test tab, but it’s not recognised as it is in the body.