Search code examples
jmeterperformance-testingdistributedjmeter-4.0

JMeter 4.0 Unable to perform distributed testing after disabling (server.rmi.ssl.disable)


Steps I performed:

  1. In Master as well as in Slave : In jmeter.properties file configured server.rmi.ssl.disable=true and uncommented it.

  2. Master as well as in Slave : In jmeter.properties file uncommented server.rmi.ssl.keystore.password=changeit

  3. Restarted Master as well as Slave.

  4. Ran jmeter-server.bat file on slave.

  5. Case A: From Master ran Slave(172.XX.XX.XX) from GUI.

    Case B: Path of bin folder>jmeter -n -t <Path of .jmx file> -R 172.XX.XX.XX -l E:<Path of Result file> -Gusers=1000 -Grampup=100

Execution result:

Case A: Test Starts on Slave and finishes as well but in the Result file there is no Data found.

Case B: Created the tree successfully using < Path of .jmx file >.jmx

Configuring remote engine: 172.XX.XX.XX
Starting remote engines
Starting the test @ Wed Oct 24 22:47:55 IST 2018 (1540401475258)
Remote engines have been started
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
summary =      0 in 00:00:00 = ******/s Avg:     0 Min: 9223372036854775807 Max: -9223372036854775808 Err:     0 (0.00%)
Tidying up remote @ Wed Oct 24 22:48:05 IST 2018 (1540401485415)
... end of run

Also, result file gets generated but there no Data in it.

Note: 1. Master and Slave are in same subnet.

  1. Master : java version "1.8.0_151"

    Java(TM) SE Runtime Environment (build 1.8.0_151-b12)

    Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

  2. Slave : java version "1.8.0_161"

    Java(TM) SE Runtime Environment (build 1.8.0_161-b12)

    Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

  3. I am testing web application(HTTPS) application.

Can anyone help me on this please, I’m I doing any mistake while configurations.


Solution

  • First you should always run server and client with same version of Java, that’s not the case here.

    Second, if by Data is empty, you mean Reponse Data is empty then it is the expected behavior, in distributed testing, jmeter strips response data for performances , but you’ll have other informations like metrics, error status...

    Finally, if issue persists show:

    • jmeter-server.log
    • jmeter.log
    • output of client and server