简体   繁体   中英

MQTT-MQ data path load testing

We are implementing a communication system where client (mobile device) sends messages thru MQTT-MQ to the backend systems. I would like to benchmark the load performance of the MQTT-MQ data path.

Could you please recommend if there is any opensource (or commercial) performance test tool which could load test the MQTT-MQ data path.

Try out Apache JMeter , it provides the following test elements:

which should be quite enough to conduct your testing.

Just download appropriate MQ Java client libraries, drop them to JMeter's /lib folder, restart JMeter and you should be able to use the relevant classes to send messages to queues and read them.

See the following reference guides:

Both mqtt-spy and mqtt-spy-daemon support concurrent messaging. You can define a script that sends messages concurrently, or multiple scripts which is normally easier. To have multiple concurrent MQTT clients connected to the broker/server, you can run multiple mqtt-spy connections or multiple mqtt-spy-daemon instances, each having their own configuration and scripts.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM