在 Jmeter 中添加 --no-check-certificate 到 wget



我正在使用Jmeter访问防火墙后面的https url,并且我正在使用代理。

当我使用 wget 时,我收到错误:

--2014-12-12 16:14:49--  https://xxx.company.com/
Resolving proxy.net... xx.xx.xx.xx
Connecting to proxy.net|xx.xx.xx.xx|:80... connected.
ERROR: certificate common name "yyy.company.COM" doesn't match requested host name "xxx.company.com".
To connect to xxx.company.com insecurely, use '--no-check-certificate'.

使用--no-check-certificate选项后wget工作正常。

但是当我通过 Jmeter 运行wget时,出现连接超时错误。任何人都可以帮助我,我如何使用 Jmeter 中的--no-check-certificate选项。

我正在使用 Jmeter 2.9。

默认情况下,

JMeter 不验证证书,因此您的问题不是您认为的那样。

如果 wget 在 JMeter 中超时的同一台计算机上工作,请检查 JMeter 是否使用相同的代理配置:

看到这个:

  • http://jmeter.apache.org/usermanual/get-started.html#proxy_server

echo "check_certificate = off">> ~/.wgetrc

相关内容

最新更新