Running Apache JMeter

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.

Apache JMeterには、アプリケーションの実行を手助けするスタートアップスクリプトが付属しています。 /binディレクトリの中に置かれていて、UNIXではjmeter、Windowsではjmeter.batという名前が付いています。 実行するには、ApacheJMeter.jarjmeter.propertiesが同じディレクトリにあることを確認し、 jmeter [プロパティファイル]とタイプします。

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.

このスクリプトは、クラスパスがすでに設定されていて、javaインタープリターがパスに含まれていることを前提とします。 もしそうでなければ、まずJavaの環境を設定し、システムにあうようにスクリプトを編集してください。

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

JREに付属している標準Javaライブラリーに加え、3つのAPIをダウンロードする必要があります:

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]

UNIX: <java インタープリター> <オプション> -classpath $CLASSPATH:ApacheJMeter.jar org.apache.jmeter.Driver [プロパティファイル]
Windows: <java インタープリター> <オプション> -classapth %classpath%;ApacheJMeter.jar org.apache.jmeter.Driver [プロパティファイル]

where options are usually not needed.

オプションは普通必要ありません。

In case you use the Java 2 platform you can type

Java 2プラットフォームを使用している場合、次のようにタイプします

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).

JMeterを実行するときに使用するプロパティを変更したい場合、 /binディレクトリの中にあるjmeter.propertiesを変更するか、 jmeter.propertiesのコピーを作成して、(上記)コマンドラインで指定します。

Properties to modify 変更するプロパティ

Copyright (c) 1998-99 The Java Apache Project.
$Id: running.html,v 1.1.1.1 2003/04/14 11:47:38 ami Exp $

All rights reserved.