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

Class WebsiteUser

examples/basic.py:22–29  ·  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

20
21
22class WebsiteUser(HttpUser):
23 """
24 User class that does requests to the locust web server running on localhost
25 """
26
27 host = "http://127.0.0.1:8089"
28 wait_time = between(2, 5)
29 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…