File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -128,3 +128,10 @@ codegen: ## generate test code
128
128
uv run playwright codegen \
129
129
--target python-pytest \
130
130
--output tests/test_codegen.py
131
+
132
+ .PHONY : locust
133
+ locust : # # run locust server running on localhost:8089
134
+ uv run locust \
135
+ --locustfile scripts/locustfile.py \
136
+ --host http://localhost:8888 \
137
+ --web-port 8089
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ uv run scripts/load_context.py
66
66
67
67
## [ Playwright MCP server] ( https://github.com/microsoft/playwright-mcp )
68
68
69
+ ## [ Locust] ( https://github.com/locustio/locust )
70
+
71
+ - [ Your first test] ( https://docs.locust.io/en/stable/quickstart.html )
72
+
69
73
## Custom apps
70
74
71
75
### Credentials
Original file line number Diff line number Diff line change
1
+ from locust import HttpUser , task
2
+
3
+
4
+ class HelloWorldUser (HttpUser ):
5
+ @task
6
+ def hello_world (self ):
7
+ self .client .get (
8
+ url = "/" ,
9
+ )
You can’t perform that action at this time.
0 commit comments