[Webtest] Problem by starting the "my first WebTest"

Wei Chen webtest@lists.canoo.com
Wed, 17 Sep 2003 03:01:33 -0700 (PDT)


I've downloaded and installed the WebTest. As I try to
start the first WebTest with "ant -buildfile
installTest.xml", I got Java-Exception as follow:

/////////////////////////////////////
checkWebTest:

BUILD FAILED
file:D:/DownLoad/WebTest/doc/samples/installTest.xml:9:
Test failed.
Exception raised:
com.canoo.webtest.engine.StepExecutionException:
Unexpected exception caught: java
.net.UnknownHostException:
Dcom.canoo.webtest.engine.StepExecutionException:
Unexpected exception ca
ught: java.net.UnknownHostException: D
        at
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:307)
        at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:182)
        at
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:228)
        at
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:41)
        at
com.canoo.webtest.steps.Step.execute(Step.java:69)
        at
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:32)
        at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:72)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
        at
org.apache.tools.ant.Task.perform(Task.java:341)
        at
org.apache.tools.ant.Target.execute(Target.java:309)
        at
org.apache.tools.ant.Target.performTasks(Target.java:336)
        at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at
org.apache.tools.ant.Main.runBuild(Main.java:609)
        at
org.apache.tools.ant.Main.start(Main.java:196)
        at
org.apache.tools.ant.Main.main(Main.java:235)


Total time: 8 seconds
//////////////////////////////////////

What's wrong?

Regards

Wei

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com