SvenskaSpel / locust-plugins

A set of useful plugins/extensions for Locust
Apache License 2.0
526 stars 136 forks source link

Additional rps calculation rules #183

Open waitingSunset opened 1 week ago

waitingSunset commented 1 week ago

I find the constant_total_ips method of wait_time.py very useful, and I have a special idea to define a TPS concept. For example, if @task_a, @task_b, and @task_c exist in a TaskSet, and I set the TPS parameter to 10, the request rate of each task should be 10, not the total number of requests for each task should be 10 I wonder if the suggestion is reasonable

cyberw commented 1 week ago

Hi! That sounds useful, and should be possible. If you implement it I'll have a look!