Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Load testing services for mqtt

We need to make a full stack load testing. And the data journey is starting from mqtt client. Are there any good services to make a load testing for such case?

like image 816
freeze Avatar asked Aug 24 '18 08:08

freeze


People also ask

Does JMeter support MQTT?

JMeter offers the plugin to capture communications over the MQTT protocol. This plugin offers four samplers to JMeter, which provide communication over MQTT: Connect sampler enables a user to initiate an MQTT server connection on behalf of a device.

Can JMeter be used for load testing?

The Apache JMeter is an open-source, purely Java-based software. The software is used to perform performance testing, functional testing, and load testing of web applications. It is used to test load testing functional behavior and measuring performance.


1 Answers

Depending on the number of virtual users you would like to simulate and your budget the options are in:

  • CloudMQTT service which is free for 5 connections and 10 Kbit/s bandwidth
  • Apache JMeter is a free and open source multi-protocol load testing tool. Out of the box JMeter does not support MQTT protocol however there are plugins like:

    • mqtt-jmeter
    • MQTT plugin

    Check out Testing the MQTT Messaging Broker for IoT - A Guide

  • MQTT-Stresser
  • MQTT Toolbox

So feel free to choose one of the above (or other solution), the final choice mostly depends on your project infrastructure and possibility of i of test tool ntegration into your product delivery lifecycle

like image 85
Dmitri T Avatar answered Dec 31 '22 21:12

Dmitri T