def constant_ips(ips): return constant_pacing(1.0 / ips)
class LocustRunner(HttpLocust): task_set = UsersBhavior host = "http://localhost:3000" wait_time = constant_pacing(1.0)
class MyHttpLocust(HttpLocust): task_set = UserBehavior wait_time = constant_pacing(1) host = "http://example.com"
class User(Locust): wait_time = constant_pacing(0.1)