I have a Loop controller and inside i have a http request and payload . PayloadBody Looks like below.
{
"id"="12345"
}
In the counter if i have 3 it should be 12346,12347 I need to increase value of a variable each time when iterates. i used the below JSR223 script as below
int counter=(vars.get('ContactId') as int) +1
vars.put('counter',counter as String)
log.info(vars.get('counter'))
it's taking next digit but same value in the counter it's not increasing as +1.