Forum Discussion

codehausss's avatar
codehausss
Contributor
10 years ago

automatically increase number in request test step

Hello

 

i know we can use math.random function to generate random number in the request with ${=(Math.random())} everytime generate request.

 

can i do the same to increase integer value in the request?

 

initial value from test properties "id": 12345

 

test step:

<id>${#TestCase#id}</id>

 

how to loop request and each request will increment "id" value with +1

 

thx