4 messages in com.canoo.lists.webtestRE: [Webtest] SSL java 1.4.2
FromSent OnAttachments
Michael Jividen23 Jan 2004 17:38 
Dierk Koenig26 Jan 2004 04:48 
Michael Jividen27 Jan 2004 11:32 
Dierk Koenig27 Jan 2004 13:52 
Subject:RE: [Webtest] SSL java 1.4.2
From:Dierk Koenig (dier@canoo.com)
Date:01/27/2004 01:52:20 PM
List:com.canoo.lists.webtest

Hm, it seems the ssl handshake was ok (but I'm not totally sure). The server returned an http response with content-length header of -1 which is an invalid value. I've never seen that before.

I'm curious about the logs...

Mittie

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com]On Behalf Of Michael Jividen Sent: Dienstag, 27. Januar 2004 20:33 To: webt@lists.canoo.com Subject: Re: [Webtest] SSL java 1.4.2

well, I am working on getting access to the logs. In the mean time i do have some additional output courtesy of log4j https debugging. here it is:

[testSpec] Start Step: invoke "goto start page" (2/27) [testSpec] -> gotoTarget(by url): https://order01.prognet.com:443/pt/order .html?country=US&language=EN&mppi=9584&mppos_list=rhap%3Agmpass%3A pwrpck%3A sysmech&mpst=M14D1MAIN&ppath=cpmptst060503a&src=111003realhome_1_4_2_2_1 [testSpec] DEBUG (HttpsProtocolSupport.java:108) - Https Protocol Handler list was = null [testSpec] DEBUG (HttpsProtocolSupport.java:108) - Https Protocol Handler list was = null [testSpec] DEBUG (HttpsProtocolSupport.java:115) - Https Protocol Handler list now = com.sun.net.ssl.internal.www.protocol [testSpec] DEBUG (HttpsProtocolSupport.java:115) - Https Protocol Handler list now = com.sun.net.ssl.internal.www.protocol [testSpec] DEBUG (HttpWebResponse.java:244) - HttpWebResponse.addHeader [testSpec] DEBUG (HttpWebResponse.java:244) - HttpWebResponse.addHeader [testSpec] DEBUG (HttpWebResponse.java:245) - key = CONTENT-LENGTH [testSpec] DEBUG (HttpWebResponse.java:245) - key = CONTENT-LENGTH [testSpec] DEBUG (HttpWebResponse.java:246) - field = -1 [testSpec] DEBUG (HttpWebResponse.java:246) - field = -1 [testSpec] ERROR (Step.java:342) - cannot handle [testSpec] java.io.IOException [testSpec] at sun.net.www.protocol.http.HttpURLConnection.getInputStre am(HttpURLConnection.java:593) [testSpec] at java.net.HttpURLConnection.getResponseCode(HttpURLConnec tion.java:272)

Please see previous post for the complete output.

thanks -mike

From: "Dierk Koenig" <dier@canoo.com>

To: <webt@lists.canoo.com> Subject: RE: [Webtest] Re: SSL java 1.4.2 (Dierk Koenig) Date: Mon, 26 Jan 2004 20:06:43 +0100 Reply-To: webt@lists.canoo.com

Hm, tricky. Reads like a basic error in the handshake.

I don't have access to the logs, but if this is the only route I could try.

I think it would be worth the effort.

Also, I remember reading about turning on java debugging for the handshake, how is this done?

Go to your webtest/lib dir. Open "log4j.properties". Uncomment the lines as indicated in the file.

good luck Mittie