Start JMeter in Server Mode

Profile picture for user devraj

 Server mode is used for distributed testing. This Testing works as client-server model. 

In this model, JMeter runs on server computer in server mode and on client computer, JMeter runs in GUI mode.

By running JMeter remotely, you can replicate a test across many low-end computers and thus simulate a larger load on the server. One instance of the JMeter client can control any number of remote JMeter instances, and collect all the data from them.

After navigating to JMeter directory, Type below command to start JMeter in Server mode:

Windows

C:\apache-jmeter-4.0\bin>jmeter-server.bat

Ubuntu/MacOS

$ ./jmeter-server

If you get below error, follow Setting up SSL in JMeter

Server failed to start: java.rmi.server.ExportException: Listen failed on port:
0; nested exception is:
        java.io.FileNotFoundException: rmi_keystore.jks (The system cannot find
the file specified)
An error occurred: Listen failed on port: 0; nested exception is:
        java.io.FileNotFoundException: rmi_keystore.jks (The system cannot find
the file specified)
errorlevel=1
Tags