locust 2.37.1.dev4__py3-none-any.whl → 2.37.2.dev3__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
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '2.37.1.dev4'
21
- __version_tuple__ = version_tuple = (2, 37, 1, 'dev4')
20
+ __version__ = version = '2.37.2.dev3'
21
+ __version_tuple__ = version_tuple = (2, 37, 2, 'dev3')
locust/argument_parser.py CHANGED
@@ -773,12 +773,6 @@ Typically ONLY these options (and --locustfile) need to be specified on workers,
773
773
  action="store_true",
774
774
  help="Prints the final stats in JSON format to stdout. Useful for parsing the results in other programs/scripts. Use together with --headless and --skip-log for an output only with the json data.",
775
775
  )
776
- stats_group.add_argument(
777
- "--json-file",
778
- metavar="<filename>",
779
- dest="json_file",
780
- help="Prints the final stats in JSON format to file path specified.",
781
- )
782
776
 
783
777
  log_group = parser.add_argument_group("Logging options")
784
778
  log_group.add_argument(
locust/input_events.py CHANGED
@@ -99,9 +99,8 @@ def input_listener(key_to_func_map: dict[str, Callable]):
99
99
  def input_listener_func():
100
100
  try:
101
101
  poller = get_poller()
102
- except InitError:
103
- # This is a bit chatty, even for debug. Uncomment it if you're having problems with keyboard events
104
- # logging.debug(e)
102
+ except InitError as e:
103
+ logging.debug(e)
105
104
  return
106
105
 
107
106
  try:
locust/main.py CHANGED
@@ -640,8 +640,6 @@ See https://github.com/locustio/locust/wiki/Installation#increasing-maximum-numb
640
640
  runner.quit()
641
641
  if options.json:
642
642
  stats.print_stats_json(runner.stats)
643
- if options.json_file:
644
- stats.save_stats_json(runner.stats, options.json_file)
645
643
  elif not isinstance(runner, locust.runners.WorkerRunner):
646
644
  stats.print_stats(runner.stats, current=False)
647
645
  stats.print_percentile_stats(runner.stats)
locust/stats.py CHANGED
@@ -820,11 +820,6 @@ def print_stats_json(stats: RequestStats) -> None:
820
820
  print(json.dumps(stats.serialize_stats(), indent=4))
821
821
 
822
822
 
823
- def save_stats_json(stats: RequestStats, filename: str) -> None:
824
- with open(f"{filename}.json", "w") as file:
825
- json.dump(stats.serialize_stats(), file, indent=4)
826
-
827
-
828
823
  def get_stats_summary(stats: RequestStats, current=True) -> list[str]:
829
824
  """
830
825
  stats summary will be returned as list of string
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust
3
- Version: 2.37.1.dev4
3
+ Version: 2.37.2.dev3
4
4
  Summary: Developer-friendly load testing framework
5
5
  Project-URL: homepage, https://locust.io/
6
6
  Project-URL: repository, https://github.com/locustio/locust
@@ -1,7 +1,7 @@
1
1
  locust/__init__.py,sha256=aWeuBPUxONjwNm1xp4v8L4BO14SuYLjscIiwJVX1Ui4,1746
2
2
  locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
3
- locust/_version.py,sha256=kydZjgfqHjd7kK7FIvjtm-gj37ugsSWsWgXnT-yLTLo,526
4
- locust/argument_parser.py,sha256=ImwORtwFDe0qHP2r8kI-g0i0fbJJ8IG21hniq69kVHY,33383
3
+ locust/_version.py,sha256=KYKWyIkrYZITIPSyEpHOupU30IM2R-oO_BRAAkyQS_M,526
4
+ locust/argument_parser.py,sha256=JDZftZ1sGknDXzYy-UrGndX7mGJUMhEjvruRjQjbNM4,33190
5
5
  locust/clients.py,sha256=o-277lWQdpmPnoRTdf3IQVNPQT8LMFDtPtuxbLHQIIs,19286
6
6
  locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
7
7
  locust/dispatch.py,sha256=prdwtb9EoN4A9klgiKgWuwQmvFB8hEuFHOK6ot62AJI,16202
@@ -9,13 +9,13 @@ locust/env.py,sha256=PypNHmEFBhGBk9dU6pZ2cL5L0TThYejaGWW16RO3ZNQ,13203
9
9
  locust/event.py,sha256=AWoeG2q11Vpupv1eW9Rf2N0EI4dDDAldKe6zY1ajC7I,8717
10
10
  locust/exception.py,sha256=jGgJ32ubuf4pWdlaVOkbh2Y0LlG0_DHi-lv3ib8ppOE,1791
11
11
  locust/html.py,sha256=VjoAEZEolJ8il4HLACBlVA81Qk36fBwlDj_7ojAEFss,4132
12
- locust/input_events.py,sha256=rg03YZ-6Up4E3bc9mXgBuPGrdiOb-oPoXpN7so2ltNU,3432
12
+ locust/input_events.py,sha256=lqLDB2Ax-OQ7-vtYNkGjySjfaWVobBzqf0GxRwjcLcQ,3323
13
13
  locust/log.py,sha256=5E2ZUOa3V4sfCqa-470Gle1Ik9L5nxYitsjEB9tRwE0,3455
14
- locust/main.py,sha256=4gAGnHbaAUaPcEiImLuoyLeZ6LxNGL1cGWLET3e8h8Y,28271
14
+ locust/main.py,sha256=wY0FexiakPzK1oR4VbSzCQn3ARPsKZHWmhrObR9JWSI,28174
15
15
  locust/py.typed,sha256=gkWLl8yD4mIZnNYYAIRM8g9VarLvWmTAFeUfEbxJLBw,65
16
16
  locust/runners.py,sha256=niYmGsfOpxMfVmTXGod4MYTefpaZ2wirFlhqxRw5mq4,70617
17
17
  locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
18
- locust/stats.py,sha256=1BDBENgh8iFw20boDP_xEV6PxlQqdJwKnRAe4K3YyfA,47438
18
+ locust/stats.py,sha256=D2iJ7Ei1Z_e3cF5n8TdSstpewZytnSmstTjxr5c9uNw,47264
19
19
  locust/web.py,sha256=I4xHIHq34F7AY-KXs9NfQ3vTqN6QX4O74KBkTUpNkhs,30471
20
20
  locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  locust/contrib/fasthttp.py,sha256=BCuKG0qpBIhXdejjPSbAMSaSd6piJtuLdx96_LWbIgI,29349
@@ -51,8 +51,8 @@ locust/webui/dist/assets/graphs-light.png,sha256=7L6pOehXqCojQclzeP91l-LskFQAw_n
51
51
  locust/webui/dist/assets/index-OsbNSvrF.js,sha256=7HLGlI9Pmknt3Nqf2hfZG7drC0jyMPi9Z5-x21F_4e8,1721633
52
52
  locust/webui/dist/assets/testruns-dark.png,sha256=np6MvpgJ2gkKQ66SOmukLtjsMtHqTSr5dNfza-2XtCo,267621
53
53
  locust/webui/dist/assets/testruns-light.png,sha256=iLAxBZh3kRsfGkcB1-1KSAbFgGji43IqiUrYuJlUoPk,276839
54
- locust-2.37.1.dev4.dist-info/METADATA,sha256=UTzLJDgOXAHibIZg9PsvpbbiE-GJee-x0An1l6DEjaU,9403
55
- locust-2.37.1.dev4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
56
- locust-2.37.1.dev4.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
57
- locust-2.37.1.dev4.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
58
- locust-2.37.1.dev4.dist-info/RECORD,,
54
+ locust-2.37.2.dev3.dist-info/METADATA,sha256=01dgaXXpgk7sGW3zGWdNDkJFYbR-76SbI4dL-gq3XIA,9403
55
+ locust-2.37.2.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
56
+ locust-2.37.2.dev3.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
57
+ locust-2.37.2.dev3.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
58
+ locust-2.37.2.dev3.dist-info/RECORD,,