About Documentation Community | | 3. Building a Test Plan テストプランの作成 |
A test plan describes a series of steps JMeter will execute when run. A complete
test plan will consisted of one or more Thread Groups, logic conrollers, sample generating
controllers, listeners, timers, assertions, and configuration elements.
テストプランはJMeterが実行する一連のステップを示します。
完全なテストプランは一つ以上のスレッドグループ、ロジックコントローラー、
サンプル発生コントローラー、リスナー、タイマー、アサーション、設定要素から構成されます。
| 3.1 Adding and Removing Elements 要素の追加と削除 |
Adding elements to a test plan can be done by right-clicking on an element in the
tree, and choosing a new element from the "add" list. Alternatively, elements can
be loaded from file and added by choosing the "open" option.
ツリー上の要素を右クリックし、"追加"リストから追加したい要素を選択することで
テストプランの要素の追加ができます。
あるいは、"開く"でファイルを選択しファイルからロードすることもできます。
Every element will only allow you to add appropriate types of elements.
全ての要素について、適切なタイプの要素の追加だけが許可されます。
To remove an element, make sure the element is selected, right-click on the element,
and choose the "remove" option.
要素を削除するには、その要素を選択して右クリックし、"削除"を選択してください。
|
| 3.2 Loading and Saving Elements 要素のロードと保存 |
To load an element from file, right click on the existing tree element to which
you want to add the loaded element, and select the "open" option. Choose the file where
your elements are saved. JMeter will load the elements into the tree.
要素をファイルからロードするには、
ツリー上の追加したい要素を右クリックし"開く"を選択してください。
要素が保存されているファイルを選択すると、ツリー上に要素がロードされます。
To save tree elements, right click on an element and choose the "save" option.
JMeter will save the element selected, plus all child elements beneath it. In this way,
you can save test tree fragments, individual elements, or the entire test plan.
ツリーの要素を保存するには、要素を右クリックし"保存"を選択してください。
選択された要素とその配下の子要素が全て保存されます。
このようにして、ツリーの断片や個々の要素、
あるいはテストプラン全体を保存することができます。
|
| 3.3 Configuring Tree Elements ツリーの要素を設定する |
Any element in the test tree will present controls in JMeter's right-hand frame. These
controls allow you to configure the behavior of that particular test element. What can be
configured for an element depends on what type of element it is.
テストツリー上の要素のコントロールがJMeterの右側のフレームに表示されます。
このコントロールからそのテスト要素の挙動を設定できます。
要素の種類によって設定できることが違います。
|
| 3.4 Running a Test Plan テストプランを実行する |
To run your test plan, choose "start" from the "run" menu item. To stop your test
plan, choose "stop" from the same menu. JMeter does not automatically give any
indication of whether it is currently running. Some listeners make it obvious if
JMeter is running, but the only way to be sure is to check the "run" menu. If "start"
is disabled, and "stop" is enabled, JMeter is running your test plan (or, at least, it
thinks it is).
テストを実行するには、メニューの"実行"から"開始"を選択してください。
テストを停止するには、同じメニューから"停止"を選択してください。
JMeterはいま実行中かどうかを自動的に明示することはありません。
いくつかのリスナーはJMeterが実行中であることを明示しますが、
確実なのは"実行"メニューをチェックすることです。
もし"開始"が選択不可能で"停止"が選択可能であれば、
JMeterはテストプランを実行中です(あるいは少なくともそう考えられます)。
|
|
|