JMeter 4 - can't execute jmeter-server in windows 7

To solve issue, you need to follow:

  • http://jmeter.apache.org/usermanual/remote-test.html#setup_ssl

The problem was the answer to first question when executing create-rmi-keystore

What is your first and last name?

I should have answered rmi as it the default value in JMeter's property server.rmi.ssl.keystore.alias

Also (difference from JMeter 3.3) I needed to change JMeter's property remote_hosts so that it uses my host name (change from 127.0.0.1)

This is related to :

  • https://bz.apache.org/bugzilla/show_bug.cgi?id=62039

Had the same problem.

To solve it you have several options:

  1. Set rmi-keystore password to changeit, as described in jmeter.properties:

    Password of Trust store
    server.rmi.ssl.truststore.password=changeit

  2. If using custom password - add it to user.properties on jmeter-server machine

  3. Disable SSL by passing -Jserver.rmi.ssl.disable=true


What worked for me (with JMeter 5.0) was an dedicated jmeter-server.properties file with this configurations:

# Type of keystore : JKS
server.rmi.ssl.keystore.type=JKS
#
# Keystore file that contains private key
server.rmi.ssl.keystore.file=rmi_keystore.jks
#
# Password of Keystore
server.rmi.ssl.keystore.password=changeit
#
# Key alias
server.rmi.ssl.keystore.alias=rmi
#
# Type of truststore : JKS
server.rmi.ssl.truststore.type=JKS
#
# Keystore file that contains certificate
server.rmi.ssl.truststore.file=rmi_keystore.jks
#
# Password of Trust store
server.rmi.ssl.truststore.password=changeit

I created a rmi_keystore.jks file with the create-rmi-keystore command in the JMeter bin folder. Then I started my server with jmeter-server -Gjmeter-server.properties. Also check then the log from the server to get the endpoint to connect your client with the server as user7294900 suggested.

Created remote object: UnicastServerRef2 [liveRef: [endpoint:[<this is your server>