Required tool for testing MQTT Publisher and MQTT Subscriber

111 views
Skip to first unread message

brijes...@hubblehome.com

unread,
Oct 23, 2015, 8:41:14 AM10/23/15
to MQTT
Hi all.,

I am facing some issues for MQTT testing using J Meter MQTT plugin.
Can anyone please suggest the best tool for MQTT testing.?

Regards,
Brijesh

Sumeet Puri

unread,
Oct 23, 2015, 8:47:50 AM10/23/15
to mq...@googlegroups.com
Hi Brijesh, 

For performance testing, you might find sdkperf for mqtt, which is a command line testing tool from solace systems as an option. It’s based on the Paho client, and allows you to pass command line parameters such as message rate, message size, message number, topic list etc.

You can download it from here

You can find examples and other documentation here:

HTH, 
Sumeet. 


--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at http://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.

Kamil Baczkowicz

unread,
Oct 27, 2015, 1:14:10 PM10/27/15
to MQTT
Hi,

It really depends on what kind of testing you would like to do.

You could consider using mqtt-spy, mqtt-spy-daemon or mqtt.fx - all support scripting with JavaScript to publish or subscribe.

Hope that helps,
Kamil

Phuc Tran

unread,
Oct 29, 2015, 11:25:18 PM10/29/15
to MQTT
Using Poha client by creating thousands threads.

brijes...@hubblehome.com

unread,
Dec 11, 2015, 2:30:49 AM12/11/15
to MQTT
Hi Sumeet,

Can you please tell me the command to run subscriber.?


Regards,
Brijesh

Sumeet Puri

unread,
Dec 11, 2015, 2:02:07 PM12/11/15
to mq...@googlegroups.com
Hi Brijesh, 

Publisher:

./sdkperf_mqtt.sh -cip=192.168.56.102:1883 -cu=default@defaut -ptl=mytopic -mn=1000 -mr=10 -msa=100

Without authentication:
./sdkperf_mqtt.sh -cip=192.168.56.102:1883 -ptl=mytopic -mn=1000 -mr=10 -msa=100


Subscriber:

./sdkperf_mqtt.sh -cip=192.168.56.102:1883 -cu=default@defaut -stl=mytopic -md

Without authentication:
./sdkperf_mqtt.sh -cip=192.168.56.102:1883 -stl=mytopic -md


All in one line, including latency test:
./sdkperf_mqtt.sh -cip=192.168.56.102:1883 -cu=default@defaut -ptl=mytopic  -mn=1000000 -mr=10000 -msa=100 -stl=mytopic -l -lat


You can see a description of all these options and more relevant options here:

Thanks and regards, 
Sumeet. 
Reply all
Reply to author
Forward
0 new messages