Skip to content

Commit

Permalink
add changes to README file
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeaulie committed Jan 8, 2016
1 parent b09c288 commit 74bd57c
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mqtt-jmeter

# Introduction

This project is a JMeter plugin for MQTT(Message Queuing Telemetry Transport) protocol. The plugin uses Eclipse Paho MQTT client(0.4.0) for the subscriber and publisher. This is still an ongoing project.
This project is a JMeter plugin for MQTT(Message Queuing Telemetry Transport) protocol. The plugin uses Eclipse Paho MQTT client(1.0.2) for the subscriber and publisher.

# How to install MQTT plugin in JMeter

Expand All @@ -12,19 +12,27 @@ Get the source code, go to mqtt-jmeter folder and and use the command maven in t

mvn clean install

Once its done, go to the target folder and run the following command in cmd/terminal with the path to JMeter. Example :
Once its done, go to the target folder and run the following command in terminal with the path to JMeter. Ex :

./installer.sh ~/Documents/wso2/mb/clients/apache-jmeter-2.13/

Or

installer.bat C:\apache-jmeter-2.13

This would do the following tasks...
* Copies the **mqtt-jmeter.jar** from the **target** folder to **lib/ext** folder of JMeter.
* Updates the file messages.properties in the folder :/org/apache/jmeter/resources/
in **ApacheJMeter_core.jar** by new file messages.properties.

Regards,
Hemika


# Pull request sbeaulie
Modified the code to enable a connection to the AWS IoT MQTT broker
-Update dependency to <eclipse.paho.mqtt.version>1.0.2</eclipse.paho.mqtt.version>
-Allow for blank username and password in publisher and subscriber
-Added clean session checkbox in publisher gui instead of hard coded false

Note: AWS IoT needs you to use qos=1, isRetained = false, Clean session = true, username and password blank
You also need to load the certificates and keys in the JVM, scope is outside of this document

other minor changes:
-Fix a NPE with the Util UUID generator substring method
-set the Sampler label name in the response sampler for nicer display in View Result Tree Listeners

0 comments on commit 74bd57c

Please # to comment.