I am doing a test case where it will call API and that data will use next API call as part of One Scenario. I am passing testdata as part of example 4 records .Here I have under one scenario first Given API call output passing to second given API call.As part of comapare the results i need the first API call output data to compare with second API call results.
So is there any way to capture all four test records data first API call data in one variable (each time variable to update)
example : *def var = 'hello'
- var = var +'world'
Please need help