Overview
LoadForge supports MQTT protocol testing via theMqttUser from locust-plugins. You can simulate publishing and subscribing to topics under load, ensuring your broker handles high throughput.
Locust Test Script (locust.py)
Notes:
- Install dependencies:
pip install locust locust-plugins paho-mqttif you wish to test locally. - Ensure your MQTT broker is accessible at the specified
host.