In JMeter default lisnters some values are not provided by default and one of the examples is the max number of user concurrency which sometimes important if you’re executing a test which is not duration based.
In this article we’re going to execute a test with 200 users ramping 1 user each 2 sec and let’s see what is the max user concurrency we can get.
But first we need to install a plugin and add a listner as the following :
- install jmeter plugin manager from the link below
https://jmeter-plugins.org/wiki/PluginsManager/ - After installation , open the plugin manager from jmeter and select the following plugin “3 Basic Graphs” from “Available Plugins” section
- Make sure that you have a new listner under called “Active Threads Over Time” as the following picture
Now everything is in place lets make a quick run.
we’re going to use this fake API website “http://jsonplaceholder.typicode.com/” in our test
Let’s execute and see the graph results 😉
If we look at the graph above , we got a max of 1 concurrent user during the test run , so lets change the ramping up values and see the changes.
we will modify the thread group to be 200 threads / ramp-up Period : 50 as the following and execute again.
If we look at the graph above , in 2 times during the test we had more than 1 concurrent users. Because this is a simple http call with no business behind we got a smooth run and nearly constant results but in more real life test this graph will help you know the max number of concurrent users during your test.