我在Jmeter中得到以下异常(java.net.DualStackPlainSocketImpl),我手动访问应用程序,因此服务器没有问题。我怀疑它与端口有关。在此之前,我已经打开了超过15个jmeter实例来创建测试数据,这是否可能导致了这个问题?
通过jemeter和手动请求发出请求之间在网络方面的明显区别是什么?。如果需要任何其他附加信息,请告诉我吗?
java.net.ConnectException:连接超时:连接 在java.net.DualStackPlainSocketImpl.socketConnect(未知来源)的java.net.DualStackPlainSocketImpl.connect0(本地方法) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 在java.net.AbstractPlainSocketImpl.connect(未知来源) 在java.net.PlainSocketImpl.connect(未知来源) 在java.net.SocksSocketImpl.connect(未知来源) 在java.net.Socket.connect(未知来源) at sun.security.ssl.SSLSocketImpl.connect(未知来源) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:542) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:414) at org.apache.jmeter.protocol.http.sampler.LazySchemeSocketFactory.connectSocket(LazySchemeSocketFactory.java:97) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.jmeter.protocol.http.sampler.hc.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:318) at org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager $ MeasuredConnection.open(MeasuringConnectionManager.java:114) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445) 在org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835) 在org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:654) at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:413) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1189) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1178) at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:491) 在org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:425) 在org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254) 在java.lang.Thread.run(未知来源)