apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.3k stars 2.09k forks source link

CSV Data Set Config tends towards threads using same lines #3501

Closed asfimport closed 9 years ago

asfimport commented 9 years ago

Nicholas Godfrey (Bug 57357): I've got a fairly simple script and want to run it with 5 threads. I have data set to 'All Threads' nad a ramp up time of 120 seconds and things start of fine. But after a while, I start to see bunches of the same calls, ultimately in bunches of the number of threads - so bunches of 5 in this case. This takes a while to develop but I can clearly see it in a Fiddler trace. I tried version 2.10 and it's doing the same thing. I also have a timer in the script and tried a gaussian random timer but am still getting the same pattern developing over time. Attaching a Fiddler screenshot. I tried it with unique data as well (so not expecting any duplicates) but still get the effect.

Created attachment ScreenShot825.jpg: Fiddler trace where bunching can be seen after a while

Fiddler trace where bunching can be seen after a while

Severity: normal OS: All

asfimport commented 9 years ago

@pmouawad (migrated from Bugzilla): Hi, Can you create a simple Test plan based on Debug Sampler and CSV Dataset showing issue ?

Thanks

asfimport commented 9 years ago

Nicholas Godfrey (migrated from Bugzilla): Hi, I was just about to answer you and I have found the problem. It's my code I'm afraid. I have a model I am developing (here: http://www.webwob.com/html/jmeter_raw_.html ) and I made a mistake by storing the adjusted_url in a system property. It should be in a local variable of course. I didn't think of threads at the time. I'll fix this now so don't bother downloading that project just yet. can you close this bug. Thanks. (user error).

Nick