mailanu22
14 years agoNew Contributor
Datasource in loadtest in soapui- help please
I am trying to convert a soapui functional test into a load test. The functional test has a datasource, a webservice request and a loop. The data source is generated via groovy script and it has 2 rows.
When I convert this test into a load test, I performed the following actions
1. Set the shared flag in the datasource
2. Disabled the data source loop ( because I want 2 threads to run parallely with 2 rows of data from the datasource)
Load test settings:
I set the number of threads to 2 and the limit to 2 Total runs. I want the 2 threads to take 2 rows of data in the data source and run it parallel. But when I did this I saw that both the threads pick up the same data. Only first row of the datasource was used by both the threads and the second row was not used at all.
Can you please let me know where the issue is?
Appreciate any help on this
When I convert this test into a load test, I performed the following actions
1. Set the shared flag in the datasource
2. Disabled the data source loop ( because I want 2 threads to run parallely with 2 rows of data from the datasource)
Load test settings:
I set the number of threads to 2 and the limit to 2 Total runs. I want the 2 threads to take 2 rows of data in the data source and run it parallel. But when I did this I saw that both the threads pick up the same data. Only first row of the datasource was used by both the threads and the second row was not used at all.
Can you please let me know where the issue is?
Appreciate any help on this