About

Documentation

Community

JMeter over RMI

In most real world web application environments the machine running the web application is not the machine which is sitting on your desk. However to get a true estimate of performance you would like to be measuring the true response time of your server, not any (highly variable) network bottle-necks that might exist between you and the machine on which your web application is running. At the same time using a GUI especially a Java GUI over the network is at best painful (using Un*x and X) and at times not possible (using windows).

To solve this problem JMeter provides a client-server architecture for load and performance testing which allows the JMeterEngine (the tester) to reside and run on your application server while the configuration GUI and visualization executes on the development machine. This offers a number of features:

  • True performance measurment without network bottlenecks
  • Fast responsive GUI
  • Saving of test samples to a local machine
  • Managment of multiple JMeterEngines from a single machine


Running the JMeter engine on the server

Follow the instructions for installing JMeter. Once JMeter is sucessfully installed you will need to put the .../JMeter1.6/bin/ApacheJMeter.jar into your CLASSPATH environment variable and execute rmiregistry . Once the RMI registry is started you will need to start the actual JMeterServer. To do this run the jmeter-server (Un*x) or jmeter-server.bat script (windows) to start the server. Your server should now be started, to test it follow the instructions for running the JMeter client.


Running the JMeter client

Once JMeter is sucessfully installed you need to modify the jmeter.properties file in the bin directory. Change the remote_hosts property to include the address of your server. Next run jmeter (Un*x) or jmeter.bat (windows) to connect to the JMeter Engine. If everything works as planned you will be connected with the JMeter Engine and JMeter will behave exactly as if you were running it all locally. See the user manual for detailed instructions.



Copyright © 1999-2001, Apache Software Foundation