Toby_Hage
16 years agoOccasional Contributor
loadtest not correct when using JDBC MySQL datasource
Hello,
For this question i use the following settings:
threads: 1
strategy: simple
Test Delay: 4000 (ms)
Random: 0.0
Limit: 60 seconds
When there is no datasource, these settings are working correct. So every 4 seconds a request is send to the server for 60 seconds.
When I add a datasource teststep with a datasource loop, the webserver receives 2 or 3 requests per second and the testrun will not finish in 60 seconds.
When i cancel the test the results in the "cnt" column are about 180 (when runned for about 60 seconds, instead of 60/4 = 15)
I have played with datasource options but nothing helps. Is this a bug or did I something wrong?
The datasource is working correct.
Hopefully somebody can help me.
Regards!
For this question i use the following settings:
threads: 1
strategy: simple
Test Delay: 4000 (ms)
Random: 0.0
Limit: 60 seconds
When there is no datasource, these settings are working correct. So every 4 seconds a request is send to the server for 60 seconds.
When I add a datasource teststep with a datasource loop, the webserver receives 2 or 3 requests per second and the testrun will not finish in 60 seconds.
When i cancel the test the results in the "cnt" column are about 180 (when runned for about 60 seconds, instead of 60/4 = 15)
I have played with datasource options but nothing helps. Is this a bug or did I something wrong?
The datasource is working correct.
Hopefully somebody can help me.
Regards!