Forum Discussion

kiran_load's avatar
kiran_load
Occasional Contributor
17 years ago

setting a variable in a request that starts at value x -it should work in concur

I would like to be able to set a variable in a request that starts at value x and increments after every request within a loadtest. Is this possible?
it should work in concurency....

1 Reply

  • Hello,

    This functionality is built-in to soapUI Pro (see here for details).
    Using the Number DataGen, each time the value is read it will increment. You can even persist it for subsequent executions of the program.


    Otherwise, you will have to use Groovy for this. For example, you could have a synchronized block of code that increments the counter that you call at the end of each request.

    Regards,
    Dain
    eviware support