gatling-mqtt-protocol | Unofficial MQTT plugin for Gatling load testing framework
kandi X-RAY | gatling-mqtt-protocol Summary
kandi X-RAY | gatling-mqtt-protocol Summary
Gatling-MQTT-Protocol is an unofficial plugin for the Gatling load testing framework. It enables usage and measurement of performances of services using MQTT pub/sub protocol. The plugin provides gatling actions corresponding to the high level commands of the MQTT protocol. This allows better measurement of the MQTT server performance, and customizable scenario.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gatling-mqtt-protocol
gatling-mqtt-protocol Key Features
gatling-mqtt-protocol Examples and Code Snippets
Community Discussions
Trending Discussions on gatling-mqtt-protocol
QUESTION
I am trying to do a data generator using Gatling and a scala pluging(https://github.com/jeanadrien/gatling-mqtt-protocol). The data generated include a date.
Here is the relevant code :
...ANSWER
Answered 2020-Sep-02 at 21:23If you have to use the Calender API then you can follow the answer by @Arvind but I suggest that you move to newer date time API.
Setting timezone on formatter is useful only for temporals which lack timezone information. For timezone aware temporals you will need to convert them to required timezone.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gatling-mqtt-protocol
Checkout the code, and build the plugin using sbt
Copy the generated jar into the Gatling library directory
Gatling-MQTT-Protocol plugin provides a protocol configuration and multiple actions to build a Gatling simulation. The above Scenario connects up to 5000 MQTT clients to your localhost MQTT server at a rate of 500 clients per minute. Each connected client subscribes to myTopic and then issues one PUBLISH command on that same myTopic topic each second. Therefore, the resulting performance test ramps up from 0 to 300k PUBLISH rpm.
Import the following packages into your Simulation file
Configure the MQTT Client.
Define your Scenario in your simulation file using provided actions.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page