Created attachment 37387 [details] jmeter.log First,I have copied the file bin/rmi_keystore.jks to every JMeter server and client I want to use. Then I run the remote test in GUI mode and the test result is successful. When I run in CLI mode, CMD prompts an error, such as jmeter.log : 2020-08-10 15:49:54,226 ERROR o.a.j.u.JMeterUtils: Exception creating connection to: 192.168.28.118; nested exception is: java.io.FileNotFoundException: rmi_keystore.jks
This seems to be a question about the usage of JMeter. Such questions should be asked no the users mailing list. See https://jmeter.apache.org/mail2.html on how to subscribe and send mails. The keystore is located by looking at the JMeter properties server.rmi.ssl.keystore.file=rmi_keystore.jks server.rmi.ssl.truststore.file=rmi_keystore.jks As you can see, they are given relative and when you start JMeter via GUI, I assume, that you are starting JMeter from inside the bin/ folder. That way JMeter finds the keystore, as it is insde the bin/ folder, too. If you start JMeter from the CLI via ./bin/jmeter.sh (or equvialent), you are not in the bin/ folder and JMeter will not find the keystore.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5381