You are on page 1of 1

Jmeter Distributed:

Setting up SSL:
http://jmeter.apache.org/usermanual/remote-test.html#setup_ssl

- Since JMeter 4.0 the default transport mechanism for RMI will use SSL. SSL needs keys and certificates to
work. You will have to create those keys yourself.
- Generate the rmi_keystore.jks file
- Copy the generated rmi_keystore.jks to jmeter/bin folder or reference it in property
'server.rmi.ssl.keystore.file'
- Copy the file bin/rmi_keystore.jks to every JMeter server and client you want to use for your distributed
testing setup.

$ cd jmeter/bin
$ ./create-rmi-keystore.sh
What is your first and last name?
[Unknown]: John
What is the name of your organizational unit?
[Unknown]: TestUnit
What is the name of your organization?
[Unknown]: TestCompany
What is the name of your City or Locality?
[Unknown]: TestCity
What is the name of your State or Province?
[Unknown]: TestState
What is the two-letter country code for this unit?
[Unknown]: XY
Is CN= John, OU= TestUnit, O= TestCompany, L= TestCity, ST= TestState, C= XY correct?
[no]: Yes

Setting up jmeter.properties:
In jmeter.properties file find the RMI configuration and in ‘remote_hosts’ enter the IP Address of the client
(slave) machine separated by comma.

#---------------------------------------------------------------------------
# Remote hosts and RMI configuration
#---------------------------------------------------------------------------
# Remote Hosts - comma delimited
remote_hosts=192.168.20.20,192.168.20.14
#remote_hosts=localhost:1099,localhost:2010

Starting jmeter-server:
- On Master machine start jmeter-server. Make sure no error has been displayed while started server.
- On Slave machine start jmeter-server. No need to start Jmeter GUI.

Run jmeter script on all remore machine:


- From Master Jmeter, run the desired script on all remote machines

You might also like