Hi, you're probably testing against a web server using a self signed certificate. There are 2 solutions for this: 1- import the certificate to your trust store 2- tell HtmlUnit not to verify certificates. As long as there is no direct config option for that, you can do following: <config...> <option name="UseInsecureSSL" value="true"/> </config>
Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com jpyork wrote: > this is the stack trace of the failed step: > > C:\JPWEBTEST\tests\googleWebTest.xml:15: Unexpected exception caught: > javax.net.ssl.SSLHandshakeException > at com.canoo.webtest.steps.StepUtil.handleException(StepUtil.java:120) > at com.canoo.webtest.steps.Step.handleException(Step.java:379) > at com.canoo.webtest.steps.Step.execute(Step.java:110) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) > at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) > at org.apache.tools.ant.Task.perform(Task.java:348) > at > com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java:43 > > > jpyork wrote: >> I try to follow the simple tests and they don't work, can someone post a >> simple test that invokes a URL that works for them so I can see one that >> works in real life. >> >> I am trying to get a simple invoke URL target to be successful and then >> produce an html report of that test and can't seem to get it to work. >> >> this is my invoke URL target: >> >> <project name="SimpleTest" basedir="." default="wt.full"> >> >> <property name="webtest.home" location="C:\WebTest" /> >> <import file="${webtest.home}/webtest.xml"/> >> <import file="../definitions.xml"/> >> >> <target name="wt.testInWork" depends="wt.defineMacros"> >> <webtest name="my simple Test"> >> <invoke >> url="https://server:9190/index.html" >> description="get Login Page" /> >> <verifyTitle >> text="QA login" >> description="we should see the login title" /> >> </webtest> >> </target> >> </project> >> > _______________________________________________ WebTest mailing list WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest