locust 2.35.1.dev28__py3-none-any.whl → 2.35.1.dev30__py3-none-any.whl
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/_version.py +2 -2
- locust/web.py +4 -0
- locust/webui/dist/assets/index-DL5_lxtG.js +233 -0
- locust/webui/dist/auth.html +1 -1
- locust/webui/dist/index.html +1 -1
- {locust-2.35.1.dev28.dist-info → locust-2.35.1.dev30.dist-info}/METADATA +1 -1
- {locust-2.35.1.dev28.dist-info → locust-2.35.1.dev30.dist-info}/RECORD +10 -10
- locust/webui/dist/assets/index-PPaguH6c.js +0 -233
- {locust-2.35.1.dev28.dist-info → locust-2.35.1.dev30.dist-info}/WHEEL +0 -0
- {locust-2.35.1.dev28.dist-info → locust-2.35.1.dev30.dist-info}/entry_points.txt +0 -0
- {locust-2.35.1.dev28.dist-info → locust-2.35.1.dev30.dist-info}/licenses/LICENSE +0 -0
locust/_version.py
CHANGED
@@ -17,5 +17,5 @@ __version__: str
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
18
18
|
version_tuple: VERSION_TUPLE
|
19
19
|
|
20
|
-
__version__ = version = '2.35.1.
|
21
|
-
__version_tuple__ = version_tuple = (2, 35, 1, '
|
20
|
+
__version__ = version = '2.35.1.dev30'
|
21
|
+
__version_tuple__ = version_tuple = (2, 35, 1, 'dev30')
|
locust/web.py
CHANGED
@@ -277,6 +277,9 @@ class WebUI:
|
|
277
277
|
err_msg = "Valid run_time formats are : 20, 20s, 3m, 2h, 1h20m, 3h30m10s, etc."
|
278
278
|
logger.error(err_msg)
|
279
279
|
return jsonify({"success": False, "message": err_msg, "host": environment.host})
|
280
|
+
elif key == "profile":
|
281
|
+
environment.profile = str(request.form["profile"]) or None
|
282
|
+
parsed_options_dict[key] = environment.profile
|
280
283
|
elif key in parsed_options_dict:
|
281
284
|
# update the value in environment.parsed_options, but dont change the type.
|
282
285
|
parsed_options_value = parsed_options_dict[key]
|
@@ -714,6 +717,7 @@ class WebUI:
|
|
714
717
|
"users": users,
|
715
718
|
"percentiles_to_chart": stats.PERCENTILES_TO_CHART,
|
716
719
|
"percentiles_to_statistics": stats.PERCENTILES_TO_STATISTICS,
|
720
|
+
"profile": self.environment.profile,
|
717
721
|
}
|
718
722
|
|
719
723
|
self.template_args = {**self.template_args, **new_template_args}
|