Home > front end >  What is true rps in locust
What is true rps in locust

Time:12-06

I'm curious how many actual requests per second my service is getting while locust load test.

If it has 50 users and shows 6 RPS, does it mean I'm getting 50*6=300 requests per second?

CodePudding user response:

If you are monitoring from locust UI 6 rps means 6 requests per second regardless of user count. Web UI shows the total rps generated from all workers.

CodePudding user response:

It's total number of RPS which Locust is able to achieve.

If you look at enter image description here

and "Total Requests per Second"

enter image description here

as you can see RPS stopped growing around 40th second of the test and remains the same and users are being added for another minute. Ideally RPS should increase as the load increases, Locust documentation shows classic bottleneck

So unless you artificially slowing down Locust using wait() function and not capable of getting more than 6 RPS with 50 users - most probably your server needs some optimization.

Also double check your Locustfile, maybe your load profile differs from your expectations and you don't have 50 concurrent users at the single moment.

More information:

  • Related