[英]Getting an error “Response code: Non HTTP response code: org.apache.http.conn.HttpHostConnectException” in jmeter
I am executing load test using JMeter where users are suppose to do Launch -- Login -- clk dashboard Page -- clk landing page (the page which come after login ie home page) where clk dashboard and clk landing page are repetitive action for 5 times. 我正在使用JMeter执行负载测试,用户可以在其中执行启动 - 登录 - clk仪表板页面 - clk登陆页面 (登录后的页面即主页)其中clk仪表板和clk登陆页面是重复操作5倍。
Till 30 users I am not getting any error when i increased users load i am start getting an error as 直到30个用户我增加用户负载时没有收到任何错误我开始收到错误
Response code: Non HTTP response code: org.apache.http.conn.HttpHostConnectException Response message: Non HTTP response message: Connection to https://stage.ideas.com refused
响应代码:非HTTP响应代码:org.apache.http.conn.HttpHostConnectException响应消息:非HTTP响应消息:拒绝连接到https://stage.ideas.com
Response headers: HTTPSampleResult fields: ContentType: DataEncoding: null
in sample results. 在样本结果中。
Could any one suggest why I am getting this error ? 任何人都可以建议我为什么会收到这个错误? Sometimes it works for 100 users and sometimes I am getting an error.
有时它适用于100个用户,有时我会收到错误。
Thanks a lot in advance. 非常感谢提前。
You are getting connection refused, this means that JMeter is not able to connect to your server to perform the required test. 您正在拒绝连接,这意味着JMeter无法连接到您的服务器以执行所需的测试。
This can happen because : 这可能是因为:
Since you're running tests, and spawning a lot of connections from the same ip to the server, I would check the number 3 first, meaning some firewall or proxy is limiting your activity to the server for excessive load or security reasons. 由于您正在运行测试,并从同一个ip生成大量连接到服务器,因此我首先检查数字3,这意味着由于过多的负载或安全原因,某些防火墙或代理会将您的活动限制在服务器上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.