fakhrul
fakhrul

Reputation: 25

How many thread group can be executed at a time during performance test?

I've executed 15 Thread group at time during performance test, but some of thread group didn't executed. Is there any limitation about number of thread group for test execution? Or how many number of active thread group can be executed at a time?

Upvotes: 0

Views: 541

Answers (1)

Dmitri T
Dmitri T

Reputation: 168157

Theoretically the limit of Thread Groups in the Test Plan is as high as 32-bit Integer maximum value.

So you should not be experiencing problems with 15 Thread Groups given you're following JMeter Best Practices in particular:

  1. Run your test in non-GUI mode
  2. Disable all the listeners during the test run
  3. Limit test elements to the absolute minimum, each pre/post processor or assertion has its cost so make sure that your test is as efficient as possible
  4. JMeter default configuration is suitable for tests development and debugging, you will need to perform tuning if you plan to run a load test, i.e. at least increase JVM size

If you still experience problems:

  • check jmeter.log file for any suspicious entries
  • consider running your test in Distributed Mode (remember to proportionally decrease the number of threads as JMeter engines are independent and if you have 100 threads defined in the Test Plan and 3 remote engines - you will deliver 100 * 3 = 300 virtual users)

Upvotes: 1

Related Questions