|
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", " 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) |
[Jwebunit-development] SSLHandshakeException - error need help
Sute, Pradnya (ASAP Staffing) Wed, 13 Apr 2005 14:29:01 -0700
- Re: [Jwebunit-development] SSLHandshakeExcep... Sute, Pradnya (ASAP Staffing)
- Re: [Jwebunit-development] SSLHandshake... Martijn Dashorst
- Re: [Jwebunit-development] SSLHands... Pradnya Sute
- Re: [Jwebunit-development] SSLH... Pradnya Sute
