Link to home
Start Free TrialLog in
Avatar of armbsu
armbsu

asked on

Jmeter how do I get the right number for load?

I have recorded a script against the application that I want to test. Now, I am having a hard time arriving at the decision that what is that number that the application will run without any issue and to find out the max number of users. Here is what I have done-

1.    I have run the Jmeter script for 10, 50, 100, 150 users
    2. Until 50 users, it runs like a charm. After about 80 users the throughput starts to come down and some samples do not show up in Aggregate Report.
  3.  I see heap memory problems in my console for about 150 users over period of time. Is it the application problem or my machine problem?

Do you have an article where I could read about how to come to a conclusion about THE number?

Thank you
Avatar of arober11
arober11
Flag of United Kingdom of Great Britain and Northern Ireland image

You should be monitoring the: CPU, Memory, Disk IO, Network bandwidth at 30, 40, 50, 60, 70, 70, 90, 100, ... users, and come up with a few regression equations that essentially profile your app. So you know it requires approximately:

base MB memory +  x MB per User
base CPU Load (MIPS) +  y MIPS User (You'll need to know the speed and number of cores in the CPU to esimate this)
base Network IO + z Mbits per User
...

So while running / cranking up your jmeter script, in easily divisible intervals, have the box(es) and network monitored by a remote Cacti / Nagios install (SNMP), or failing that something like Dstat on the server(s), and work out the numbers.

There are numerous tutorials, in numerous languages on YOUTube, that cover the process
Avatar of armbsu
armbsu

ASKER

arober11,

Thanks for the comment.  Do you have any youtube video that explains this process?
ASKER CERTIFIED SOLUTION
Avatar of arober11
arober11
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of armbsu

ASKER

thanks you!