MCPcopy
hub / github.com/locustio/locust / WebsiteUser

Class WebsiteUser

examples/multiple_hosts.py:28–35  ·  view source on GitHub ↗

User class that does requests to the locust web server running on localhost

Source from the content-addressed store, hash-verified

26
27
28class WebsiteUser(MultipleHostsUser):
29 """
30 User class that does requests to the locust web server running on localhost
31 """
32
33 host = "http://127.0.0.1:8089"
34 wait_time = between(2, 5)
35 tasks = [UserTasks]

Callers

nothing calls this directly

Calls 1

betweenFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…