Hi, There have been more troubles using https and jwebunit. I suggest you look at: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=979375&group_id=61302
I hope this helps. Martijn Dashorst Sute, Pradnya (ASAP Staffing) wrote: > I get this error when I submit a form (login) on > http://www.ichotelsgroup.com/h/d/pc/1/en/home > > My test case is: > > public void testQuickResSubmit() > > { > > beginAt("/6c/1/en/home"); > > assertFormPresent("searchForm"); > > setWorkingForm("searchForm"); > > setFormElement("city", "Atlanta"); > > setFormElement("stateId", "GA"); > > setFormElement("countryId","0001"); > > setFormElement("checkInDate","11"); > > setFormElement("checkOutDate","12"); > > setFormElement("checkInMonthYear","72005"); > > submit("smartQuickSearch"); > > } > > 1) > testHomePage(reservation.ExampleWebTestCase)java.lang.RuntimeException: > javax.net.ssl.SSLHandshakeException: sun.security.validator.Validato > > icate found > > at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown > Source) > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source) > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source) > > at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source) > > at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source) > > at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(Unknown Source) > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source) > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source) > > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source) > > at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown > Source) > > at > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown > Source) > > at > sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown > Source) > > at > com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getOutputStream(Unknown > Source) > > at > com.meterware.httpunit.MessageBodyWebRequest.completeRequest(MessageBodyWebRequest.java:96) > > at > com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:60) > > at > com.meterware.httpunit.WebWindow.getResource(WebWindow.java:162) > > at > com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:125) > > at > com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118) > > at > com.meterware.httpunit.WebWindow.sendRequest(WebWindow.java:107) > > at > com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:245) > > at > com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:224) > > at com.meterware.httpunit.WebForm.doFormSubmit(WebForm.java:75) > > at com.meterware.httpunit.WebForm.submit(WebForm.java:67) > > at com.meterware.httpunit.WebForm.submit(WebForm.java:56) > > at > net.sourceforge.jwebunit.HttpUnitDialog.submit(HttpUnitDialog.java:542) > > at net.sourceforge.jwebunit.WebTester.submit(WebTester.java:858) > > at > net.sourceforge.jwebunit.WebTestCase.submit(WebTestCase.java:347) > > at > reservation.ExampleWebTestCase.testHomePage(ExampleWebTestCase.java:29) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at reservation.ExampleWebTestCase.main(ExampleWebTestCase.java:69) > > Caused by: sun.security.validator.ValidatorException: No trusted > certificate found > > at > sun.security.validator.SimpleValidator.buildTrustedChain(Unknown Source) > > at > sun.security.validator.SimpleValidator.engineValidate(Unknown Source) > > at sun.security.validator.Validator.validate(Unknown Source) > > at > com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown > Source) > > at > com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown > Source) > > ... 41 more > > > > at > net.sourceforge.jwebunit.HttpUnitDialog.submit(HttpUnitDialog.java:544) > > at net.sourceforge.jwebunit.WebTester.submit(WebTester.java:858) > > at > net.sourceforge.jwebunit.WebTestCase.submit(WebTestCase.java:347) > > at > reservation.ExampleWebTestCase.testHomePage(ExampleWebTestCase.java:29) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at reservation.ExampleWebTestCase.main(ExampleWebTestCase.java:69) > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Jwebunit-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-development
