On a http response for a http request I am checking a particular field from one status to another status using a while controller. But the while controller is not breaking the loop even after the condition is satisfied.
{
"data": {
"uri": null,
"taskId": "f5b6aaf3-8b14-49ba-a495-788eef5c523b",
"taskStatus": "Ongoing"
},
"apiUrl": "http:\/\/.int:8081\/release01-nightly-api\/\/2192_IND_1_40",
"statusCode": "102"
}
So the above response "taskStatus": "Ongoing" which will be "Successfull" after some time may be 20-30 seconds so I have used a while controller, which is not breaking even after the condition is satisfied.
Here below the details of while controller,
I am fetching the status using a JSON extractor
Execution snapshot,
What I am doing wrong here