官术网_书友最值得收藏!

Configuring a proxy server

If you are working from behind a corporate firewall, you may need to configure JMeter to work with it, providing it with the proxy server host and port number.
To do so, supply additional command-line parameters to JMeter when starting
it up. Some of them are as follows:

  • -H: This command-line parameter specifies the proxy server hostname or
    IP address
  • -P: This specifies the proxy server port
  • -u: This specifies the proxy server username if it is secure
  • -a: This specifies the proxy server password if it is secure; consider the following example:
    ./jmeter.sh -H proxy.server -P 7567 -u username -a password

On Windows, run the jmeter.bat file instead.

Do not confuse the proxy server mentioned here with JMeter's built-in HTTP(S) Test Script Recorder, which is used to record HTTP or HTTPS browser sessions. We will be exploring this in the next chapter when we record our first test scenario.

The screen is displayed as follows:

JMeter GUI
主站蜘蛛池模板: 溆浦县| 鹤峰县| 玉树县| 五原县| 泰州市| 海伦市| 得荣县| 洪泽县| 那坡县| 葵青区| 连平县| 宽城| 东安县| 柞水县| 武安市| 泰兴市| 淮北市| 安陆市| 阜新| 手游| 安新县| 辛集市| 同江市| 余江县| 鲁山县| 桐城市| 开封市| 三门峡市| 公安县| 邳州市| 长海县| 天镇县| 滦平县| 琼中| 纳雍县| 纳雍县| 吉安县| 峨边| 广州市| 海盐县| 清水县|