Ruth
9 years agoOccasional Contributor
Solved
Change the body of the JSON request while looping through the test case
Is there a way to change the body of the JSON request when looping through the test case.
For example I want the request to return all rows where "Result_Field = Pass", the next loop I want to change to where "Result_Field = Processing", etc.
{
"command": "get",
"options": {
"where": "Result_Field = Pass"
}
}
- Can you check the below link that I posted for similar requirement, you can just adjust for your data by tuning it.
http://stackoverflow.com/questions/33748424/set-json-element-in-soapui-testcase-request-using-groovy-script/33750043#33750043