[Webtest] Newbie errors - On build #362

Dierk Koenig webtest@lists.canoo.com
Thu, 7 Aug 2003 10:17:40 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_001F_01C35CCD.223D7550
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

first, I'm not sure that your doubled backslashes work as expected.
Second, are you really going for https at this point?

cheers
Mittie
  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Kumar, Vaidhyanatha K.
  Sent: Montag, 4. August 2003 14:28
  To: webtest@lists.canoo.com
  Subject: [Webtest] Newbie errors - On build #362


  I am trying to use the SimpleTest.xml after slight tweaks. I get these
nasty errors ,no matter what I do.
  Thanks
  Vaidhy
  -------------------
  BUILD FAILED
  file:D:/apps/conoo/webtest/samples/simpleTest.xml:13: Test failed.
  Exception raised: com.canoo.webtest.engine.StepExecutionException:
Unexpected ex
  ception caught:
java.io.IOExceptioncom.canoo.webtest.engine.StepExecutionExcepti
  on: Unexpected exception caught: java.io.IOException
          at
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:307)

  ----------
  Here is my SimpleTest.xml

  <project name="SimpleTest" basedir="." default="main">
  <property name="webtest.home" location="D:\\apps\\conoo\\webtest" />
     <taskdef file="${webtest.home}/webtestTaskdefs.properties">
      <classpath>
    <filelist
         id="docfiles"
         dir="D:\\apps\\conoo\\webtest\\lib"

files="Tidy.jar,ant.jar,antrunner.jar,dom4j-1.3-full.jar,easymock.jar,httpun
itWithJTidy.jar,httpunit.jar,jakarta-oro-2.0.4.jar,jcert.jar,jnet.jar,js.jar
,jsse.jar,junit.jar,mailapi.jar,nekohtml-0.7.4.jar,optional.jar,servlet.jar,
webtest.jar,xalan.jar,xercesImpl.jar,xml-apis.jar"/>
   </classpath>
  </taskdef>

  <target name="main">
        <testSpec name="myTest">
           <config
     host="hpc67.net.plm.eds.com"
              port="7002"
              protocol="https"
       basepath="tower-foundation/controller" />
           <steps>
              <invoke
                 stepid="get Login Page"
                 url="home" />
              <verifytitle
                 stepid="we should see the login title"
                 text="Login Page" />
           </steps>
        </testSpec>
     </target>
   </project

------=_NextPart_000_001F_01C35CCD.223D7550
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D549591408-07082003><FONT face=3DArial color=3D#0000ff =

size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D549591408-07082003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D549591408-07082003><FONT face=3DArial color=3D#0000ff =
size=3D2>first,=20
I'm not sure that your doubled backslashes work as =
expected.</FONT></SPAN></DIV>
<DIV><SPAN class=3D549591408-07082003><FONT face=3DArial color=3D#0000ff =

size=3D2>Second, are you really going for https at this =
point?</FONT></SPAN></DIV>
<DIV><SPAN class=3D549591408-07082003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D549591408-07082003><FONT face=3DArial color=3D#0000ff =

size=3D2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=3D549591408-07082003><FONT face=3DArial color=3D#0000ff =

size=3D2>Mittie</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
  Behalf Of </B>Kumar, Vaidhyanatha K.<BR><B>Sent:</B> Montag, 4. August =
2003=20
  14:28<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest]=20
  Newbie errors - On build #362<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial size=3D2>I am =
trying to use=20
  the SimpleTest.xml after slight tweaks. I get these nasty errors ,no =
matter=20
  what I do.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial=20
  size=3D2>Thanks</FONT></SPAN></DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial=20
  size=3D2>Vaidhy</FONT></SPAN></DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial=20
  size=3D2>-------------------</FONT></SPAN></DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial =
size=3D2>BUILD=20
  FAILED<BR>file:D:/apps/conoo/webtest/samples/simpleTest.xml:13: Test=20
  failed.<BR>Exception raised: =
com.canoo.webtest.engine.StepExecutionException:=20
  Unexpected ex<BR>ception caught:=20
  =
java.io.IOExceptioncom.canoo.webtest.engine.StepExecutionExcepti<BR>on:=20
  Unexpected exception caught:=20
  java.io.IOException<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
  =
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:307)<BR>=
</FONT></SPAN></DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial=20
  size=3D2>----------</FONT></SPAN></DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial size=3D2>Here =
is my=20
  SimpleTest.xml</FONT></SPAN></DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial =
size=3D2>&lt;project=20
  name=3D"SimpleTest" basedir=3D"." default=3D"main"&gt;<BR>&lt;property =

  name=3D"webtest.home" location=3D"D:\\apps\\conoo\\webtest" =
/&gt;<BR>&nbsp;&nbsp;=20
  &lt;taskdef=20
  =
file=3D"${webtest.home}/webtestTaskdefs.properties"&gt;<BR>&nbsp;&nbsp;&n=
bsp;=20
  &lt;classpath&gt;<BR>&nbsp;&nbsp;&lt;filelist <BR>&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp;id=3D"docfiles" <BR>&nbsp;&nbsp;&nbsp;=20
  =
&nbsp;&nbsp;&nbsp;dir=3D"D:\\apps\\conoo\\webtest\\lib"<BR>&nbsp;&nbsp;&n=
bsp;files=3D"Tidy.jar,ant.jar,antrunner.jar,dom4j-1.3-full.jar,easymock.j=
ar,httpunitWithJTidy.jar,httpunit.jar,jakarta-oro-2.0.4.jar,jcert.jar,jne=
t.jar,js.jar,jsse.jar,junit.jar,mailapi.jar,nekohtml-0.7.4.jar,optional.j=
ar,servlet.jar,webtest.jar,xalan.jar,xercesImpl.jar,xml-apis.jar"/&gt;<BR=
>&nbsp;&lt;/classpath&gt;<BR>&lt;/taskdef&gt;</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=3D469462512-04082003><FONT face=3DArial =
size=3D2>&lt;target=20
  name=3D"main"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;testSpec=20
  =
name=3D"myTest"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;config <BR>&nbsp;&nbsp;=20
  =
host=3D"hpc67.net.plm.eds.com"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
port=3D"7002"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
  protocol=3D"https"<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
  basepath=3D"tower-foundation/controller"=20
  /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;steps&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
  &lt;invoke=20
  =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  stepid=3D"get Login=20
  =
Page"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
  url=3D"home"=20
  =
/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
  &lt;verifytitle=20
  =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  stepid=3D"we should see the login=20
  =
title"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
  text=3D"Login Page" =
/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;/steps&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;/testSpec&gt;<BR>&nbsp;&nbsp; =
&lt;/target&gt;<BR>&nbsp;</FONT></SPAN><SPAN=20
  class=3D469462512-04082003><FONT face=3DArial=20
size=3D2>&lt;/project</DIV></BLOCKQUOTE></FONT></SPAN></BODY></HTML>

------=_NextPart_000_001F_01C35CCD.223D7550--