- 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
推薦閱讀
- Advanced Quantitative Finance with C++
- Data Visualization with D3 4.x Cookbook(Second Edition)
- Learning Cython Programming
- C#完全自學教程
- Mastering QGIS
- Python進階編程:編寫更高效、優雅的Python代碼
- The Computer Vision Workshop
- SQL基礎教程(視頻教學版)
- Java:High-Performance Apps with Java 9
- HTML5 APP開發從入門到精通(微課精編版)
- C# and .NET Core Test Driven Development
- .NET 4.5 Parallel Extensions Cookbook
- Building Slack Bots
- Microsoft Azure Security
- Salt Cookbook