Would you please tell me the max limit of no. of threads that i can use in JMeter 2.4 for conducting a load test?
Is there any difference in taking all threads in a single loop or by taking less no. of threads and initialize loop to achieve same no. of users/threads?
Example:
No. of threads=500 Ramp up=1000 Loop=1
whether it is same as
No. of threads=50 Ramp up=100 Loop=10
or is there any difference in terms of result?
"50 threads, loop 10" Means only 50 threads AT THE SAME TIME doing the loop TEN TIMES. Show activity on this post. There is no limit on Thread execution in Jmeter .
Good idea would be setting number of threads (virtual users) for the Thread Group to be more or less equal to the number of devices which simultaneously connect to the backend. Once done you should be able to limit JMeter's request rate to 166 requests per minute using Constant Throughput Timer.
In conclusion, we can say that you can simulate up to 10,000 users on a JMeter load test even on a regular laptop.
Number of threads: 10, Ramp-Up period: 10 seconds and Loop Count: 1 means that JMeter will take 10 seconds to get all the 10 threads up and running. Each thread will start after 1 (10/10) second after the previous thread had begun. A total of 10 requests will be made, since loop count is 1.
The max number of threads is determined by a lot of factors, see this answer https://stackoverflow.com/a/11922239/460802
There is a big difference in what you are proposing.
In theory you get the same number of results (500), but you are hitting the server in a very different manner.
Maximum number of users depends of your OS,free RAM and connection. Win XP is limited to 3000 processes at the same time. On Linux is more than 3000 but I don't how much. Be careful that you test server and if you start 3000 thread on your machine require a lot of resources and the test will not be real. I pref fare to start maximum 300 users per machine. If you want to increase the number of users than use distributed testing (use more machine as DoS attack). In theory is the same number of request but the time complexity is not the same.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With