I am wondering if there is a way to know how many threads JMeter can support for a given machine configuration? Currently, I am working toward a task that requires me to check how many VMs I need to support different API threads.


1 Answer 1


There is one: measure it.

  1. Make sure to follow JMeter Best Practices
  2. Make sure to set up monitoring of baseline OS health metrics like CPU, RAM, Network, Disk usage, etc. If you don't have better options you can consider using JMeter PerfMon Plugin for this.
  3. Start with 1 user and gradually increase the load at the same time looking at resources consumption
  4. When any of the monitored metrics starts exceeding i.e. 80% of maximum available capacity stop the test and record how many threads (virtual users) were online at very that moment. You can check it using i.e. Active Threads Over Time Listener)

This is how many users you can simulate from particularly this machine for particularly this test, if you change machine or .jmx test script - you will need to repeat the measurement.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.