locust 2.32.3.dev18__tar.gz → 2.32.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {locust-2.32.3.dev18 → locust-2.32.4}/PKG-INFO +14 -13
- {locust-2.32.3.dev18 → locust-2.32.4}/README.md +12 -12
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/_version.py +2 -2
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/web.py +2 -2
- locust-2.32.4/locust/webui/dist/assets/index-CwF7Fst2.js +221 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/webui/dist/auth.html +2 -2
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/webui/dist/index.html +1 -1
- locust-2.32.4/locust/webui/dist/report.html +235 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/poetry.lock +9 -9
- {locust-2.32.3.dev18 → locust-2.32.4}/pyproject.toml +2 -1
- locust-2.32.3.dev18/locust/webui/dist/assets/index-BXPhYgcX.js +0 -221
- locust-2.32.3.dev18/locust/webui/dist/report.html +0 -236
- {locust-2.32.3.dev18 → locust-2.32.4}/LICENSE +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/__init__.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/__main__.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/argument_parser.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/clients.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/contrib/__init__.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/contrib/fasthttp.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/contrib/mongodb.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/contrib/postgres.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/debug.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/dispatch.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/env.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/event.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/exception.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/html.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/input_events.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/log.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/main.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/py.typed +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/rpc/__init__.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/rpc/protocol.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/rpc/zmqrpc.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/runners.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/shape.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/stats.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/user/__init__.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/user/inspectuser.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/user/sequential_taskset.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/user/task.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/user/users.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/user/wait_time.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/__init__.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/cache.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/date.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/deprecation.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/directory.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/exception_handler.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/load_locustfile.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/rounding.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/timespan.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/util/url.py +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/webui/dist/assets/favicon-dark.png +0 -0
- {locust-2.32.3.dev18 → locust-2.32.4}/locust/webui/dist/assets/favicon-light.png +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: locust
|
3
|
-
Version: 2.32.
|
3
|
+
Version: 2.32.4
|
4
4
|
Summary: Developer-friendly load testing framework
|
5
5
|
Home-page: https://locust.io/
|
6
6
|
License: MIT
|
@@ -36,6 +36,7 @@ Requires-Dist: pywin32 ; sys_platform == "win32"
|
|
36
36
|
Requires-Dist: pyzmq (>=25.0.0)
|
37
37
|
Requires-Dist: requests (>=2.26.0) ; python_full_version <= "3.11.0"
|
38
38
|
Requires-Dist: requests (>=2.32.2) ; python_full_version > "3.11.0"
|
39
|
+
Requires-Dist: setuptools (>=70.0.0)
|
39
40
|
Requires-Dist: tomli (>=1.1.0) ; python_version < "3.11"
|
40
41
|
Requires-Dist: typing_extensions (>=4.6.0) ; python_version < "3.11"
|
41
42
|
Project-URL: Documentation, https://docs.locust.io/
|
@@ -97,24 +98,24 @@ Locust makes it easy to run load tests distributed over multiple machines. It is
|
|
97
98
|
Locust has a user friendly web interface that shows the progress of your test in real-time. You can even change the load while the test is running. It can also be run without the UI, making it easy to use for CI/CD testing.
|
98
99
|
|
99
100
|
<picture>
|
100
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/bottlenecked-server-light.png" alt="Locust UI charts" height="100" width="200"/>
|
101
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/bottlenecked-server-dark.png" alt="Locust UI charts" height="100" width="200"/>
|
102
|
-
<img src="docs/images/bottlenecked-server-light.png" alt="Locust UI charts" height="100" width="200"/>
|
101
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/bottlenecked-server-light.png" alt="Locust UI charts" height="100" width="200"/>
|
102
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/bottlenecked-server-dark.png" alt="Locust UI charts" height="100" width="200"/>
|
103
|
+
<img src="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/bottlenecked-server-light.png" alt="Locust UI charts" height="100" width="200"/>
|
103
104
|
</picture>
|
104
105
|
<picture>
|
105
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/webui-running-statistics-light.png" alt="Locust UI stats" height="100" width="200"/>
|
106
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/webui-running-statistics-dark.png" alt="Locust UI stats" height="100" width="200"/>
|
107
|
-
<img src="docs/images/webui-running-statistics-light.png" alt="Locust UI stats" height="100" width="200"/>
|
106
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-running-statistics-light.png" alt="Locust UI stats" height="100" width="200"/>
|
107
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-running-statistics-dark.png" alt="Locust UI stats" height="100" width="200"/>
|
108
|
+
<img src="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-running-statistics-light.png" alt="Locust UI stats" height="100" width="200"/>
|
108
109
|
</picture>
|
109
110
|
<picture>
|
110
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/locust-workers-light.png" alt="Locust UI workers" height="100" width="200"/>
|
111
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/locust-workers-dark.png" alt="Locust UI workers" height="100" width="200"/>
|
112
|
-
<img src="docs/images/locust-workers-light.png" alt="Locust UI workers" height="100" width="200"/>
|
111
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/locust-workers-light.png" alt="Locust UI workers" height="100" width="200"/>
|
112
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/locust-workers-dark.png" alt="Locust UI workers" height="100" width="200"/>
|
113
|
+
<img src="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/locust-workers-light.png" alt="Locust UI workers" height="100" width="200"/>
|
113
114
|
</picture>
|
114
115
|
<picture>
|
115
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/webui-splash-light.png" alt="Locust UI start test" height="100" width="200"/>
|
116
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/webui-splash-dark.png" alt="Locust UI start test" height="100" width="200"/>
|
117
|
-
<img src="docs/images/webui-splash-light.png" alt="Locust UI start test" height="100" width="200"/>
|
116
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-splash-light.png" alt="Locust UI start test" height="100" width="200"/>
|
117
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-splash-dark.png" alt="Locust UI start test" height="100" width="200"/>
|
118
|
+
<img src="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-splash-light.png" alt="Locust UI start test" height="100" width="200"/>
|
118
119
|
</picture>
|
119
120
|
|
120
121
|
#### Can test any system
|
@@ -48,24 +48,24 @@ Locust makes it easy to run load tests distributed over multiple machines. It is
|
|
48
48
|
Locust has a user friendly web interface that shows the progress of your test in real-time. You can even change the load while the test is running. It can also be run without the UI, making it easy to use for CI/CD testing.
|
49
49
|
|
50
50
|
<picture>
|
51
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/bottlenecked-server-light.png" alt="Locust UI charts" height="100" width="200"/>
|
52
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/bottlenecked-server-dark.png" alt="Locust UI charts" height="100" width="200"/>
|
53
|
-
<img src="docs/images/bottlenecked-server-light.png" alt="Locust UI charts" height="100" width="200"/>
|
51
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/bottlenecked-server-light.png" alt="Locust UI charts" height="100" width="200"/>
|
52
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/bottlenecked-server-dark.png" alt="Locust UI charts" height="100" width="200"/>
|
53
|
+
<img src="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/bottlenecked-server-light.png" alt="Locust UI charts" height="100" width="200"/>
|
54
54
|
</picture>
|
55
55
|
<picture>
|
56
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/webui-running-statistics-light.png" alt="Locust UI stats" height="100" width="200"/>
|
57
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/webui-running-statistics-dark.png" alt="Locust UI stats" height="100" width="200"/>
|
58
|
-
<img src="docs/images/webui-running-statistics-light.png" alt="Locust UI stats" height="100" width="200"/>
|
56
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-running-statistics-light.png" alt="Locust UI stats" height="100" width="200"/>
|
57
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-running-statistics-dark.png" alt="Locust UI stats" height="100" width="200"/>
|
58
|
+
<img src="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-running-statistics-light.png" alt="Locust UI stats" height="100" width="200"/>
|
59
59
|
</picture>
|
60
60
|
<picture>
|
61
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/locust-workers-light.png" alt="Locust UI workers" height="100" width="200"/>
|
62
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/locust-workers-dark.png" alt="Locust UI workers" height="100" width="200"/>
|
63
|
-
<img src="docs/images/locust-workers-light.png" alt="Locust UI workers" height="100" width="200"/>
|
61
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/locust-workers-light.png" alt="Locust UI workers" height="100" width="200"/>
|
62
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/locust-workers-dark.png" alt="Locust UI workers" height="100" width="200"/>
|
63
|
+
<img src="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/locust-workers-light.png" alt="Locust UI workers" height="100" width="200"/>
|
64
64
|
</picture>
|
65
65
|
<picture>
|
66
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/webui-splash-light.png" alt="Locust UI start test" height="100" width="200"/>
|
67
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/webui-splash-dark.png" alt="Locust UI start test" height="100" width="200"/>
|
68
|
-
<img src="docs/images/webui-splash-light.png" alt="Locust UI start test" height="100" width="200"/>
|
66
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-splash-light.png" alt="Locust UI start test" height="100" width="200"/>
|
67
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-splash-dark.png" alt="Locust UI start test" height="100" width="200"/>
|
68
|
+
<img src="https://raw.githubusercontent.com/locustio/locust/refs/heads/master/docs/images/webui-splash-light.png" alt="Locust UI start test" height="100" width="200"/>
|
69
69
|
</picture>
|
70
70
|
|
71
71
|
#### Can test any system
|
@@ -14,7 +14,7 @@ __version_tuple__: VERSION_TUPLE
|
|
14
14
|
version_tuple: VERSION_TUPLE
|
15
15
|
|
16
16
|
|
17
|
-
__version__ = "2.32.
|
17
|
+
__version__ = "2.32.4"
|
18
18
|
version = __version__
|
19
|
-
__version_tuple__ = (2, 32,
|
19
|
+
__version_tuple__ = (2, 32, 4)
|
20
20
|
version_tuple = __version_tuple__
|
@@ -57,6 +57,7 @@ DEFAULT_CACHE_TIME = 2.0
|
|
57
57
|
class InputField(TypedDict, total=False):
|
58
58
|
label: str
|
59
59
|
name: str
|
60
|
+
type: str | None
|
60
61
|
default_value: bool | None
|
61
62
|
choices: list[str] | None
|
62
63
|
is_secret: bool | None
|
@@ -549,8 +550,7 @@ class WebUI:
|
|
549
550
|
self.auth_args["info"] = session.get("auth_info", None)
|
550
551
|
|
551
552
|
return render_template_from(
|
552
|
-
"auth.html",
|
553
|
-
auth_args=self.auth_args,
|
553
|
+
"auth.html", auth_args=self.auth_args, auth_title=self.auth_args.get("title", "Locust")
|
554
554
|
)
|
555
555
|
|
556
556
|
@app_blueprint.route("/user", methods=["POST"])
|