locust 2.31.6.dev5__py3-none-any.whl → 2.31.6.dev8__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 CHANGED
@@ -14,7 +14,7 @@ __version_tuple__: VERSION_TUPLE
14
14
  version_tuple: VERSION_TUPLE
15
15
 
16
16
 
17
- __version__ = "2.31.6.dev5"
17
+ __version__ = "2.31.6.dev8"
18
18
  version = __version__
19
- __version_tuple__ = (2, 31, 6, "dev5")
19
+ __version_tuple__ = (2, 31, 6, "dev8")
20
20
  version_tuple = __version_tuple__
locust/argument_parser.py CHANGED
@@ -15,6 +15,7 @@ import tempfile
15
15
  import textwrap
16
16
  from collections import OrderedDict
17
17
  from typing import Any, NamedTuple
18
+ from urllib.parse import urlparse
18
19
  from uuid import uuid4
19
20
 
20
21
  if sys.version_info >= (3, 11):
@@ -159,7 +160,7 @@ def download_locustfile_from_url(url: str) -> str:
159
160
  sys.stderr.write(f"Failed to get locustfile from: {url}. Response is not valid python code.")
160
161
  sys.exit(1)
161
162
 
162
- with open(os.path.join(tempfile.gettempdir(), url.rsplit("/", 1)[-1]), "w") as locustfile:
163
+ with open(os.path.join(tempfile.gettempdir(), urlparse(url).path.split("/")[-1]), "w") as locustfile:
163
164
  locustfile.write(response.text)
164
165
 
165
166
  atexit.register(exit_handler, locustfile.name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: locust
3
- Version: 2.31.6.dev5
3
+ Version: 2.31.6.dev8
4
4
  Summary: Developer-friendly load testing framework
5
5
  Home-page: https://locust.io/
6
6
  License: MIT
@@ -94,7 +94,7 @@ Locust makes it easy to run load tests distributed over multiple machines. It is
94
94
 
95
95
  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.
96
96
 
97
- <img src="docs/images/total_requests_per_second.png" alt="Locust UI charts" width="200"/> <img src="docs/images/webui-running-statistics.png" alt="Locust UI stats" width="200"/> <img src="docs/images/locust_workers.png" alt="Locust UI workers" width="200"/> <img src="docs/images/webui-splash-screenshot.png" alt="Locust UI start test" width="200"/>
97
+ <img src="docs/images/bottlenecked_server.png" alt="Locust UI charts" height="100" width="200"/> <img src="docs/images/webui-running-statistics.png" alt="Locust UI stats" height="100" width="200"/> <img src="docs/images/locust_workers.png" alt="Locust UI workers" height="100" width="200"/> <img src="docs/images/webui-splash-screenshot.png" alt="Locust UI start test" height="100" width="200"/>
98
98
 
99
99
  #### Can test any system
100
100
 
@@ -1,7 +1,7 @@
1
1
  locust/__init__.py,sha256=Jit8eNUrwuMLqavyFvMZr69e61DILq_KB4yT4MciScw,1681
2
2
  locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
3
- locust/_version.py,sha256=u2BjGXqc3Qm3Em4abJTGTpcVjpxNHMpqTxI2oSg8ueI,458
4
- locust/argument_parser.py,sha256=NPdS1TzhN0C6W5Mc0b1lUbQsEhVoTWK4q1-ol1PjPeo,28963
3
+ locust/_version.py,sha256=cInWsj3JMQbCRTK_Z6a3ChPQhBiycyRAYufkHl7fIfU,458
4
+ locust/argument_parser.py,sha256=V0EI7vVvAFLX68ntjRg6qGr2hXSLJgQ0y743zvurwA8,29008
5
5
  locust/clients.py,sha256=OUc6N965Ip5HsRVt1GhnxCP_m9bgnLoredUHTHmyodc,19479
6
6
  locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  locust/contrib/fasthttp.py,sha256=fRtFccM6Ky50RhVHmSrv5M_InlkwxXNw94bi-u0zil4,28466
@@ -46,8 +46,8 @@ locust/webui/dist/auth.html,sha256=lFK2hUASKiH4veqEKI8SVpVcv75L07iLgdsx1usfPRo,6
46
46
  locust/webui/dist/index.html,sha256=w1ar7WpzWHSVkgoL5n6IPCOvAgWfmOChoYofr2xsey0,654
47
47
  locust/webui/dist/report.html,sha256=bjpe_eyweJLqLk7REsQOdOPp7e8PoGRajD5P8gIJeNE,1472409
48
48
  poetry.lock,sha256=SYexv51dGkbiljj9e0x0LVzQ0-gxKn31hwhFTO2t298,205000
49
- locust-2.31.6.dev5.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
50
- locust-2.31.6.dev5.dist-info/METADATA,sha256=xFJdedsUzAbz9Eqj6_IACTmIDiOrvh6KozPbHwviMJQ,7678
51
- locust-2.31.6.dev5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
52
- locust-2.31.6.dev5.dist-info/entry_points.txt,sha256=RhIxlLwU_Ae_WjimS5COUDLagdCh6IOMyLtgaQxNmlM,43
53
- locust-2.31.6.dev5.dist-info/RECORD,,
49
+ locust-2.31.6.dev8.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
50
+ locust-2.31.6.dev8.dist-info/METADATA,sha256=oBAH7ITqfjNKZZQ_Uov-YzovKdZpKJ7fqZ9os7Upx_Q,7724
51
+ locust-2.31.6.dev8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
52
+ locust-2.31.6.dev8.dist-info/entry_points.txt,sha256=RhIxlLwU_Ae_WjimS5COUDLagdCh6IOMyLtgaQxNmlM,43
53
+ locust-2.31.6.dev8.dist-info/RECORD,,