2013/07/29

JMeter プロキシ環境 no-uiなど

JMeterを使用するマシンがプロキシ環境下にある場合はJMeterの起動時に以下のパラメータを追加する。

-H:プロキシのホスト名またはIPアドレス
 -P:プロキシのポート番号
 -u:プロキシ認証ユーザー名
 -a:プロキシ認証パスワード

例)プロキシサーバ「proxy_hoge.com」、プロキシポート番号「8080」の場合、下記のように実行する。
 jmeter.bat -H proxy_hoge.com -P 8080


★Use JMeter in non-GUI mode

   Find where you installed JMeter through command line or the terminal
   Set the ‘bin’ directory as your current directory
   Run ‘jmeter –n –t <location of script>.jmx
   That’s it, when your test is complete you can do your analysis. You may be interested in seeing how your test is performing  during execution in command line/terminal (rather than seeing a black window), to do this just uncomment the following within the JMeter properties file (remove the ‘#’):
・・JMeter properties file
#summariser.name=summary
#summariser.interval=180
#summariser.out=true
#summariser.file=true