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

Wei Chen webtest@lists.canoo.com
Thu, 18 Sep 2003 06:03:45 -0700 (PDT)


Hi,

here is the information you need:

OS: XP

Folder layout:
I installed the ANT under C:\ANT. I set the
ANT_HOME=C:\ANT. I included the ant.jar and tools.jar
to classpath. I add the %ANT_HOME%\bin to PATH.

Jdk: I use Jdk1.4

ANT version: I just downloaded yesterday the latest
version of ANT, i.e. 1.5.1.

Any info else?

Regards

Wei



--- Dierk Koenig <dierk.koenig@canoo.com> wrote:
> Hi,
> 
> when everything like in the install instructions it
> works right away.
> (This is automatically tested with every build)
> So, there must be some difference. I would need some
> indication
> on possible differences:
> OS, folder layout, jdk, ant version, etc.
> 
> cheers
> Mittie
> 
> > -----Original Message-----
> > From: webtest-admin@lists.canoo.com
> > [mailto:webtest-admin@lists.canoo.com]On Behalf Of
> Wei Chen
> > Sent: Mittwoch, 17. September 2003 15:18
> > To: webtest@lists.canoo.com
> > Subject: RE: [Webtest] Problem by starting the "my
> first WebTest"
> > 
> > 
> > Hi,
> > 
> > I've visited the troubleshooting page. But there
> are
> > just a few cases there. The error I met is not
> listed
> > there.
> > 
> > Besides, what do you mean here that my information
> not
> > enough? I just follow the install instruction on
> page
> >
> http://webtest.canoo.com/webtest/manual/install.html
> > and do the first step as follow:
> > 
> > +++++++++++++++
> > Your first WebTest 
> > 
> > cd <WEBTESTHOME>/doc/samples
> > ant -buildfile installTest.xml  
> > +++++++++++++++
> > 
> > Then I got the Exception. What information else do
> you
> > want?
> > 
> > Regards
> > 
> > Wei
> > 
> > 
> > 
> > 
> > 
> > --- Dierk Koenig <dierk.koenig@canoo.com> wrote:
> > > hi,
> > > 
> > > pls read the troubleshooting page on
> > > webtest.canoo.com.
> > > 
> > > if the problem persists, pls
> > > provide as much information as possible. (The
> > > information below is not
> > > enough)
> > > 
> > > cheers
> > > Mittie
> > > 
> > > > -----Original Message-----
> > > > From: webtest-admin@lists.canoo.com
> > > > [mailto:webtest-admin@lists.canoo.com]On
> Behalf Of
> > > Wei Chen
> > > > Sent: Mittwoch, 17. September 2003 12:02
> > > > To: webtest@lists.canoo.com
> > > > Subject: [Webtest] Problem by starting the "my
> > > first WebTest"
> > > >
> > > >
> > > > 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(TestSpecificat
> > > > ionTask.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
> > > >
> _______________________________________________
> > > > WebTest mailing list
> > > > WebTest@lists.canoo.com
> > > >
> http://lists.canoo.com/mailman/listinfo/webtest
> > > >
> > > >
> 
=== message truncated ===


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