SDutta
11 years agoOccasional Contributor
Groovy code to return different numbers
Hi,
I amusing Soap UI Pro 4.5.0 with Load Ui 2.6.6 for quite some time now and I am stuck with one Load testing scenario which I have to design in SOAP UI Pro First...
I need to write a groovy script which will return me numbers that I have to use on the Soap Request. Please No that I will use this SOAP UI Project in Load UI to load test.. And the numbers that should return for each request has to be unique, that is one number has to be used exactly once per request when I am executing the load test
Please Note, I have already used and tried with the DataSource and Datagen test steps.. But they didnt work out for ME... For datagen and datasource setup I have followed the following discussion thread : -- viewtopic.php?f=5&t=3019&start=15. However the same are not working as for Datagen, I had to create a list with 28 million records (Numbers) and with Datasource I tried with Data connection as well as JDBC but fetching the data is taking tooo long time and is not the objective of my load test
Please do tell me what to do now? Please help me with the groovy code as I am new to the Groovy.
I amusing Soap UI Pro 4.5.0 with Load Ui 2.6.6 for quite some time now and I am stuck with one Load testing scenario which I have to design in SOAP UI Pro First...
I need to write a groovy script which will return me numbers that I have to use on the Soap Request. Please No that I will use this SOAP UI Project in Load UI to load test.. And the numbers that should return for each request has to be unique, that is one number has to be used exactly once per request when I am executing the load test
Please Note, I have already used and tried with the DataSource and Datagen test steps.. But they didnt work out for ME... For datagen and datasource setup I have followed the following discussion thread : -- viewtopic.php?f=5&t=3019&start=15. However the same are not working as for Datagen, I had to create a list with 28 million records (Numbers) and with Datasource I tried with Data connection as well as JDBC but fetching the data is taking tooo long time and is not the objective of my load test
Please do tell me what to do now? Please help me with the groovy code as I am new to the Groovy.