Answered question

Counter is not updated from xx_n to xx_1, xx_2 in Loop

Using variable extractor, 7 variable are created and ID_1, ID_2, ID_3, ID_4, ID_5, ID_MatchNr, ID_rand.

On next requests I implemented loop with Execute Loop ID_MatchNr times and replaced the value with ${ID_n}. In all the iterations, ID_1, ID_2, ID_3, ID_4, ID_5 were not called or fetched. On looking at the request I found ID_n in the request.

Please find the screenshots in attachment.

Gaurav P.
Gaurav P.

Gaurav P.

Level
0
15 / 100
points
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

It's not ${ID_n} that you need to use but ${ID_${loop_counter}}

Did you find this useful ?

No (0)

Yes (1)

100%

100% of users found this answer useful