[Webtest] (no subject)

sumathi P webtest@lists.canoo.com
24 Jun 2004 07:17:47 -0000


 This is a multipart mime message


--Next_1088061467---0-202.54.124.151-18047
Content-type: text/html;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<P>=0A&nbsp; <BR>=0Ahi ,<BR>=0AI'm through with the installation process , =
<BR>=0Awhen i try to work with the sampleTest.xml,I'm getting the following=
 exception ,<BR>=0A<BR>=0AD:\WebTest\doc\samples&gt;ant -v buildfile simple=
Test.xml<BR>=0AApache Ant version 1.6.1 compiled on February 12 2004<BR>=0A=
Buildfile: build.xml does not exist!<BR>=0ABuild failed<BR>=0AD:\WebTest\do=
c\samples&gt;ant -v -buildfile simpleTest.xml<BR>=0AApache Ant version 1.6.=
1 compiled on February 12 2004<BR>=0ABuildfile: simpleTest.xml<BR>=0ADetect=
ed Java version: 1.4 in: D:\j2sdk1.4.2_03\jre<BR>=0ADetected OS: Windows XP=
<BR>=0Aparsing buildfile D:\WebTest\doc\samples\simpleTest.xml with URI =3D=
 file:///D:/WebTest/doc/samples/simpleTest.xml<BR>=0AProject base dir set t=
o: D:\WebTest\doc\samples<BR>=0ABuild sequence for target `main' is [main]<=
BR>=0AComplete build sequence is [main, ]<BR>=0A<BR>=0Amain:<BR>=0A [testSp=
ec] ERROR (Step.java:333) - Cannot handle unexpected exception in step Invo=
kePage at D:\WebTest\doc\samples\simpleTest.xml:19:&nbsp; with (stepId=3D&q=
uot;get Login Page&quot;, url=3D&quot;login&quot;, ste<BR>=0Ae&quot;)<BR>=
=0A [testSpec] java.io.IOException<BR>=0A [testSpec]&nbsp; &nbsp;  at sun.n=
et.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav=
a:593)<BR>=0A [testSpec]&nbsp; &nbsp;  at java.net.HttpURLConnection.getRes=
ponseCode(HttpURLConnection.java:272)<BR>=0A [testSpec]&nbsp; &nbsp;  at co=
m.meterware.httpunit.HttpWebResponse.readResponseHeader(HttpWebResponse.jav=
a:159)<BR>=0A [testSpec]&nbsp; &nbsp;  at com.meterware.httpunit.HttpWebRes=
ponse.readHeaders(HttpWebResponse.java:197)<BR>=0A [testSpec]&nbsp; &nbsp; =
 at com.meterware.httpunit.HttpWebResponse.&lt;init&gt;(HttpWebResponse.jav=
a:53)<BR>=0A [testSpec]&nbsp; &nbsp;  at com.meterware.httpunit.WebConversa=
tion.newResponse(WebConversation.java:61)<BR>=0A [testSpec]&nbsp; &nbsp;  a=
t com.meterware.httpunit.WebWindow.getResource(WebWindow.java:162)<BR>=0A [=
testSpec]&nbsp; &nbsp;  at com.meterware.httpunit.WebWindow.getSubframeResp=
onse(WebWindow.java:125)<BR>=0A [testSpec]&nbsp; &nbsp;  at com.meterware.h=
ttpunit.WebWindow.getResponse(WebWindow.java:118)<BR>=0A [testSpec]&nbsp; &=
nbsp;  at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:99)<B=
R>=0A [testSpec]&nbsp; &nbsp;  at com.meterware.httpunit.WebClient.getRespo=
nse(WebClient.java:86)<BR>=0A [testSpec]&nbsp; &nbsp;  at com.canoo.webtest=
.steps.request.Target.getResponse(Target.java:179)<BR>=0A [testSpec]&nbsp; =
&nbsp;  at com.canoo.webtest.steps.request.Target$2.call(Target.java:156)<B=
R>=0A [testSpec]&nbsp; &nbsp;  at com.canoo.webtest.steps.request.Target.pr=
otectedGoto(Target.java:106)<BR>=0A [testSpec]&nbsp; &nbsp;  at com.canoo.w=
ebtest.steps.request.Target.gotoTarget(Target.java:153)<BR>=0A [testSpec]&n=
bsp; &nbsp;  at com.canoo.webtest.steps.request.InvokePage.doExecute(Invoke=
Page.java:37)<BR>=0A [testSpec]&nbsp; &nbsp;  at com.canoo.webtest.steps.St=
ep.execute(Step.java:99)<BR>=0A [testSpec]&nbsp; &nbsp;  at com.canoo.webte=
st.engine.Engine.executeSteps(Engine.java:26)<BR>=0A [testSpec]&nbsp; &nbsp=
;  at com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecification=
Task.java:68)<BR>=0A [testSpec]&nbsp; &nbsp;  at org.apache.tools.ant.Unkno=
wnElement.execute(UnknownElement.java:269)<BR>=0A [testSpec]&nbsp; &nbsp;  =
at org.apache.tools.ant.Task.perform(Task.java:364)<BR>=0A [testSpec]&nbsp;=
 &nbsp;  at org.apache.tools.ant.Target.execute(Target.java:301)<BR>=0A [te=
stSpec]&nbsp; &nbsp;  at org.apache.tools.ant.Target.performTasks(Target.ja=
va:328)<BR>=0A [testSpec]&nbsp; &nbsp;  at org.apache.tools.ant.Project.exe=
cuteTarget(Project.java:1215)<BR>=0A [testSpec]&nbsp; &nbsp;  at org.apache=
.tools.ant.Project.executeTargets(Project.java:1063)<BR>=0A [testSpec]&nbsp=
; &nbsp;  at org.apache.tools.ant.Main.runBuild(Main.java:632)<BR>=0A [test=
Spec]&nbsp; &nbsp;  at org.apache.tools.ant.Main.startAnt(Main.java:183)<BR=
>=0A [testSpec]&nbsp; &nbsp;  at org.apache.tools.ant.launch.Launcher.run(L=
auncher.java:197)<BR>=0A [testSpec]&nbsp; &nbsp;  at org.apache.tools.ant.l=
aunch.Launcher.main(Launcher.java:56)<BR>=0A [testSpec] Caused by: java.net=
.ConnectException: Connection refused: connect<BR>=0A [testSpec]&nbsp; &nbs=
p;  at java.net.PlainSocketImpl.socketConnect(Native Method)<BR>=0A [testSp=
ec]&nbsp; &nbsp;  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.jav=
a:305)<BR>=0A [testSpec]&nbsp; &nbsp;  at java.net.PlainSocketImpl.connectT=
oAddress(PlainSocketImpl.java:171)<BR>=0A [testSpec]&nbsp; &nbsp;  at java.=
net.PlainSocketImpl.connect(PlainSocketImpl.java:158)<BR>=0A [testSpec]&nbs=
p; &nbsp;  at java.net.Socket.connect(Socket.java:452)<BR>=0A [testSpec]&nb=
sp; &nbsp;  at java.net.Socket.connect(Socket.java:402)<BR>=0A [testSpec]&n=
bsp; &nbsp;  at sun.net.NetworkClient.doConnect(NetworkClient.java:139)<BR>=
=0A [testSpec]&nbsp; &nbsp;  at sun.net.www.http.HttpClient.openServer(Http=
Client.java:402)<BR>=0A [testSpec]&nbsp; &nbsp;  at sun.net.www.http.HttpCl=
ient.openServer(HttpClient.java:618)<BR>=0A [testSpec]&nbsp; &nbsp;  at sun=
.net.www.http.HttpClient.&lt;init&gt;(HttpClient.java:306)<BR>=0A [testSpec=
]&nbsp; &nbsp;  at sun.net.www.http.HttpClient.&lt;init&gt;(HttpClient.java=
:267)<BR>=0A [testSpec]&nbsp; &nbsp;  at sun.net.www.http.HttpClient.New(Ht=
tpClient.java:339)<BR>=0A [testSpec]&nbsp; &nbsp;  at sun.net.www.http.Http=
Client.New(HttpClient.java:320)<BR>=0A [testSpec]&nbsp; &nbsp;  at sun.net.=
www.http.HttpClient.New(HttpClient.java:315)<BR>=0A [testSpec]&nbsp; &nbsp;=
  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnec=
tion.java:512)<BR>=0A [testSpec]&nbsp; &nbsp;  at sun.net.www.protocol.http=
.HttpURLConnection.connect(HttpURLConnection.java:489)<BR>=0A [testSpec]&nb=
sp; &nbsp;  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(H=
ttpURLConnection.java:617)<BR>=0A [testSpec]&nbsp; &nbsp;  at sun.net.www.p=
rotocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:149=
0)<BR>=0A [testSpec]&nbsp; &nbsp;  at com.meterware.httpunit.HttpWebRespons=
e.loadHeaders(HttpWebResponse.java:217)<BR>=0A [testSpec]&nbsp; &nbsp;  at =
com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:195=
)<BR>=0A [testSpec]&nbsp; &nbsp;  ... 25 more<BR>=0A<BR>=0ABUILD FAILED<BR>=
=0AD:\WebTest\doc\samples\simpleTest.xml:10: Test failed.<BR>=0AException r=
aised: com.canoo.webtest.engine.StepExecutionException: Unexpected exceptio=
n caught: java.io.IOException, Step: InvokePage at D:\WebTest\doc\samples\s=
impleTest.xml:19:&nbsp; wit<BR>=0Aet Login Page&quot;, url=3D&quot;login&qu=
ot;, stepType=3D&quot;invoke&quot;)com.canoo.webtest.engine.StepExecutionEx=
ception: Unexpected exception caught: java.io.IOException, Step: InvokePage=
 at D:\WebTest\doc\sa<BR>=0ATest.xml:19:&nbsp; with (stepId=3D&quot;get Log=
in Page&quot;, url=3D&quot;login&quot;, stepType=3D&quot;invoke&quot;)<BR>=
=0A&nbsp; &nbsp; &nbsp; &nbsp; at com.canoo.webtest.steps.Step.handleUnexpe=
ctedException(Step.java:334)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at com.canoo=
.webtest.steps.request.Target.protectedGoto(Target.java:115)<BR>=0A&nbsp; &=
nbsp; &nbsp; &nbsp; at com.canoo.webtest.steps.request.Target.gotoTarget(Ta=
rget.java:153)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at com.canoo.webtest.steps=
.request.InvokePage.doExecute(InvokePage.java:37)<BR>=0A&nbsp; &nbsp; &nbsp=
; &nbsp; at com.canoo.webtest.steps.Step.execute(Step.java:99)<BR>=0A&nbsp;=
 &nbsp; &nbsp; &nbsp; at com.canoo.webtest.engine.Engine.executeSteps(Engin=
e.java:26)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at com.canoo.webtest.ant.TestS=
pecificationTask.execute(TestSpecificationTask.java:68)<BR>=0A&nbsp; &nbsp;=
 &nbsp; &nbsp; at org.apache.tools.ant.UnknownElement.execute(UnknownElemen=
t.java:269)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.tools.ant.Task.=
perform(Task.java:364)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.tool=
s.ant.Target.execute(Target.java:301)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at =
org.apache.tools.ant.Target.performTasks(Target.java:328)<BR>=0A&nbsp; &nbs=
p; &nbsp; &nbsp; at org.apache.tools.ant.Project.executeTarget(Project.java=
:1215)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.tools.ant.Project.ex=
ecuteTargets(Project.java:1063)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at org.ap=
ache.tools.ant.Main.runBuild(Main.java:632)<BR>=0A&nbsp; &nbsp; &nbsp; &nbs=
p; at org.apache.tools.ant.Main.startAnt(Main.java:183)<BR>=0A&nbsp; &nbsp;=
 &nbsp; &nbsp; at org.apache.tools.ant.launch.Launcher.run(Launcher.java:19=
7)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.tools.ant.launch.Launche=
r.main(Launcher.java:56)<BR>=0A<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; at com.ca=
noo.webtest.ant.TestSpecificationTask.stopBuildIfNeeded(TestSpecificationTa=
sk.java:78)<BR>=0A<BR>=0Aexpecting a reply please .....<BR>=0AOn Fri, 18 Ju=
n 2004 Arvind Joshi wrote :<BR>=0A&gt;Hi ,<BR>=0A&gt;<BR>=0A&gt;U have to m=
ake proper changes to the &quot;installTest.xml&quot; according to your<BR>=
=0A&gt;environment (config part), before running the test.<BR>=0A&gt;<BR>=
=0A&gt;Thanks,<BR>=0A&gt;<BR>=0A&gt;Arvind<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;=
<BR>=0A&gt;-----Original Message-----<BR>=0A&gt; From: webtest-admin@gate2.=
canoo.com [mailto:webtest-admin@gate2.canoo.com]On<BR>=0A&gt;Behalf Of suma=
thi P<BR>=0A&gt;Sent: Friday, June 18, 2004 2:56 PM<BR>=0A&gt;To: webtest@g=
ate2.canoo.com<BR>=0A&gt;Subject: [Webtest] (no subject)<BR>=0A&gt;<BR>=0A&=
gt;<BR>=0A&gt;<BR>=0A&gt;&nbsp;  Hello ,<BR>=0A&gt;&nbsp;  I'm new to this =
application . Can any one please guide me through&nbsp; the<BR>=0A&gt;confi=
guration processes .<BR>=0A&gt;&nbsp;  I tried by running<BR>=0A&gt;&nbsp; =
 ant -buildfile installTest.xml<BR>=0A&gt;<BR>=0A&gt;&nbsp;  I'm getting th=
e following exception,<BR>=0A&gt;<BR>=0A&gt;&nbsp;  E:\PreVista\CanooWebTes=
t\doc\samples&gt;ant -buildfile installTest.xml<BR>=0A&gt;&nbsp;  Buildfile=
: installTest.xml<BR>=0A&gt;<BR>=0A&gt;&nbsp;  checkANT:<BR>=0A&gt;<BR>=0A&=
gt;&nbsp;  mayPrintANTError:<BR>=0A&gt;<BR>=0A&gt;&nbsp;  checkWebTest:<BR>=
=0A&gt;&nbsp; &nbsp; &nbsp;  [echo] base dir is E:\PreVista\CanooWebTest\do=
c\samples<BR>=0A&gt;&nbsp;  [testSpec] ERROR (Step.java:333) - Cannot handl=
e unexpected exception in<BR>=0A&gt;step InvokePage at&nbsp; with (stepId=
=3D&quot;get local file&quot;, url=3D&quot;E:\PreVista\Cano<BR>=0A&gt;&nbsp=
;  [testSpec] java.net.UnknownHostException: E<BR>=0A&gt;&nbsp;  [testSpec]=
&nbsp; &nbsp; at<BR>=0A&gt;java.net.PlainSocketImpl.connect(PlainSocketImpl=
.java:153)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at java.net.Socket.con=
nect(Socket.java:452)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at java.net=
.Socket.connect(Socket.java:402)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; =
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)<BR>=0A&gt;&nbsp;=
  [testSpec]&nbsp; &nbsp; at sun.net.NetworkClient.openServer(NetworkClient=
.java:118)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at sun.net.ftp.FtpClie=
nt.openServer(FtpClient.java:423)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp;=
 at sun.net.ftp.FtpClient.&lt;init&gt;(FtpClient.java:692)<BR>=0A&gt;&nbsp;=
  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;sun.net.www.protocol.ftp.FtpURLConne=
ction.connect(FtpURLConnection.java:175)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp;=
 &nbsp; at<BR>=0A&gt;sun.net.www.protocol.ftp.FtpURLConnection.getInputStre=
am(FtpURLConnection.ja<BR>=0A&gt;va:257)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp;=
 &nbsp; at<BR>=0A&gt;com.meterware.httpunit.HttpWebResponse.getInputStream(=
HttpWebResponse.java:6<BR>=0A&gt;8)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbs=
p; at<BR>=0A&gt;com.meterware.httpunit.HttpWebResponse.&lt;init&gt;(HttpWeb=
Response.java:61)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;co=
m.meterware.httpunit.WebConversation.newResponse(WebConversation.java:61)<B=
R>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;com.meterware.httpuni=
t.WebWindow.getResource(WebWindow.java:162)<BR>=0A&gt;&nbsp;  [testSpec]&nb=
sp; &nbsp; at<BR>=0A&gt;com.meterware.httpunit.WebWindow.getSubframeRespons=
e(WebWindow.java:125)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&g=
t;com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)<BR>=0A&g=
t;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;com.meterware.httpunit.WebWi=
ndow.getResponse(WebWindow.java:99)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbs=
p; at<BR>=0A&gt;com.meterware.httpunit.WebClient.getResponse(WebClient.java=
:86)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;com.canoo.webte=
st.steps.request.Target.getResponse(Target.java:179)<BR>=0A&gt;&nbsp;  [tes=
tSpec]&nbsp; &nbsp; at<BR>=0A&gt;com.canoo.webtest.steps.request.Target$2.c=
all(Target.java:156)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt=
;com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)<BR>=
=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;com.canoo.webtest.steps=
.request.Target.gotoTarget(Target.java:153)<BR>=0A&gt;&nbsp;  [testSpec]&nb=
sp; &nbsp; at<BR>=0A&gt;com.canoo.webtest.steps.request.InvokePage.doExecut=
e(InvokePage.java:37)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at com.cano=
o.webtest.steps.Step.execute(Step.java:99)<BR>=0A&gt;&nbsp;  [testSpec]&nbs=
p; &nbsp; at<BR>=0A&gt;com.canoo.webtest.engine.Engine.executeSteps(Engine.=
java:26)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;com.canoo.w=
ebtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja<BR>=0A&gt=
;va:68)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;org.apache.t=
ools.ant.UnknownElement.execute(UnknownElement.java:166)<BR>=0A&gt;&nbsp;  =
[testSpec]&nbsp; &nbsp; at org.apache.tools.ant.Task.perform(Task.java:317)=
<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at org.apache.tools.ant.Target.e=
xecute(Target.java:309)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at org.ap=
ache.tools.ant.Target.performTasks(Target.java:334)<BR>=0A&gt;&nbsp;  [test=
Spec]&nbsp; &nbsp; at<BR>=0A&gt;org.apache.tools.ant.Project.executeTarget(=
Project.java:1306)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at<BR>=0A&gt;o=
rg.apache.tools.ant.Project.executeTargets(Project.java:1250)<BR>=0A&gt;&nb=
sp;  [testSpec]&nbsp; &nbsp; at org.apache.tools.ant.Main.runBuild(Main.jav=
a:610)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at org.apache.tools.ant.Ma=
in.start(Main.java:196)<BR>=0A&gt;&nbsp;  [testSpec]&nbsp; &nbsp; at org.ap=
ache.tools.ant.Main.main(Main.java:235)<BR>=0A&gt;<BR>=0A&gt;&nbsp;  BUILD =
FAILED<BR>=0A&gt;&nbsp;  file:E:/PreVista/CanooWebTest/doc/samples/installT=
est.xml:10: Test failed.<BR>=0A&gt;&nbsp;  Exception raised: com.canoo.webt=
est.engine.StepExecutionException:<BR>=0A&gt;Unexpected exception caught: j=
ava.net.UnknownHostException: E, Step:<BR>=0A&gt;InvokePage<BR>=0A&gt;&nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;  at<BR>=0A&gt;com.canoo.webtest.steps.Step.ha=
ndleUnexpectedException(Step.java:334)<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp;  at<BR>=0A&gt;com.canoo.webtest.steps.request.Target.protectedGoto=
(Target.java:115)<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  at<BR>=0A&g=
t;com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:153)<BR>=0A=
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  at<BR>=0A&gt;com.canoo.webtest.step=
s.request.InvokePage.doExecute(InvokePage.java:37)<BR>=0A&gt;&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp;  at com.canoo.webtest.steps.Step.execute(Step.java:99)=
<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  at com.canoo.webtest.engine.=
Engine.executeSteps(Engine.java:26)<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp;  at<BR>=0A&gt;com.canoo.webtest.ant.TestSpecificationTask.execute(Tes=
tSpecificationTask.ja<BR>=0A&gt;va:68)<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp;  at<BR>=0A&gt;org.apache.tools.ant.UnknownElement.execute(UnknownE=
lement.java:166)<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  at org.apach=
e.tools.ant.Task.perform(Task.java:317)<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp;  at org.apache.tools.ant.Target.execute(Target.java:309)<BR>=0A&g=
t;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Target.perfor=
mTasks(Target.java:334)<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  at or=
g.apache.tools.ant.Project.executeTarget(Project.java:1306)<BR>=0A&gt;&nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Project.executeTarge=
ts(Project.java:1250)<BR>=0A&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  at org.=
apache.tools.ant.Main.runBuild(Main.java:610)<BR>=0A&gt;&nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp;  at org.apache.tools.ant.Main.start(Main.java:196)<BR>=0A&g=
t;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Main.main(Mai=
n.java:235)<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;&nbsp;  Total time: 26 seconds<=
BR>=0A&gt;&nbsp;  E:\PreVista\CanooWebTest\doc\samples&gt;ant -buildfile in=
stallTest.xml<BR>=0A&gt;<BR>=0A&gt;&nbsp;  please tell me what cud be the p=
roblem<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;<BR>=0A&gt;<BR>=0A=0A</P>=0A=0A=0A<b=
r><br>=0A<A target=3D"_blank" HREF=3D"http://clients.rediff.com/signature/t=
rack_sig.asp"><IMG SRC=3D"http://ads.rediff.com/RealMedia/ads/adstream_nx.c=
gi/www.rediffmail.com/inbox.htm@Bottom" BORDER=3D0 VSPACE=3D0 HSPACE=3D0></=
a>=0A
--Next_1088061467---0-202.54.124.151-18047
Content-type: text/plain;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

 =A0=0Ahi ,=0AI'm through with the installation process , =0Awhen i try to =
work with the sampleTest.xml,I'm getting the following exception ,=0A=0AD:\=
WebTest\doc\samples>ant -v buildfile simpleTest.xml=0AApache Ant version 1.=
6.1 compiled on February 12 2004=0ABuildfile: build.xml does not exist!=0AB=
uild failed=0AD:\WebTest\doc\samples>ant -v -buildfile simpleTest.xml=0AApa=
che Ant version 1.6.1 compiled on February 12 2004=0ABuildfile: simpleTest.=
xml=0ADetected Java version: 1.4 in: D:\j2sdk1.4.2_03\jre=0ADetected OS: Wi=
ndows XP=0Aparsing buildfile D:\WebTest\doc\samples\simpleTest.xml with URI=
 =3D file:///D:/WebTest/doc/samples/simpleTest.xml=0AProject base dir set t=
o: D:\WebTest\doc\samples=0ABuild sequence for target `main' is [main]=0ACo=
mplete build sequence is [main, ]=0A=0Amain:=0A [testSpec] ERROR (Step.java=
:333) - Cannot handle unexpected exception in step InvokePage at D:\WebTest=
\doc\samples\simpleTest.xml:19:  with (stepId=3D"get Login Page", url=3D"lo=
gin", ste=0Ae")=0A [testSpec] java.io.IOException=0A [testSpec]     at sun.=
net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja=
va:593)=0A [testSpec]     at java.net.HttpURLConnection.getResponseCode(Htt=
pURLConnection.java:272)=0A [testSpec]     at com.meterware.httpunit.HttpWe=
bResponse.readResponseHeader(HttpWebResponse.java:159)=0A [testSpec]     at=
 com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:19=
7)=0A [testSpec]     at com.meterware.httpunit.HttpWebResponse.<init>(HttpW=
ebResponse.java:53)=0A [testSpec]     at com.meterware.httpunit.WebConversa=
tion.newResponse(WebConversation.java:61)=0A [testSpec]     at com.meterwar=
e.httpunit.WebWindow.getResource(WebWindow.java:162)=0A [testSpec]     at c=
om.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:125)=0A =
[testSpec]     at com.meterware.httpunit.WebWindow.getResponse(WebWindow.ja=
va:118)=0A [testSpec]     at com.meterware.httpunit.WebWindow.getResponse(W=
ebWindow.java:99)=0A [testSpec]     at com.meterware.httpunit.WebClient.get=
Response(WebClient.java:86)=0A [testSpec]     at com.canoo.webtest.steps.re=
quest.Target.getResponse(Target.java:179)=0A [testSpec]     at com.canoo.we=
btest.steps.request.Target$2.call(Target.java:156)=0A [testSpec]     at com=
.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)=0A [test=
Spec]     at com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:=
153)=0A [testSpec]     at com.canoo.webtest.steps.request.InvokePage.doExec=
ute(InvokePage.java:37)=0A [testSpec]     at com.canoo.webtest.steps.Step.e=
xecute(Step.java:99)=0A [testSpec]     at com.canoo.webtest.engine.Engine.e=
xecuteSteps(Engine.java:26)=0A [testSpec]     at com.canoo.webtest.ant.Test=
SpecificationTask.execute(TestSpecificationTask.java:68)=0A [testSpec]     =
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)=0A =
[testSpec]     at org.apache.tools.ant.Task.perform(Task.java:364)=0A [test=
Spec]     at org.apache.tools.ant.Target.execute(Target.java:301)=0A [testS=
pec]     at org.apache.tools.ant.Target.performTasks(Target.java:328)=0A [t=
estSpec]     at org.apache.tools.ant.Project.executeTarget(Project.java:121=
5)=0A [testSpec]     at org.apache.tools.ant.Project.executeTargets(Project=
.java:1063)=0A [testSpec]     at org.apache.tools.ant.Main.runBuild(Main.ja=
va:632)=0A [testSpec]     at org.apache.tools.ant.Main.startAnt(Main.java:1=
83)=0A [testSpec]     at org.apache.tools.ant.launch.Launcher.run(Launcher.=
java:197)=0A [testSpec]     at org.apache.tools.ant.launch.Launcher.main(La=
uncher.java:56)=0A [testSpec] Caused by: java.net.ConnectException: Connect=
ion refused: connect=0A [testSpec]     at java.net.PlainSocketImpl.socketCo=
nnect(Native Method)=0A [testSpec]     at java.net.PlainSocketImpl.doConnec=
t(PlainSocketImpl.java:305)=0A [testSpec]     at java.net.PlainSocketImpl.c=
onnectToAddress(PlainSocketImpl.java:171)=0A [testSpec]     at java.net.Pla=
inSocketImpl.connect(PlainSocketImpl.java:158)=0A [testSpec]     at java.ne=
t.Socket.connect(Socket.java:452)=0A [testSpec]     at java.net.Socket.conn=
ect(Socket.java:402)=0A [testSpec]     at sun.net.NetworkClient.doConnect(N=
etworkClient.java:139)=0A [testSpec]     at sun.net.www.http.HttpClient.ope=
nServer(HttpClient.java:402)=0A [testSpec]     at sun.net.www.http.HttpClie=
nt.openServer(HttpClient.java:618)=0A [testSpec]     at sun.net.www.http.Ht=
tpClient.<init>(HttpClient.java:306)=0A [testSpec]     at sun.net.www.http.=
HttpClient.<init>(HttpClient.java:267)=0A [testSpec]     at sun.net.www.htt=
p.HttpClient.New(HttpClient.java:339)=0A [testSpec]     at sun.net.www.http=
.HttpClient.New(HttpClient.java:320)=0A [testSpec]     at sun.net.www.http.=
HttpClient.New(HttpClient.java:315)=0A [testSpec]     at sun.net.www.protoc=
ol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:512)=0A [test=
Spec]     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLCon=
nection.java:489)=0A [testSpec]     at sun.net.www.protocol.http.HttpURLCon=
nection.getInputStream(HttpURLConnection.java:617)=0A [testSpec]     at sun=
.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnectio=
n.java:1490)=0A [testSpec]     at com.meterware.httpunit.HttpWebResponse.lo=
adHeaders(HttpWebResponse.java:217)=0A [testSpec]     at com.meterware.http=
unit.HttpWebResponse.readHeaders(HttpWebResponse.java:195)=0A [testSpec]   =
  ... 25 more=0A=0ABUILD FAILED=0AD:\WebTest\doc\samples\simpleTest.xml:10:=
 Test failed.=0AException raised: com.canoo.webtest.engine.StepExecutionExc=
eption: Unexpected exception caught: java.io.IOException, Step: InvokePage =
at D:\WebTest\doc\samples\simpleTest.xml:19:  wit=0Aet Login Page", url=3D"=
login", stepType=3D"invoke")com.canoo.webtest.engine.StepExecutionException=
: Unexpected exception caught: java.io.IOException, Step: InvokePage at D:\=
WebTest\doc\sa=0ATest.xml:19:  with (stepId=3D"get Login Page", url=3D"logi=
n", stepType=3D"invoke")=0A        at com.canoo.webtest.steps.Step.handleUn=
expectedException(Step.java:334)=0A        at com.canoo.webtest.steps.reque=
st.Target.protectedGoto(Target.java:115)=0A        at com.canoo.webtest.ste=
ps.request.Target.gotoTarget(Target.java:153)=0A        at com.canoo.webtes=
t.steps.request.InvokePage.doExecute(InvokePage.java:37)=0A        at com.c=
anoo.webtest.steps.Step.execute(Step.java:99)=0A        at com.canoo.webtes=
t.engine.Engine.executeSteps(Engine.java:26)=0A        at com.canoo.webtest=
.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)=0A       =
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)=0A=
        at org.apache.tools.ant.Task.perform(Task.java:364)=0A        at or=
g.apache.tools.ant.Target.execute(Target.java:301)=0A        at org.apache.=
tools.ant.Target.performTasks(Target.java:328)=0A        at org.apache.tool=
s.ant.Project.executeTarget(Project.java:1215)=0A        at org.apache.tool=
s.ant.Project.executeTargets(Project.java:1063)=0A        at org.apache.too=
ls.ant.Main.runBuild(Main.java:632)=0A        at org.apache.tools.ant.Main.=
startAnt(Main.java:183)=0A        at org.apache.tools.ant.launch.Launcher.r=
un(Launcher.java:197)=0A        at org.apache.tools.ant.launch.Launcher.mai=
n(Launcher.java:56)=0A=0A        at com.canoo.webtest.ant.TestSpecification=
Task.stopBuildIfNeeded(TestSpecificationTask.java:78)=0A=0Aexpecting a repl=
y please .....=0AOn Fri, 18 Jun 2004 Arvind Joshi wrote :=0A>Hi ,=0A>=0A>U =
have to make proper changes to the "installTest.xml" according to your=0A>e=
nvironment (config part), before running the test.=0A>=0A>Thanks,=0A>=0A>Ar=
vind=0A>=0A>=0A>=0A>-----Original Message-----=0A> From: webtest-admin@gate=
2.canoo.com [mailto:webtest-admin@gate2.canoo.com]On=0A>Behalf Of sumathi P=
=0A>Sent: Friday, June 18, 2004 2:56 PM=0A>To: webtest@gate2.canoo.com=0A>S=
ubject: [Webtest] (no subject)=0A>=0A>=0A>=0A>   Hello ,=0A>   I'm new to t=
his application . Can any one please guide me through  the=0A>configuration=
 processes .=0A>   I tried by running=0A>   ant -buildfile installTest.xml=
=0A>=0A>   I'm getting the following exception,=0A>=0A>   E:\PreVista\Canoo=
WebTest\doc\samples>ant -buildfile installTest.xml=0A>   Buildfile: install=
Test.xml=0A>=0A>   checkANT:=0A>=0A>   mayPrintANTError:=0A>=0A>   checkWeb=
Test:=0A>       [echo] base dir is E:\PreVista\CanooWebTest\doc\samples=0A>=
   [testSpec] ERROR (Step.java:333) - Cannot handle unexpected exception in=
=0A>step InvokePage at  with (stepId=3D"get local file", url=3D"E:\PreVista=
\Cano=0A>   [testSpec] java.net.UnknownHostException: E=0A>   [testSpec]   =
 at=0A>java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)=0A>   [te=
stSpec]    at java.net.Socket.connect(Socket.java:452)=0A>   [testSpec]    =
at java.net.Socket.connect(Socket.java:402)=0A>   [testSpec]    at sun.net.=
NetworkClient.doConnect(NetworkClient.java:139)=0A>   [testSpec]    at sun.=
net.NetworkClient.openServer(NetworkClient.java:118)=0A>   [testSpec]    at=
 sun.net.ftp.FtpClient.openServer(FtpClient.java:423)=0A>   [testSpec]    a=
t sun.net.ftp.FtpClient.<init>(FtpClient.java:692)=0A>   [testSpec]    at=
=0A>sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java=
:175)=0A>   [testSpec]    at=0A>sun.net.www.protocol.ftp.FtpURLConnection.g=
etInputStream(FtpURLConnection.ja=0A>va:257)=0A>   [testSpec]    at=0A>com.=
meterware.httpunit.HttpWebResponse.getInputStream(HttpWebResponse.java:6=0A=
>8)=0A>   [testSpec]    at=0A>com.meterware.httpunit.HttpWebResponse.<init>=
(HttpWebResponse.java:61)=0A>   [testSpec]    at=0A>com.meterware.httpunit.=
WebConversation.newResponse(WebConversation.java:61)=0A>   [testSpec]    at=
=0A>com.meterware.httpunit.WebWindow.getResource(WebWindow.java:162)=0A>   =
[testSpec]    at=0A>com.meterware.httpunit.WebWindow.getSubframeResponse(We=
bWindow.java:125)=0A>   [testSpec]    at=0A>com.meterware.httpunit.WebWindo=
w.getResponse(WebWindow.java:118)=0A>   [testSpec]    at=0A>com.meterware.h=
ttpunit.WebWindow.getResponse(WebWindow.java:99)=0A>   [testSpec]    at=0A>=
com.meterware.httpunit.WebClient.getResponse(WebClient.java:86)=0A>   [test=
Spec]    at=0A>com.canoo.webtest.steps.request.Target.getResponse(Target.ja=
va:179)=0A>   [testSpec]    at=0A>com.canoo.webtest.steps.request.Target$2.=
call(Target.java:156)=0A>   [testSpec]    at=0A>com.canoo.webtest.steps.req=
uest.Target.protectedGoto(Target.java:106)=0A>   [testSpec]    at=0A>com.ca=
noo.webtest.steps.request.Target.gotoTarget(Target.java:153)=0A>   [testSpe=
c]    at=0A>com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage=
.java:37)=0A>   [testSpec]    at com.canoo.webtest.steps.Step.execute(Step.=
java:99)=0A>   [testSpec]    at=0A>com.canoo.webtest.engine.Engine.executeS=
teps(Engine.java:26)=0A>   [testSpec]    at=0A>com.canoo.webtest.ant.TestSp=
ecificationTask.execute(TestSpecificationTask.ja=0A>va:68)=0A>   [testSpec]=
    at=0A>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:1=
66)=0A>   [testSpec]    at org.apache.tools.ant.Task.perform(Task.java:317)=
=0A>   [testSpec]    at org.apache.tools.ant.Target.execute(Target.java:309=
)=0A>   [testSpec]    at org.apache.tools.ant.Target.performTasks(Target.ja=
va:334)=0A>   [testSpec]    at=0A>org.apache.tools.ant.Project.executeTarge=
t(Project.java:1306)=0A>   [testSpec]    at=0A>org.apache.tools.ant.Project=
.executeTargets(Project.java:1250)=0A>   [testSpec]    at org.apache.tools.=
ant.Main.runBuild(Main.java:610)=0A>   [testSpec]    at org.apache.tools.an=
t.Main.start(Main.java:196)=0A>   [testSpec]    at org.apache.tools.ant.Mai=
n.main(Main.java:235)=0A>=0A>   BUILD FAILED=0A>   file:E:/PreVista/CanooWe=
bTest/doc/samples/installTest.xml:10: Test failed.=0A>   Exception raised: =
com.canoo.webtest.engine.StepExecutionException:=0A>Unexpected exception ca=
ught: java.net.UnknownHostException: E, Step:=0A>InvokePage=0A>           a=
t=0A>com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:334)=
=0A>           at=0A>com.canoo.webtest.steps.request.Target.protectedGoto(T=
arget.java:115)=0A>           at=0A>com.canoo.webtest.steps.request.Target.=
gotoTarget(Target.java:153)=0A>           at=0A>com.canoo.webtest.steps.req=
uest.InvokePage.doExecute(InvokePage.java:37)=0A>           at com.canoo.we=
btest.steps.Step.execute(Step.java:99)=0A>           at com.canoo.webtest.e=
ngine.Engine.executeSteps(Engine.java:26)=0A>           at=0A>com.canoo.web=
test.ant.TestSpecificationTask.execute(TestSpecificationTask.ja=0A>va:68)=
=0A>           at=0A>org.apache.tools.ant.UnknownElement.execute(UnknownEle=
ment.java:166)=0A>           at org.apache.tools.ant.Task.perform(Task.java=
:317)=0A>           at org.apache.tools.ant.Target.execute(Target.java:309)=
=0A>           at org.apache.tools.ant.Target.performTasks(Target.java:334)=
=0A>           at org.apache.tools.ant.Project.executeTarget(Project.java:1=
306)=0A>           at org.apache.tools.ant.Project.executeTargets(Project.j=
ava:1250)=0A>           at org.apache.tools.ant.Main.runBuild(Main.java:610=
)=0A>           at org.apache.tools.ant.Main.start(Main.java:196)=0A>      =
     at org.apache.tools.ant.Main.main(Main.java:235)=0A>=0A>=0A>   Total t=
ime: 26 seconds=0A>   E:\PreVista\CanooWebTest\doc\samples>ant -buildfile i=
nstallTest.xml=0A>=0A>   please tell me what cud be the problem=0A>=0A>=0A>=
=0A>=0A=0A=0A
--Next_1088061467---0-202.54.124.151-18047--