Support Requests item #979375, was opened at 2004-06-24 19:11
Message generated for change (Comment added) made by jimweaver
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497983&aid=979375&group_id=61302

Category: None
Group: None
>Status: Pending
Priority: 5
Submitted By: Dave Lee (slee022)
Assigned to: Nobody/Anonymous (nobody)
Summary: Another HTTPS problem

Initial Comment:
I tried to write a very simple test for the public site 
which is using https. 

I tested with google site via "www.google.com" and it 
work perfectly, but when i try to test on the https site..

getTestContext().setBaseUrl "https://testsite.com";);

Unfortunately when my code reached "beginAt
("/default.jsp");

It cause the exception
There was 1 error:
1) testMainPageLinks(ExampleWebTestCase)
java.lang.RuntimeException: java.io.IOException
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:593)......

It looks like the HTTPUnit didn't accept the HTTPS 
connection and throw the IOException error.

I'm using SDK1.4.2 which comes with JSSE and my JVM 
already setup the 
security.provider.2=com.sun.net.ssl.internal.ssl.Provider.

I'm running out of idea now, is anyone could give me a 
help?

----------------------------------------------------------------------

>Comment By: Jim Weaver (jimweaver)
Date: 2004-09-16 14:20

Message:
Logged In: YES 
user_id=619947

See httpunit faq at
http://httpunit.sourceforge.net/doc/sslfaq.html.  Maybe that
will provide a pointer - I don't know that jWebUnit is doing
anything here that would cause the exception.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497983&aid=979375&group_id=61302


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to