Neo
15 years agoNew Contributor
Load Testing /Get current run
Hello,
I am new to groovy, I need to run a loadTesting in soapui 2.5.1 where i will give the number of runs and threads.
I need to get the current run ? I am having a list of values in a script before the request like
def name =["harry","louis","jenny","jack"]
the number of variables in name will be equal to number of runs I will give in the load test.
so for first run it has to take harry and second run louis.......
how can i get the current run in script for a load test so that i can directly substitute
name[currentRun] to the request parameter which is expecting the name where
int currentRun = //Script to get the current run ? Please help
Thanks
Neo
I am new to groovy, I need to run a loadTesting in soapui 2.5.1 where i will give the number of runs and threads.
I need to get the current run ? I am having a list of values in a script before the request like
def name =["harry","louis","jenny","jack"]
the number of variables in name will be equal to number of runs I will give in the load test.
so for first run it has to take harry and second run louis.......
how can i get the current run in script for a load test so that i can directly substitute
name[currentRun] to the request parameter which is expecting the name where
int currentRun = //Script to get the current run ? Please help

Thanks
Neo