
[英]Response code:Non HTTP response code: org.apache.http.conn.HttpHostConnectException
[英]Response code: Non HTTP response code: org.apache.http.conn.HttpHostConnectException
我正在尝试在jmeter中运行脚本。 但是,我面临以下错误
响应代码:非HTTP响应代码:org.apache.http.conn.HttpHostConnectException
它说,该站点拒绝连接。 但是,我可以手动打开该网站。
请帮忙。
谢谢。
我的期望是您坐在公司代理的后面。 浏览器使用代理连接到Internet,而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
看到
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.