jmeter测试网站性能connection refused timeout
博彩导航网站排行榜
博彩导航网站排行榜
当前位置 : 博彩导航网站排行榜 > 博彩导航网站排行榜

jmeter测试网站性能connection refused timeout

我用Jmeter2.13测试网站一个http请求,服务器是tomcat7,测试500个线程数正常,增加到750就会出现connection refused错误,而且一般是最后的请求出现错误,前面仍是对的。试了网上一些方法增加tomcat7 server.xml最大线程数,修改系统参数等都不行。此时CPU内存带宽IO都是没有满的,所以不知瓶颈在何处??希望有遇到过类似情况或者知道的人能解答,谢谢!
结果树中错误代码如下:

org.apache.http.conn.HttpHostConnectException: Connection to http://10.0.0.160:8080 refused

at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnectionDefaultClientConnectionOperator.java:190
at org.apache.http.impl.conn.ManagedClientConnectionImpl.openManagedClientConnectionImpl.java:294
at org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$MeasuredConnection.openMeasuringConnectionManager.java:107
at org.apache.http.impl.client.DefaultRequestDirector.tryConnectDefaultRequestDirector.java:643
at org.apache.http.impl.client.DefaultRequestDirector.executeDefaultRequestDirector.java:479
at org.apache.http.impl.client.AbstractHttpClient.executeAbstractHttpClient.java:906
at org.apache.http.impl.client.AbstractHttpClient.executeAbstractHttpClient.java:805
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequestHTTPHC4Impl.java:517
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sampleHTTPHC4Impl.java:331
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sampleHTTPSamplerProxy.java:74
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sampleHTTPSamplerBase.java:1146
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sampleHTTPSamplerBase.java:1135
at org.apache.jmeter.threads.JMeterThread.process_samplerJMeterThread.java:434
at org.apache.jmeter.threads.JMeterThread.runJMeterThread.java:261
at java.lang.Thread.runUnknown Source

Caused by: java.net.ConnectException: Connection timed out: connect

at java.net.DualStackPlainSocketImpl.connect0Native Method
at java.net.DualStackPlainSocketImpl.socketConnectUnknown Source
at java.net.AbstractPlainSocketImpl.doConnectUnknown Source
at java.net.AbstractPlainSocketImpl.connectToAddressUnknown Source
at java.net.AbstractPlainSocketImpl.connectUnknown Source
at java.net.PlainSocketImpl.connectUnknown Source
at java.net.SocksSocketImpl.connectUnknown Source
at java.net.Socket.connectUnknown Source
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocketPlainSocketFactory.java:127
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnectionDefaultClientConnectionOperator.java:180
... 14 more

我也碰到这个问题了……请高手出马解释解释,为我等解惑:(

最新文章

广告位

博彩导航网站排行榜