locust 2.18.4.dev13__py3-none-any.whl → 2.18.4.dev17__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.
Potentially problematic release.
This version of locust might be problematic. Click here for more details.
- locust/_version.py +2 -2
- locust/stats.py +2 -2
- locust/web.py +4 -1
- locust/webui/dist/assets/{index-64e96d17.js → index-8ad54eaa.js} +45 -45
- locust/webui/dist/index.html +1 -1
- {locust-2.18.4.dev13.dist-info → locust-2.18.4.dev17.dist-info}/METADATA +1 -1
- {locust-2.18.4.dev13.dist-info → locust-2.18.4.dev17.dist-info}/RECORD +11 -11
- {locust-2.18.4.dev13.dist-info → locust-2.18.4.dev17.dist-info}/LICENSE +0 -0
- {locust-2.18.4.dev13.dist-info → locust-2.18.4.dev17.dist-info}/WHEEL +0 -0
- {locust-2.18.4.dev13.dist-info → locust-2.18.4.dev17.dist-info}/entry_points.txt +0 -0
- {locust-2.18.4.dev13.dist-info → locust-2.18.4.dev17.dist-info}/top_level.txt +0 -0
locust/_version.py
CHANGED
@@ -12,5 +12,5 @@ __version__: str
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
13
13
|
version_tuple: VERSION_TUPLE
|
14
14
|
|
15
|
-
__version__ = version = '2.18.4.
|
16
|
-
__version_tuple__ = version_tuple = (2, 18, 4, '
|
15
|
+
__version__ = version = '2.18.4.dev17'
|
16
|
+
__version_tuple__ = version_tuple = (2, 18, 4, 'dev17')
|
locust/stats.py
CHANGED
@@ -390,8 +390,8 @@ class StatsEntry:
|
|
390
390
|
|
391
391
|
if self.min_response_time is None:
|
392
392
|
self.min_response_time = response_time
|
393
|
-
|
394
|
-
|
393
|
+
else:
|
394
|
+
self.min_response_time = min(self.min_response_time, response_time)
|
395
395
|
self.max_response_time = max(self.max_response_time, response_time)
|
396
396
|
|
397
397
|
# to avoid to much data that has to be transferred to the master node when
|
locust/web.py
CHANGED
@@ -367,6 +367,7 @@ class WebUI:
|
|
367
367
|
"stats": stats,
|
368
368
|
"errors": errors,
|
369
369
|
"total_rps": 0.0,
|
370
|
+
"total_fail_per_sec": 0.0,
|
370
371
|
"fail_ratio": 0.0,
|
371
372
|
"current_response_time_percentile_1": None,
|
372
373
|
"current_response_time_percentile_2": None,
|
@@ -395,9 +396,11 @@ class WebUI:
|
|
395
396
|
truncated_stats += [stats[-1]]
|
396
397
|
|
397
398
|
report = {"stats": truncated_stats, "errors": errors[:500]}
|
399
|
+
total_stats = stats[-1]
|
398
400
|
|
399
401
|
if stats:
|
400
|
-
report["total_rps"] =
|
402
|
+
report["total_rps"] = total_stats["current_rps"]
|
403
|
+
report["total_fail_per_sec"] = total_stats["current_fail_per_sec"]
|
401
404
|
report["fail_ratio"] = environment.runner.stats.total.fail_ratio
|
402
405
|
report[
|
403
406
|
"current_response_time_percentile_1"
|