Would like to ask the experts here what is the purpose of response time distribution in locust.io? I could not figure out what does 50%, 60% means in the downloaded CSV.
1 locust every 20 seconds)
The code your Locust users runs needs to be written in such a way that each user is only making one request. Then in your Locust User class, you set wait_time = constant(1) or wait_time = constant_pacing(1) , whichever behavior you want.
Percentiles explained A percentile is a measure used in statistics indicating the value below which a given percentage of observations in a group of observations fall. For example, the response time for a HTTP request below which 90% of the response time values lie, is called the 90-percentile response time.
In this case, each user should sign-in and make 3 GET request and locust should stop. So a total of 12 request. I found that previously there was an option -n to specify the number of request, however it is not there in version 0.14. 4.
It shows the percentage of request completed given time interval which in table below means that 50% of the total requests to home is completed 160ms and 66% of requests are completed in 290ms and respectively goes on.
You can make a risk analysis about the performance of the services with this table for example to cover 99% 2sec needed but for 100% 14sec 1% of requests has very long time waiting.
If your target is to have 300ms at most, you can just cover the 66% requests so you will take the risk of your 34% percent of user to lose.
Method Name #requests 50% 66% 75% 80% 90% 95% 98% 99% 100%
GET /home 14151 160 290 400 600 800 1100 1700 2000 13934
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With