2015-10-12 155 views

回答

0

我的期望是你坐在公司代理人后面。浏览器使用代理连接到互联网,JMeter不会。

如果这是你可以“告诉”的JMeter作为浏览器通过以下命令行参数不使用相同的代理服务器的情况下:

-H, --proxyHost <argument> 
    Set a proxy server for JMeter to use 
-P, --proxyPort <argument> 
    Set proxy server port for JMeter to use 
-N, --nonProxyHosts <argument> 
    Set nonproxy host list (e.g. *.apache.org|localhost) 
-u, --username <argument> 
    Set username for proxy server that JMeter is to use 
-a, --password <argument> 
    Set password for proxy server that JMeter is to use