
The Advanced HTTP Tester's purpose is to control the logic of sampling web URL's.
進歩したHTTPテスターの目的は、ウェブのURLのサンプルを取るロジックをコントロールすることです。
The GUI for the Advanced HTTP Tester lets you do the following:
進歩したHTTPテスター用のGUIでは、以下のようなことができます:
If you are using forms-based authorization, you will have to manually configure a Test Sample to hit that page with the appropriate arguments. Please be sure to click the "only hit this URL once" checkbox for the Test Sample (so that JMeter doesn't repeatedly sample the authorization page).
もしフォームを使った認証を使っているならば、適当な値を入力するページにアクセスする テストサンプルを手動で設定する必要があります。 (JMeterが繰り返し認証ページのサンプルを取らないように) テストサンプル用に"only hit this URL once (このURLに一度だけアクセスする)"チェックボックスをテストサンプル用にクリックしてください。
Additionally, if you have added a SAX XML parser to your classpath (such as xerces.jar), you will see two additional icons -
for save and load. To save all the test samples, hit save and choose a directory and filename to save to.
さらに、(xerces.jarのような)SAX XMLパーサーがクラスパスに追加されていれば、saveとload用の
二つのアイコンが追加されているのが確認できるでしょう。
すべてのテストサンプルを保存するには、saveをクリックし、保存するディレクトリとファイル名を選択します。
Note:JMeter creates a directory called "testsamples" within the directory you select, and each Test Sample is saved
in an individual file within this created directory. The file you specifically selected is an "script" file that lists all the
Test Samples that it contains - but it simply contains pointers to the individual Test Sample files. This allows you to save large
lists of Test Samples, and still be able to use them separately from each other as you like. Currently, JMeter overwrites files
without warning you, so be careful.
Test Samples available:
注意:JMeterは選択したディレクトリの中に"testsamples"と呼ばれるディレクトリを作ります。
各テストサンプルは、このディレクトリの中に個別のファイルを保存します。
選択したファイルは、中に含まれるテストサンプルのすべてを一覧にした"スクリプト"ファイルです。
しかし、単に各テストサンプルファイルへの参照を持っているだけです。
これにより、たくさんのテストサンプルを保存することができ、好きなようにそれぞれをわけて使うことができます。
現在、JMeterは警告もなくファイルを上書きするので、注意してください。
テストサンプルについては、以下の部分を参照してください:
HTTPBaseTestSample requires the following input:
HTTPベースのテストサンプルは次のような入力が必要です:
Enter after your last entry since it is
possible to enter a value into the table, and then click "OK" with the mouse. Although the value
is saved in the table, JMeter will not see it until you hit Enter. This is a bug.
Enterを忘れずに押し、
マウスで"OK"をクリックしてください。
値が表に保存されても、Enterが押されるまでJMeterはそれを知ることができません。
これはバグです。
It is also possible to enter multiple values for a single argument name. The easiest way to do this is to select a row and then hit the "edit" button. This will pop up a dialog by which you can add as many values as you like to the field. Another way to do it is enter multiple values, each quoted and separated by commas.
一つの名前に対して複数の値を入力することも可能です。 列を選択して、"edit" ボタンを押すのがいちばん簡単です。 こうすると、好きなだけフィールドに追加できるダイアログがポップアップします。 また、複数の値をカンマ区切りで入力してもできます。
If you enter multiple values for a field, JMeter will create separate test entries automatically for each possible combination of name-value pairs. This is a time-saving device. An example of use would be if you wish to test a search script, and you want to test a large number of different search strings. Normally, you would have to create a new test sample for each search term, even though the URL, the method, and all the other arguments are the same across all the test samples. Using this method, however, you only need to create one test sample, and load the search string argument with multiple values.
一つのフィールドに複数の値を入力すると、JMeterは名前-値の考えうる組み合わせの分だけ自動的にテスト項目を作成します。 こうすることで、時間が節約できます。 使い方の例としては、検索スクリプトのテストがしたくて、たくさんの異なる検索文字列を試したい場合が考えられます。 通常、URLやメソッド、他の要素がテストサンプル全体で同じであっても、 検索文字列ごとに新しいテストサンプルを作成しなければいけません。 しかし、この方法を使うと、一つだけテストサンプルを作って、複数の値で検索文字列を読み込むことができます。
If your test sample has multiple values, AND you've selected "Interleave", JMeter will use just one of the combinations to sample each time through the list of test samples (it's not random, they still go in succession). Otherwise, JMeter will do all the combinations each time the test sample comes around.
テストサンプルがたくさんの値を持っていて、しかも"Interleave"を選択していると、 JMeterはテストサンプルのリスト(ランダムではなく、連続しています)の中から毎回サンプルを取る組み合わせのうち一つを使います。 しかし、Jmeterはテストサンプルが変わるたびに、すべての組み合わせを試します。
Copyright (c) 1999 The
Java Apache Project.
$Id: httpsamplercontroller.html,v 1.1.1.1 2003/04/14 11:47:16 ami Exp $
All rights reserved.