locust 2.19.1.dev23__py3-none-any.whl → 2.19.2.dev5__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/contrib/fasthttp.py +0 -2
- locust/log.py +1 -2
- locust/webui/dist/assets/{index-8ad54eaa.js → index-3d290ecb.js} +70 -57
- locust/webui/dist/index.html +1 -1
- {locust-2.19.1.dev23.dist-info → locust-2.19.2.dev5.dist-info}/METADATA +1 -1
- {locust-2.19.1.dev23.dist-info → locust-2.19.2.dev5.dist-info}/RECORD +11 -11
- {locust-2.19.1.dev23.dist-info → locust-2.19.2.dev5.dist-info}/LICENSE +0 -0
- {locust-2.19.1.dev23.dist-info → locust-2.19.2.dev5.dist-info}/WHEEL +0 -0
- {locust-2.19.1.dev23.dist-info → locust-2.19.2.dev5.dist-info}/entry_points.txt +0 -0
- {locust-2.19.1.dev23.dist-info → locust-2.19.2.dev5.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.19.
|
16
|
-
__version_tuple__ = version_tuple = (2, 19,
|
15
|
+
__version__ = version = '2.19.2.dev5'
|
16
|
+
__version_tuple__ = version_tuple = (2, 19, 2, 'dev5')
|
locust/contrib/fasthttp.py
CHANGED
@@ -338,8 +338,6 @@ class FastHttpUser(User):
|
|
338
338
|
raise LocustError(
|
339
339
|
"You must specify the base host. Either in the host attribute in the User class, or on the command line using the --host option."
|
340
340
|
)
|
341
|
-
if not re.match(r"^https?://[^/]+", self.host, re.I):
|
342
|
-
raise LocustError(f"Invalid host (`{self.host}`), must be a valid base URL. E.g. http://example.com")
|
343
341
|
|
344
342
|
self.client: FastHttpSession = FastHttpSession(
|
345
343
|
self.environment,
|
locust/log.py
CHANGED
@@ -84,8 +84,7 @@ def greenlet_exception_logger(logger, level=logging.CRITICAL):
|
|
84
84
|
if greenlet.exc_info[0] == SystemExit:
|
85
85
|
logger.log(
|
86
86
|
min(logging.INFO, level), # dont use higher than INFO for this, because it sounds way to urgent
|
87
|
-
"sys.exit(%s) called (
|
88
|
-
% greenlet.exc_info[1],
|
87
|
+
"sys.exit(%s) called (use log level DEBUG for callstack)" % greenlet.exc_info[1],
|
89
88
|
)
|
90
89
|
logger.log(logging.DEBUG, "Unhandled exception in greenlet: %s", greenlet, exc_info=greenlet.exc_info)
|
91
90
|
else:
|