Forum Discussion
omatzura
17 years agoSuper Contributor
Hi,
hmm.. how many rows of data do you have in the file specified in the DataSource step?
If you have (for example) 10 rows and are running 10 threads with shared selected, the datasource will be shared between these 10 threads and each thread will most likely only execute 1 request. If you turn off shared, each thread creates its own datasource and should run 10 requests, to a total of 100 requests.
A side note:
When running LoadTests with shared datasources, it only really makes sense to have the run limit set to the same number of runs as threads, otherwise what can happen is that when a new thread/testcase starts the "second" time, it will create a new shared datasource which all running threads will share (also those that are still working on the "old" datasource).. this will probably give very confusing results..
Please let me know on the setup of your File DataSource and test results..
regards!
/Ole
eviware.com
hmm.. how many rows of data do you have in the file specified in the DataSource step?
If you have (for example) 10 rows and are running 10 threads with shared selected, the datasource will be shared between these 10 threads and each thread will most likely only execute 1 request. If you turn off shared, each thread creates its own datasource and should run 10 requests, to a total of 100 requests.
A side note:
When running LoadTests with shared datasources, it only really makes sense to have the run limit set to the same number of runs as threads, otherwise what can happen is that when a new thread/testcase starts the "second" time, it will create a new shared datasource which all running threads will share (also those that are still working on the "old" datasource).. this will probably give very confusing results..
Please let me know on the setup of your File DataSource and test results..
regards!
/Ole
eviware.com
Related Content
Recent Discussions
- 3 hours agocodehausss