Is there a property file in Jmeter that configures how many thread groups can run concurrently. I have a test case where if I run 5 thread groups, the test is successful but the moment I add a 6th thread group, one of the thread group fails. Is there a limit to no of thread groups we can run concurrently.
0
votes
1 Answers
0
votes
There is no defined limit of thread groups, however JMeter may fail to kick off some threads if it lacks resources so make sure you are:
- Following JMeter Best Practices
- Tune JMeter for maximum performance
- Set up monitoring on your load generator(s) using operating system built-in tools or JMeter PerfMon Plugin
Once done gradually increase the amount of active threads (virtual users) and at the same time monitor baseline OS health metrics and JVM and GC behaviour. Once you hit the limits of a single host - this would be maximum amount of threads you will be able to start. If it is not enough to fulfil your load testing requirements you will need to go for distributed testing