[Webtest] (no subject)

Arvind Joshi webtest@lists.canoo.com
Fri, 18 Jun 2004 15:16:36 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C45547.3F615980
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi ,

U have to make proper changes to the "installTest.xml" according to your
environment (config part), before running the test.

Thanks,

Arvind



-----Original Message-----
From: webtest-admin@gate2.canoo.com [mailto:webtest-admin@gate2.canoo.com]On
Behalf Of sumathi P
Sent: Friday, June 18, 2004 2:56 PM
To: webtest@gate2.canoo.com
Subject: [Webtest] (no subject)



  Hello ,
  I'm new to this application . Can any one please guide me through  the
configuration processes .
  I tried by running
  ant -buildfile installTest.xml

  I'm getting the following exception,

  E:\PreVista\CanooWebTest\doc\samples>ant -buildfile installTest.xml
  Buildfile: installTest.xml

  checkANT:

  mayPrintANTError:

  checkWebTest:
      [echo] base dir is E:\PreVista\CanooWebTest\doc\samples
  [testSpec] ERROR (Step.java:333) - Cannot handle unexpected exception in
step InvokePage at  with (stepId="get local file", url="E:\PreVista\Cano
  [testSpec] java.net.UnknownHostException: E
  [testSpec]    at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
  [testSpec]    at java.net.Socket.connect(Socket.java:452)
  [testSpec]    at java.net.Socket.connect(Socket.java:402)
  [testSpec]    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
  [testSpec]    at sun.net.NetworkClient.openServer(NetworkClient.java:118)
  [testSpec]    at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
  [testSpec]    at sun.net.ftp.FtpClient.<init>(FtpClient.java:692)
  [testSpec]    at
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:175)
  [testSpec]    at
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.ja
va:257)
  [testSpec]    at
com.meterware.httpunit.HttpWebResponse.getInputStream(HttpWebResponse.java:6
8)
  [testSpec]    at
com.meterware.httpunit.HttpWebResponse.<init>(HttpWebResponse.java:61)
  [testSpec]    at
com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:61)
  [testSpec]    at
com.meterware.httpunit.WebWindow.getResource(WebWindow.java:162)
  [testSpec]    at
com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:125)
  [testSpec]    at
com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
  [testSpec]    at
com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:99)
  [testSpec]    at
com.meterware.httpunit.WebClient.getResponse(WebClient.java:86)
  [testSpec]    at
com.canoo.webtest.steps.request.Target.getResponse(Target.java:179)
  [testSpec]    at
com.canoo.webtest.steps.request.Target$2.call(Target.java:156)
  [testSpec]    at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)
  [testSpec]    at
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:153)
  [testSpec]    at
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:37)
  [testSpec]    at com.canoo.webtest.steps.Step.execute(Step.java:99)
  [testSpec]    at
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)
  [testSpec]    at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
va:68)
  [testSpec]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
  [testSpec]    at org.apache.tools.ant.Task.perform(Task.java:317)
  [testSpec]    at org.apache.tools.ant.Target.execute(Target.java:309)
  [testSpec]    at org.apache.tools.ant.Target.performTasks(Target.java:334)
  [testSpec]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
  [testSpec]    at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
  [testSpec]    at org.apache.tools.ant.Main.runBuild(Main.java:610)
  [testSpec]    at org.apache.tools.ant.Main.start(Main.java:196)
  [testSpec]    at org.apache.tools.ant.Main.main(Main.java:235)

  BUILD FAILED
  file:E:/PreVista/CanooWebTest/doc/samples/installTest.xml:10: Test failed.
  Exception raised: com.canoo.webtest.engine.StepExecutionException:
Unexpected exception caught: java.net.UnknownHostException: E, Step:
InvokePage
          at
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:334)
          at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:115)
          at
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:153)
          at
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:37)
          at com.canoo.webtest.steps.Step.execute(Step.java:99)
          at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)
          at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
va:68)
          at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
          at org.apache.tools.ant.Task.perform(Task.java:317)
          at org.apache.tools.ant.Target.execute(Target.java:309)
          at org.apache.tools.ant.Target.performTasks(Target.java:334)
          at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
          at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
          at org.apache.tools.ant.Main.runBuild(Main.java:610)
          at org.apache.tools.ant.Main.start(Main.java:196)
          at org.apache.tools.ant.Main.main(Main.java:235)


  Total time: 26 seconds
  E:\PreVista\CanooWebTest\doc\samples>ant -buildfile installTest.xml

  please tell me what cud be the problem





------=_NextPart_000_000B_01C45547.3F615980
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.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D616403509-18062004><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
,</FONT></SPAN></DIV>
<DIV><SPAN class=3D616403509-18062004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D616403509-18062004><FONT face=3DArial color=3D#0000ff =
size=3D2>U have=20
to make proper changes to the "installTest.xml" according to your =
environment=20
(config part), before running the test.</FONT></SPAN></DIV>
<DIV><SPAN class=3D616403509-18062004><FONT face=3DArial color=3D#0000ff =

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

size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D616403509-18062004><FONT face=3DArial color=3D#0000ff =

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

size=3D2>Arvind</FONT></SPAN></DIV>
<DIV><SPAN class=3D616403509-18062004><FONT face=3DArial color=3D#0000ff =

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

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

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D616403509-18062004></SPAN><FONT face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> =
webtest-admin@gate2.canoo.com=20
[mailto:webtest-admin@gate2.canoo.com]<B>On Behalf Of </B>sumathi=20
P<BR><B>Sent:</B> Friday, June 18, 2004 2:56 PM<BR><B>To:</B>=20
webtest@gate2.canoo.com<BR><B>Subject:</B> [Webtest] (no=20
subject)<BR><BR></DIV></FONT>
<BLOCKQUOTE>
  <P> <BR>Hello , <BR>I'm new to this application . Can any one please =
guide me=20
  through&nbsp; the configuration processes .<BR>I tried by running =
<BR>ant=20
  -buildfile installTest.xml<BR><BR>I'm getting the following=20
  exception,<BR><BR>E:\PreVista\CanooWebTest\doc\samples&gt;ant =
-buildfile=20
  installTest.xml<BR>Buildfile:=20
  =
installTest.xml<BR><BR>checkANT:<BR><BR>mayPrintANTError:<BR><BR>checkWeb=
Test:<BR>&nbsp;=20
  &nbsp; [echo] base dir is =
E:\PreVista\CanooWebTest\doc\samples<BR>[testSpec]=20
  ERROR (Step.java:333) - Cannot handle unexpected exception in step =
InvokePage=20
  at&nbsp; with (stepId=3D"get local file", =
url=3D"E:\PreVista\Cano<BR>[testSpec]=20
  java.net.UnknownHostException: E<BR>[testSpec]&nbsp; &nbsp; at=20
  =
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)<BR>[testSpec]&=
nbsp;=20
  &nbsp; at java.net.Socket.connect(Socket.java:452)<BR>[testSpec]&nbsp; =
&nbsp;=20
  at java.net.Socket.connect(Socket.java:402)<BR>[testSpec]&nbsp; &nbsp; =
at=20
  =
sun.net.NetworkClient.doConnect(NetworkClient.java:139)<BR>[testSpec]&nbs=
p;=20
  &nbsp; at=20
  =
sun.net.NetworkClient.openServer(NetworkClient.java:118)<BR>[testSpec]&nb=
sp;=20
  &nbsp; at=20
  =
sun.net.ftp.FtpClient.openServer(FtpClient.java:423)<BR>[testSpec]&nbsp; =

  &nbsp; at=20
  =
sun.net.ftp.FtpClient.&lt;init&gt;(FtpClient.java:692)<BR>[testSpec]&nbsp=
;=20
  &nbsp; at=20
  =
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:1=
75)<BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  =
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection=
.java:257)<BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  =
com.meterware.httpunit.HttpWebResponse.getInputStream(HttpWebResponse.jav=
a:68)<BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  =
com.meterware.httpunit.HttpWebResponse.&lt;init&gt;(HttpWebResponse.java:=
61)<BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  =
com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:6=
1)<BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  =
com.meterware.httpunit.WebWindow.getResource(WebWindow.java:162)<BR>[test=
Spec]&nbsp;=20
  &nbsp; at=20
  =
com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:125)<=
BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  =
com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)<BR>[test=
Spec]&nbsp;=20
  &nbsp; at=20
  =
com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:99)<BR>[testS=
pec]&nbsp;=20
  &nbsp; at=20
  =
com.meterware.httpunit.WebClient.getResponse(WebClient.java:86)<BR>[testS=
pec]&nbsp;=20
  &nbsp; at=20
  =
com.canoo.webtest.steps.request.Target.getResponse(Target.java:179)<BR>[t=
estSpec]&nbsp;=20
  &nbsp; at=20
  =
com.canoo.webtest.steps.request.Target$2.call(Target.java:156)<BR>[testSp=
ec]&nbsp;=20
  &nbsp; at=20
  =
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)<BR>=
[testSpec]&nbsp;=20
  &nbsp; at=20
  =
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:153)<BR>[te=
stSpec]&nbsp;=20
  &nbsp; at=20
  =
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:37)<=
BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  com.canoo.webtest.steps.Step.execute(Step.java:99)<BR>[testSpec]&nbsp; =
&nbsp;=20
  at=20
  =
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)<BR>[testSpec=
]&nbsp;=20
  &nbsp; at=20
  =
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask=
.java:68)<BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  =
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)<BR>[=
testSpec]&nbsp;=20
  &nbsp; at =
org.apache.tools.ant.Task.perform(Task.java:317)<BR>[testSpec]&nbsp;=20
  &nbsp; at=20
  =
org.apache.tools.ant.Target.execute(Target.java:309)<BR>[testSpec]&nbsp; =

  &nbsp; at=20
  =
org.apache.tools.ant.Target.performTasks(Target.java:334)<BR>[testSpec]&n=
bsp;=20
  &nbsp; at=20
  =
org.apache.tools.ant.Project.executeTarget(Project.java:1306)<BR>[testSpe=
c]&nbsp;=20
  &nbsp; at=20
  =
org.apache.tools.ant.Project.executeTargets(Project.java:1250)<BR>[testSp=
ec]&nbsp;=20
  &nbsp; at=20
  org.apache.tools.ant.Main.runBuild(Main.java:610)<BR>[testSpec]&nbsp; =
&nbsp;=20
  at org.apache.tools.ant.Main.start(Main.java:196)<BR>[testSpec]&nbsp; =
&nbsp;=20
  at org.apache.tools.ant.Main.main(Main.java:235)<BR><BR>BUILD=20
  =
FAILED<BR>file:E:/PreVista/CanooWebTest/doc/samples/installTest.xml:10: =
Test=20
  failed.<BR>Exception raised: =
com.canoo.webtest.engine.StepExecutionException:=20
  Unexpected exception caught: java.net.UnknownHostException: E, Step:=20
  InvokePage<BR>&nbsp; &nbsp; &nbsp; &nbsp; at=20
  =
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:334)<BR>=
&nbsp;=20
  &nbsp; &nbsp; &nbsp; at=20
  =
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:115)<BR>=
&nbsp;=20
  &nbsp; &nbsp; &nbsp; at=20
  =
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:153)<BR>&nb=
sp;=20
  &nbsp; &nbsp; &nbsp; at=20
  =
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:37)<=
BR>&nbsp;=20
  &nbsp; &nbsp; &nbsp; at=20
  com.canoo.webtest.steps.Step.execute(Step.java:99)<BR>&nbsp; &nbsp; =
&nbsp;=20
  &nbsp; at=20
  com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)<BR>&nbsp; =
&nbsp;=20
  &nbsp; &nbsp; at=20
  =
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask=
.java:68)<BR>&nbsp;=20
  &nbsp; &nbsp; &nbsp; at=20
  =
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)<BR>&=
nbsp;=20
  &nbsp; &nbsp; &nbsp; at=20
  org.apache.tools.ant.Task.perform(Task.java:317)<BR>&nbsp; &nbsp; =
&nbsp;=20
  &nbsp; at =
org.apache.tools.ant.Target.execute(Target.java:309)<BR>&nbsp;=20
  &nbsp; &nbsp; &nbsp; at=20
  org.apache.tools.ant.Target.performTasks(Target.java:334)<BR>&nbsp; =
&nbsp;=20
  &nbsp; &nbsp; at=20
  =
org.apache.tools.ant.Project.executeTarget(Project.java:1306)<BR>&nbsp; =
&nbsp;=20
  &nbsp; &nbsp; at=20
  =
org.apache.tools.ant.Project.executeTargets(Project.java:1250)<BR>&nbsp; =

  &nbsp; &nbsp; &nbsp; at=20
  org.apache.tools.ant.Main.runBuild(Main.java:610)<BR>&nbsp; &nbsp; =
&nbsp;=20
  &nbsp; at org.apache.tools.ant.Main.start(Main.java:196)<BR>&nbsp; =
&nbsp;=20
  &nbsp; &nbsp; at=20
  org.apache.tools.ant.Main.main(Main.java:235)<BR><BR><BR>Total time: =
26=20
  seconds<BR>E:\PreVista\CanooWebTest\doc\samples&gt;ant -buildfile=20
  installTest.xml<BR><BR>please tell me what cud be the problem =
</P><BR><BR><A=20
  href=3D"http://clients.rediff.com/signature/track_sig.asp" =
target=3D_blank><IMG=20
  hspace=3D0=20
  =
src=3D"http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail=
.com/inbox.htm@Bottom"=20
  border=3D0 NOSEND=3D"1"></A> </BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000B_01C45547.3F615980--