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

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
主站蜘蛛池模板: 台州市| 都匀市| 兴山县| 吴忠市| 榕江县| 汉川市| 姚安县| 武城县| 沐川县| 新干县| 巩义市| 年辖:市辖区| 永胜县| 汉阴县| 彝良县| 平利县| 买车| 通州区| 邵阳县| 页游| 库尔勒市| 南城县| 聂拉木县| 德江县| 镇宁| 江门市| 当雄县| 新宾| 昂仁县| 武宁县| 闽清县| 刚察县| 奉贤区| 进贤县| 五莲县| 岚皋县| 即墨市| 韩城市| 祁东县| 织金县| 绵竹市|