'mqtt stress tools errors
I need to stress test my mqtt server, so i checked this link.
Load testing services for mqtt
- Apache Jmeter with mqtt plugin whenever i have 2 or more threads, it does not publish any messages after 5 or less messages sent. also it doesn't stop. i need to manually stop it.
If i run it with 1 thread with 20 topics to publish and subscribe, it happens same thing.
So i tried 1 thread with 10 topics to publish and subscribe, which means 1 message to each topic for every 1.25 seconds, so total 10 messages for every 1.25 seconds.
it works about 10 minutes. So i set with infinite loop and i found out PC is downed due to overheat. My cooling system is fine.
- MQTT-stresser
Works great. 50 topics to publish and subscribe, 1 message to each topic for every 1ms. But there is a bug if test tool is running for a certain time(very short). so i cannot test it for a long time.
- MQTT Toolbox Cannot even connect to the host if i am using a load test mode. If i set this as a client mode, it can connect well and publishes well. also subscribes well too. I've set protocol as mqtt, Host as 192.168.1.1 or 192.168.1.1:1883, and i tried protocol as tcp too.
My mqtt server seems fine. if i manually test with my hands like making a lot of buttons which sends a message if pressed with Andriod mqtt apps, it works just fine.
I have no idea how to test with a long period. Is my setting value with those tools are wrong? or should i use another tool to test?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
