Пример #1
0
def constant_ips(ips):
    return constant_pacing(1.0 / ips)
Пример #2
0
class LocustRunner(HttpLocust):
    task_set = UsersBhavior
    host = "http://localhost:3000"
    wait_time = constant_pacing(1.0)
Пример #3
0
class MyHttpLocust(HttpLocust):
    task_set = UserBehavior
    wait_time = constant_pacing(1)
    host = "http://example.com"
Пример #4
0
 class User(Locust):
     wait_time = constant_pacing(0.1)