How do threads and number of iterations impact test and what is JMeter’s max. thread limit

Viewed 55350
  1. 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?

  2. 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?

6 Answers

There is no limit on Thread execution in Jmeter. Since its a java based tool, it uses java thread capabilities. In case of concurrent thread execution we need to taken care of machine configuration (ie. Memory size and CPU).

To avoid OutOfMemory issue try to run jmeter in NON-GUI mode with custom java runtime arguments in jmeter script inside apache-jmeter/bin/jmeter . Default is 512 MB.

Related