Running Apache JMeter

Using system wrappers

Apache JMeter comes with startup scripts to help you run the application. They are located in the directory /bin and are called jmeter for UNIX systems and jmeter.bat for Windows systems. Make sure the file ApacheJMeter.jar and jmeter.properties is located in the same directory and type jmeter [properties file] to start.

Since those scripts assumes you have your classpath already setup and the java interpreter in your path. It this is not the case, setup you Java environment first and edit the script to match your system.

In addition to the standard Java libraries that come with the JRE, you may need to download three other API's:

From the command line

If you don't like script you can use the command line as follows

UNIX: <java interpreterer> <options> -classpath $CLASSPATH:ApacheJMeter.jar org.apache.jmeter.Driver [properties file]
Windows: <java interpreter> <options> -classapth %classpath%;ApacheJMeter.jar org.apache.jmeter.Driver [properties file]

where options are usually not needed.

In case you use the Java 2 platform you can type

java -jar ApacheJMeter.jar

or double click on the file.

Modifying Properties

If you wish to modify the properties with which JMeter runs you need to either modify the jmeter.properties inside of the /bin directory or create your own copy of the jmeter.properties and specify it in the command line (above).

Properties to modify

Copyright (c) 1998-99 The Java Apache Project.
$Id: running.html,v 1.10 2000/09/08 01:57:55 mstover Exp $

All rights reserved.