This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Testing and the fly likes JMeter number of users for distributed testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Testing
Bookmark "JMeter number of users for distributed testing" Watch "JMeter number of users for distributed testing" New topic

JMeter number of users for distributed testing

Sabine Chemaly

Joined: Dec 08, 2011
Posts: 16
I'd like to know in order to stress test a web application using JMeter, from which number of user to be tested do we need to have a distributed testing?
Thank you in advance
sugan san
Ranch Hand

Joined: May 23, 2013
Posts: 47
HI Sabine,

You can run ~1000 users if your RAM is 3GB. To run more number of Users Run Jmeter in NOn-GUI mode with Distributed Testing.
Please visit the following URL for detailed explanation. Ask me still if you get any difficulties.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11730

The answer is "it depends".

While it is technically feasible to run lots of users performing lots of operations on a single machine, this is rarely a good idea (unless the system running the load test has greater performance characteristics than the system being tested). As you increase load on your computer running the test, it has fewer resources available to create the load on the remote computer.

What you really need to do is monitor all your resources on the computer's running the load test. Once you see any contention for CPU or RAM or HDD then you need to swap to distributed testing.

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
subject: JMeter number of users for distributed testing
It's not a secret anymore!