jmter测试并发,部分请求错误,提示连接超时
jmeterc测试项目并发。并发数达到500的时候,部分请求错误,按照网上提供的方法一直未解决,希望大神们速来围观,谢谢了错误提示:
java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:487)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1105)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1094)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Unknown Source)
有人没 首先,请检查压力生成机器的性能情况。。。出口带宽及延迟等等。。。
看样子是服务端不响应或者信息丢弃造成的不响应。。。比如,请求过快。。。 看提示是连接超时
查看端口情况,是不是充足 archonwang 发表于 2017-6-7 20:54
首先,请检查压力生成机器的性能情况。。。出口带宽及延迟等等。。。
看样子是服务端不响应或者信息丢弃造 ...
压力生成机器的性能正常啊,500的并发的时候资源消耗也不大啊,这个要怎么排查解决了 jingzizx 发表于 2017-6-7 21:18
看提示是连接超时
查看端口情况,是不是充足
端口是充足的哦,500并发的时候才会报错,我要怎么解决呢 压力服务器性能是情况是正常的,我jmeter是2.1.1版本的,和版本有关系吗,网上说是jvm内存的问题,我按照网上的教程操作了也没有解决问题 请求超时了
页:
[1]