-
To build the sources you need to have the Builder installed.
-
Clone the repository to your local disc and change to it:
> git clone https://github.com/ElectricImp-CSE/MQTTStressTests.git
> cd MQTTStressTests
-
Retrieve the Azure IoT Hub connection string.
-
Build the sources by running:
pleasebuild src/agent.nut -DIOT_HUB_CONNECTION_STRING "connection string obtained on the previous step" > out.agent.nut
- Copy and paste the contents of
out.agent.nut
to the Agent window in the impCentral IDE and pressBuild and Force Restart
button.
Opens/closes mqtt clients in a loop.
Connects/disconnects the client in a loop.
Simple messaging test.
Simple application test with subscriptions and cloud-to-device messages.
The tests are licensed under the MIT License.