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

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
主站蜘蛛池模板: 元朗区| 高唐县| 隆昌县| 赞皇县| 都兰县| 凤庆县| 平凉市| 广元市| 曲阜市| 邵阳市| 永定县| 综艺| 金堂县| 舒兰市| 清镇市| 分宜县| 银川市| 凌海市| 炉霍县| 四子王旗| 垫江县| 襄垣县| 莆田市| 河池市| 循化| 蕉岭县| 云霄县| 咸阳市| 舟山市| 大城县| 浙江省| 京山县| 陆川县| 昭通市| 旬阳县| 丹凤县| 三亚市| 沾化县| 浦东新区| 高邮市| 绥棱县|