Skip to content

Running Jmeter tests on secure messaging

Emilio Ward edited this page Aug 30, 2017 · 3 revisions

Guide on how to setup and run the Jmeter scripts for secure messaging

Download Jmeter (Note - this is all for MacOS)

Download the desired JMeter binary - "apache-jmeter-3.0.tgz" or "apache-jmeter-3.0.zip" from Binaries section of http://jmeter.apache.org/download_jmeter.cgi.

Extract the binary to a directory where we want JMeter to be installed.

Now we can run JMeter by launching the ApacheJMeter.Jar file or by running “jmeter” from terminal.

Running the test script

Download the jmeter-tests folder to a location on your computer. Then open the Jmeter script either sm-jmeter-test-script-FROM-BRES.jmx or sm-jmeter-test-script.jmx depending on what test you want to run (file -> open). This should then load up all the threads needed.

The number of users can be configured within the thread group settings, simply edit the number of thread (users) option.

You'll have to point the messagedata to the correct location on your file directory in the jmeter script so that the test can use the CSV file for loading the data into the test.

You’re then ready to run the test by clicking the play button. Results can be viewed in the view results tree & summary report section below the threads in the left hand column.