If I had to guess it would seem that jMeter is not getting the close exception until
it sends the second byte of data. I have seen something like this using a normal tcp
connection. The only way I got around this problem was using a async, non blocking
modes. Then I posted a read on the listener thead and then it would get the exception,
then I had to abort the sender thread. Looking at the source I saw that you are using
the
java.net.HttpURLConnection stuff. Really didn't see any good socket type stuff.
-----Original Message-----
From: Jonathan Easterling
Sent: Wednesday, July 02, 2003 4:21 PM
To: JMeter Developers List
Subject: jMeter SSL connection error
Hello,
I think I have found an error condition that should be caught or timed out:
The remote socket closed and jMeter did not handle the situaion it would look like. I
am using jMeter 1.9 rc2
Thanks,
Jon
07/02/2003 3:55:07 PM ERROR - jmeter.protocol.http: getErrorLevel : null
07/02/2003 3:55:07 PM ERROR - jmeter.protocol.http: getErrorLevel : null
07/02/2003 3:55:07 PM ERROR - jmeter.protocol.http: getErrorLevel : Error getting
response code for HttpUrlConnection - java.net.BindException: Address already in use:
connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA6275)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
at sun.net.www.protocol.https.HttpsClient.<init>(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.plainConnect(DashoA6275)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:238)
at
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getResponseCode(DashoA6275)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerFull.getErrorLevel(HTTPSamplerFull.java:465)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerFull.loadBinary(HTTPSamplerFull.java:402)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerFull.parseNodes(HTTPSamplerFull.java:339)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerFull.parseForImages(HTTPSamplerFull.java:219)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:1003)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:444)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:263)
at java.lang.Thread.run(Thread.java:536)
07/02/2003 3:55:07 PM ERROR - jmeter.protocol.http: Error reading from URL -
java.io.IOException: Stream closed
----------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]