locust 2.41.7.dev15__py3-none-any.whl → 2.41.7.dev16__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
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '2.41.7.dev15'
32
- __version_tuple__ = version_tuple = (2, 41, 7, 'dev15')
31
+ __version__ = version = '2.41.7.dev16'
32
+ __version_tuple__ = version_tuple = (2, 41, 7, 'dev16')
33
33
 
34
34
  __commit_id__ = commit_id = None
locust/contrib/dns.py CHANGED
@@ -43,8 +43,20 @@ class DNSClient:
43
43
 
44
44
 
45
45
  class DNSUser(User):
46
+ """
47
+ DNSUser provides a locust client class for dnspython's dns.query methods.
48
+ See example in :gh:`examples/dns_ex.py`.
49
+ """
50
+
46
51
  abstract = True
47
52
 
48
53
  def __init__(self, environment):
49
54
  super().__init__(environment)
50
55
  self.client = DNSClient(environment.events.request)
56
+ """
57
+ Example (inside task method)::
58
+
59
+ message = dns.message.make_query("example.com", dns.rdatatype.A)
60
+ self.client.udp(message, "1.1.1.1")
61
+ self.client.https(message, "1.1.1.1")
62
+ """
@@ -434,7 +434,7 @@ class FastHttpUser(User):
434
434
  proxy_port=self.proxy_port,
435
435
  )
436
436
  """
437
- Instance of HttpSession that is created upon instantiation of User.
437
+ Instance of FastHttpSession that is created upon instantiation of User.
438
438
  The client support cookies, and therefore keeps the session between HTTP requests.
439
439
  """
440
440
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust
3
- Version: 2.41.7.dev15
3
+ Version: 2.41.7.dev16
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,6 +1,6 @@
1
1
  locust/__init__.py,sha256=HadpgGidiyCDPSKwkxrk1Qw6eB7dTmftNJVftuJzAiw,1876
2
2
  locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
3
- locust/_version.py,sha256=qLPaYg_32RFaPKRA1dGI1mN5pWFXEBW6OQs_fd4yxGM,721
3
+ locust/_version.py,sha256=9fEKRtIU-7J3RJMrUVrpEjf9qKPOqjgipB1ODdkHhT4,721
4
4
  locust/argument_parser.py,sha256=E0HM9jOlKCzPM9S_E_UKSwgiF_CL0aIli5eCcOG8Xac,33547
5
5
  locust/clients.py,sha256=OfMTOT3LwijczdL3u6bpDwDNM2TDcPCIwXBelizPOyw,20776
6
6
  locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
@@ -18,8 +18,8 @@ locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
18
18
  locust/stats.py,sha256=qyoSKT0i7RunLDj5pMGqizK1Sp8bcqUsXwh2m4_DpR8,47203
19
19
  locust/web.py,sha256=pLYuocmx9gifJ4vsVDgGDYIPkQhQxI7kKjxoXcUajqM,31865
20
20
  locust/contrib/__init__.py,sha256=LtZN7MczpIAbZkN7PT2h8W2wgb9nBl6cDXbFCVsV4fo,290
21
- locust/contrib/dns.py,sha256=dL36S4dwqQkrQOcy2_2OuGOPPzAljS9-nIswTZN7Adw,1665
22
- locust/contrib/fasthttp.py,sha256=vuHo6EFzSHJgr5SoYf_11Mu-ApnC0mz3hOU6TzQnioI,31145
21
+ locust/contrib/dns.py,sha256=hzVnEnfwyLh4dZyF69zMFwgV4rLk9dg2GLXl9srSd-k,2044
22
+ locust/contrib/fasthttp.py,sha256=MpvGh8TSnV7SW4TrO559UgXfDB312g7o14ewRumvvSI,31149
23
23
  locust/contrib/milvus.py,sha256=ebOIVo6-rO3hnAMPKzMyof5MQd7kxOZFMkBNZYOluYk,13015
24
24
  locust/contrib/mongodb.py,sha256=1seUYgJOaNKwybYOP9PUEVhgl8hGy-G33f8lFj3R8W8,1246
25
25
  locust/contrib/mqtt.py,sha256=qwhM7xVYCBYifUSSxG_xH6rh5jUf6l17Rw_T5e0ZJK4,15800
@@ -58,8 +58,8 @@ locust/webui/dist/assets/terminal.gif,sha256=iw80LO2u0dnf4wpGfFJZauBeKTcSpw9iUfI
58
58
  locust/webui/dist/assets/testruns-dark.png,sha256=G4p2VZSBuuqF4neqUaPSshIp5OKQJ_Bvb69Luj6XuVs,125231
59
59
  locust/webui/dist/assets/testruns-light.png,sha256=JinGDiiBPOkhpfF-XCbmQqhRInqItrjrBTLKt5MlqVI,130301
60
60
  pytest_locust/plugin.py,sha256=3jr_5H_1SHCJTdQdgnTDJ-09r5jXzNKxJPkocfE9HF4,1669
61
- locust-2.41.7.dev15.dist-info/METADATA,sha256=5qt_j1Sd1EB-xNVdzyvDA9owiwdgj2oz2KCsLjAcF38,9852
62
- locust-2.41.7.dev15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
63
- locust-2.41.7.dev15.dist-info/entry_points.txt,sha256=0uIHcQ71R1qaWhM_sd8uBUCCJgp7gJfGHUVMnJeZfcY,86
64
- locust-2.41.7.dev15.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
65
- locust-2.41.7.dev15.dist-info/RECORD,,
61
+ locust-2.41.7.dev16.dist-info/METADATA,sha256=3YJv-CZ4W5k6u8gpJ-f1RTfA3yrhY_34zwfQWO5-2DE,9852
62
+ locust-2.41.7.dev16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
63
+ locust-2.41.7.dev16.dist-info/entry_points.txt,sha256=0uIHcQ71R1qaWhM_sd8uBUCCJgp7gJfGHUVMnJeZfcY,86
64
+ locust-2.41.7.dev16.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
65
+ locust-2.41.7.dev16.dist-info/RECORD,,