我正在使用Jmeter在apache服務器上發佈消息。我使用SSL(在.PFX格式提供證書)來發送消息,但得到的錯誤如下:使用Jmeter發送HTTP消息時出錯:軟件導致連接中止:recv失敗
java.net.SocketException異常:軟件導致連接中止:recv的 未能在java.net.SocketInputStream.socketRead0 (Native Method)at java.net.SocketInputStream.read(Unknown Source)at java.net.SocketInputStream.read(Unknown Source)at sun.security.ssl.InputRecord.readFully(Unknown Source)at sun.security .ssl.InputRecord.read(Unknown Source)at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)at sun.security.ssl.SSLSocketImpl.waitForClose(Unknown Source)atsun.security.ssl.HandshakeOutStream.flush(Unknown Source)at sun.security.ssl.Handshaker.sendChangeCipherSpec(Unknown Source)at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(Unknown Source)at sun.security。 ssl.ClientHandshaker.serverHelloDone(Unknown Source)at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)at sun.security.ssl.Handshaker.processLoop(Unknown Source) at sun.security.ssl.Handshaker.process_record (Unknown Source)at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)at太陽ecurity.ssl.AppOutputStream.write(未知來源)處 java.io.BufferedOutputStream.write(未知來源) java.io.BufferedOutputStream.flushBuffer(未知來源)在 java.io.FilterOutputStream.write(未知來源)在 org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:145) 在 org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) 在 有機apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) 在 org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) 在 org.apac he.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) 在 org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) 在 org.apache.commons.httpclient.HttpClient。 executeMethod(HttpClient.java:397) 在 org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) 在 org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl.sample(HTTPHC3Impl。的java:265) 在 org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) 在 org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase。 Java的:1146) 在 org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1135) 在 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434) 在有機apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261) 在java.lang.Thread.run(來源不明)
問題不清楚。 – Kumar
請添加更多信息。 –
我正在使用Jmeter工具向Apache服務器發佈一個HTTP消息。但我無法發佈消息。我收到這個錯誤。讓我知道你在找什麼信息。 –