la1
la1

Reputation: 539

Grafana Dashboard shows 'Active users' as 1 when executed Jmeter script for 100 threads

We could integrate Jmeter + InfluxDB + Grafana to monitor real time results. Jmeter Test plan has Threads as '100' with Ramp up 100 seconds. After the execution was expecting 'Active Users' will reflect '100' users in Grafana Dashboard however it shows 1 user.

Jmeter TestPlan: 5.2 version Thread Group: Number of Threads/Users - 100 Ramp Up: 100 seconds Loop Count: 1

On Grafana Dashboard: configured with Jmeter Dashboard (3.2 and up) board from Grafana. Active users 1, Throughput req/sec - shows 100.

Should Active users show 100 or 1? Tried different Dashboards available, in every case the same results. Please guide.

enter image description here

Upvotes: 1

Views: 708

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

You need to provide more loops in the Thread Group, given your Sampler(s) response time is 1 second or less you will run into the situation when 1st thread has already finished executing the Samplers and was shut down and the next one hasn't been yet started.

Another option is to reduce ramp-up, in this case you should see more concurrency.

More information: JMeter Test Results: Why the Actual Users Number is Lower than Expected

Upvotes: 2

Related Questions