jmeterをコマンドラインで起動する

jemterをコマンドラインで起動する。

jmeterをコマンドラインで実行しようとするときのオプションをちょいちょい忘れるのでメモ。

 sh apache-jmeter-2.8/bin/jmeter.sh -n -t hogehoge.jmx -l log.jtl

ログファイルに結果が出力されるので、Guiモードで起動してサンプラーで読み込めば結果が確認できる。

お勧めサンプラー

jmeter2.8から追加された以下のサンプラーがお勧め

Response Time Graph

各処理のレスポンスタイムをグラフィカルに表示できます。
response time graph

Aggregate Graph

処理の平均や中間値,90%ラインなどをグラフィカルに表示できます。
Aggregate Graph

これと既存のサンプラーいくつか使えば、ばっちり計測できるはずです。

このエントリーをはてなブックマークに追加
はてなブックマーク - jmeterをコマンドラインで起動する
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Bookmark this on Livedoor Clip
Share on FriendFeed

Leave a Reply

  

  

  

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax