We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca09516 + dae7a5f commit 9bda566Copy full SHA for 9bda566
locust/contrib/mqtt.py
@@ -101,7 +101,7 @@ def __init__(
101
if not client_id:
102
client_id = f"locust-{_generate_random_id(16)}"
103
104
- super().__init__(*args, **kwargs)
+ super().__init__(*args, client_id=client_id, protocol=protocol, **kwargs)
105
self.environment = environment
106
# we need to set client_id in case the broker assigns one to us
107
self.client_id = client_id
0 commit comments