- Performance Testing with JMeter 3(Third Edition)
- Bayo Erinle
- 162字
- 2021-07-02 19:07:10
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
推薦閱讀
- JSP網絡編程(學習筆記)
- 數據庫原理及應用(Access版)第3版
- Power Up Your PowToon Studio Project
- Oracle Database In-Memory(架構與實踐)
- Magento 2 Development Cookbook
- 持續集成與持續交付實戰:用Jenkins、Travis CI和CircleCI構建和發布大規模高質量軟件
- Odoo 10 Implementation Cookbook
- 人工智能算法(卷1):基礎算法
- 大學計算機基礎
- Web前端開發技術:HTML、CSS、JavaScript
- 軟件測試(慕課版)
- Clojure Data Structures and Algorithms Cookbook
- Flutter之旅
- JavaScript語法簡明手冊
- Java Web應用開發