- 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
推薦閱讀
- 程序員面試白皮書
- C語言程序設計實訓教程
- OpenNI Cookbook
- 面向對象程序設計(Java版)
- Hands-On GPU:Accelerated Computer Vision with OpenCV and CUDA
- Building RESTful Python Web Services
- JBoss:Developer's Guide
- Illustrator CC平面設計實戰從入門到精通(視頻自學全彩版)
- 零基礎學Python編程(少兒趣味版)
- 深入解析Java編譯器:源碼剖析與實例詳解
- 貫通Tomcat開發
- IPython Interactive Computing and Visualization Cookbook
- Qt 4開發實踐
- 超好玩的Scratch 3.5少兒編程
- Instant GLEW