报错内容:
Non HTTP response code: org.apache.http.conn.HttpHostConnectException/Non HTTP response message: Connect to 202.104.140.220:9001 [\/202.104.140.220] failed: Connection timed out (Connection timed out)
linux下执行jmeter脚本报错如下:
Non HTTP response code: org.apache.http.conn.HttpHostConnectException/Non HTTP response message: Connect to test-copd.medciot.com:443 [test-copd.medciot.com\/202.104.140.220] failed: Connection timed out (Connection timed out)。
原因分析:
test-copd.medciot.com 连不上
没做hosts绑定文章来源:https://www.toymoban.com/news/detail-686526.html
解决方案:
找到/etc/hosts文件
进入hosts文件
vim hosts
编辑如下报错并退出
重新执行脚本后即可文章来源地址https://www.toymoban.com/news/detail-686526.html
到了这里,关于linux下执行jmeter脚本报错: Non HTTP response code: org.apache.http.conn.HttpHostConnectException/Non HTTP的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!