- 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
推薦閱讀
- 基于粒計(jì)算模型的圖像處理
- JavaScript高效圖形編程
- JavaScript 網(wǎng)頁編程從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開發(fā)視頻大講堂)
- 人人都懂設(shè)計(jì)模式:從生活中領(lǐng)悟設(shè)計(jì)模式(Python實(shí)現(xiàn))
- 名師講壇:Spring實(shí)戰(zhàn)開發(fā)(Redis+SpringDataJPA+SpringMVC+SpringSecurity)
- ElasticSearch Cookbook(Second Edition)
- 智能手機(jī)APP UI設(shè)計(jì)與應(yīng)用任務(wù)教程
- Django 3.0入門與實(shí)踐
- Spring MVC+MyBatis開發(fā)從入門到項(xiàng)目實(shí)踐(超值版)
- Python機(jī)器學(xué)習(xí)算法與應(yīng)用
- Python青少年趣味編程
- Mastering Gephi Network Visualization
- QlikView Unlocked
- .NET 4.0面向?qū)ο缶幊搪劊簯?yīng)用篇
- Python Projects for Kids