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

Stefan Ruff webtest@lists.canoo.com
Thu, 09 Oct 2003 09:48:53 +0200


Today I had the same problem with the installTest.xml like you had a few 
days ago. 

What I did is to change the JDK to j2sdk1.4.1.
ANT: j2sdk1.4.1
WebTest: Build 374 

Now it works ! 

Stefan 

 

Dierk Koenig writes: 

> I guess I would need to sit next to you to track this error down... 
> 
> sorry
> Mittie 
> 
>> -----Original Message-----
>> From: webtest-admin@lists.canoo.com
>> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Wei Chen
>> Sent: Freitag, 19. September 2003 9:37
>> To: webtest@lists.canoo.com
>> Subject: RE: [Webtest] Problem by starting the "my first WebTest" 
>> 
>> 
>> Hi, 
>> 
>> The folder where I extracted the build.zip is: 
>>   D:\DownLoad\WebTest 
>> 
>> I did exactly what you told me but I got the same
>> Exception as before: 
>> 
>> **********************
>> checkWebTest: 
>> 
>> BUILD FAILED
>> file:D:/DownLoad/WebTest/doc/samples/installTest.xml:9:
>> Test failed.
>> Exception raised:
>> com.canoo.webtest.engine.StepExecutionException:
>> Unexpected ex
>> ception caught: java.net.UnknownHostException:
>> Dcom.canoo.webtest.engine.StepExe
>> cutionException: Unexpected exception caught:
>> 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(TestSpecification 
>> 
>> ******************* 
>> 
>> Regards 
>> 
>> Wei 
>> 
>>  
>> 
>> --- Dierk Koenig <dierk.koenig@canoo.com> wrote:
>> > This is all fine.
>> > 
>> > Which is the folder, you extracted the build.zip to?
>> > 
>> > can you try to start a command shell and 
>> > capture the whole output when doing:
>> > 
>> > set
>> > 
>> > cd <your webtest folder here>
>> > cd doc
>> > cd samples
>> > ant -v -f installTest.xml
>> > 
>> > cheers
>> > Mittie
>> > 
>> > > -----Original Message-----
>> > > From: webtest-admin@lists.canoo.com
>> > > [mailto:webtest-admin@lists.canoo.com]On Behalf Of
>> > Wei Chen
>> > > Sent: Donnerstag, 18. September 2003 15:04
>> > > To: webtest@lists.canoo.com
>> > > Subject: RE: [Webtest] Problem by starting the "my
>> > first WebTest"
>> > > 
>> > > 
>> > > 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
>> > 
>> === message truncated === 
>> 
>> 
>> __________________________________
>> 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 
>> 
>> 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest