How to simulate 120 concurrent users of a web application with real conditions?
Asked Answered
F

1

7

How to you simulate > 120 concurrent users using a Load Test Framework such as JMeter? Real concurrency, as far as I understand, would be possible if I would use 120 servers or 120 CPU cores.

How did/do you test your web application or service with real conditions?

Fitful answered 16/11, 2010 at 11:41 Comment(0)
A
14

I have found JMeter to work fine, but I generally use is across 4-5 PC's to get the most accurate results.

Although you may believe 120 concurrent users may be difficult to simulate from a single PC, you have to realise that in a real work scenario, 120 simultaneous users will not be accessing the server at exactly the same time, therefore the CPU threading algorithms are sufficient to simulate the load.

What you need to do is to understand the likely usage of your application from your users, i.e. how many requests per second/minute you will get from a single user and make sure that your test simulates this effectively.

So, our technique is to use JMeter running on 5 PCs running different tests, and to monitor the server performance during the tests.

There are of course many other products available that for a price are able to better simulate web traffic, but I have always found JMeter to be perfectly good for my needs.

Arioso answered 16/11, 2010 at 12:7 Comment(2)
Thank you!! Great answer, exactly what I needed. In addition, you've given me another very useful hint how you're testing your server. It's my first time using a load test so I'm very glad for this!Fitful
As you know jmeter can work with non GUI slaves coordinated by one node.Dody

© 2022 - 2024 — McMap. All rights reserved.