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

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
主站蜘蛛池模板: 建湖县| 泸州市| 宁晋县| 凉城县| 永州市| 营口市| 东城区| 高青县| 来安县| 当涂县| 澄城县| 抚州市| 隆化县| 三原县| 泽库县| 旬邑县| 铜川市| 宁河县| 安阳市| 红河县| 舟曲县| 灵丘县| 宝丰县| 镇原县| 漳平市| 平江县| 台北市| 绥滨县| 芮城县| 苏尼特左旗| 阿拉善左旗| 西宁市| 珠海市| 铜陵市| 车险| 黔西| 太保市| 南安市| 保德县| 花垣县| 顺义区|