/performance-tests-tb

Thingsboard Performance Test

Primary LanguageJavaApache License 2.0Apache-2.0

performance-tests

Thingsboard performance tests

Project that is able to stress test Thingsboard server with a huge number of MQTT messages published simultaneously from different devices.

To run test againt Thingsboard first modify src/main/resources/test.properties file and set correct values for testing params:

  • restUrl=http://localhost:8080 // REST Thingsboard URL
  • mqttUrls=tcp://localhost:1883 // MQTT Thingsboard URL
  • deviceCount=20000 // Number of devices to publish MQTT messages to
  • publishTelemetryCount=60 // Count of published messages
  • publishTelemetryPause=1000 // Puuse between sending messages
  • username=tenant@thingsboard.org
  • password=tenant

Once params are configured to run test simple type from the root folder:

mvn clean install gatling:execute