[Webtest] WebTestOverview.xml does not exist

Pascal Probst (dplan GmbH) Pascal Probst (dplan GmbH)" <Pascal.Probst@dplan.ch
Fri, 24 Jun 2011 15:29:08 +0200


--_000_22A6C19EE29E5E409079F325443EAD840217872C5A1Emx001centau_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hy All

If i try to use code like this i always get this Error...
Does some one now with property is missing there?


                                               def page =3D step.context.cu=
rrentResponse
                                               def pageAsXML =3D  page.asXm=
l()
                                               def file =3D new File('./htm=
lunit.html')
                                               file.write(pageAsXML)


 There was 1 error:
1) testPSBNS(PSBNSWebtestTest)groovy.lang.MissingPropertyException: No such=
 property: step for class: PSBNSWebtestTest
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptB=
ytecodeAdapter.java:49)
        at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProp=
erty(PogoGetPropertySite.java:49)
.
.
.
.


FAILURES!!!
Tests run: 1,  Failures: 0,  Errors: 1


wt.parallel.waitForCompletion:

wt.htmlReports:
     [echo] Waiting for completion of background generation of single repor=
ts
     [echo] Generating WebTestOverview

wt.openResultFile.init:

wt.openResultFile:
     [echo] Opening result file C:\myWebTestProject\results\index.html with=
 cmd

wt.junitLikeReports:

BUILD FAILED
C:\Webtest\webtest.xml:446: input file C:\myWebTestProject\results\WebTestO=
verview.xml does not exist


Best regards
Pascal

--_000_22A6C19EE29E5E409079F325443EAD840217872C5A1Emx001centau_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.E-MailFormatvorlage17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DDE-CH link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hy All <o:p></o:=
p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>If i t=
ry to use code like this i always get this Error&#8230;<o:p></o:p></p><p cl=
ass=3DMsoNormal>Does some one now with property is missing there?<o:p></o:p=
></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><o:p>&n=
bsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; <span lang=3DFR-CH>def page =3D step.context.currentResponse<o:=
p></o:p></span></p><p class=3DMsoNormal><span lang=3DFR-CH>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; def pageAsXML =3D&nbsp; page.asXml()<o:=
p></o:p></span></p><p class=3DMsoNormal><span lang=3DFR-CH>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; def file =3D new File('./htmlunit.html'=
)<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DFR-CH>&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>file.write(pageAsXML)<o:p></=
o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><o:p=
>&nbsp;</o:p></p><p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-=
family:"Times New Roman","serif";mso-fareast-language:DE-CH'>&nbsp;There wa=
s 1 error:<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-si=
ze:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:DE-CH'=
>1) testPSBNS(PSBNSWebtestTest)groovy.lang.MissingPropertyException: No suc=
h property: step for class: PSBNSWebtestTest<o:p></o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New Roman",=
"serif";mso-fareast-language:DE-CH'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytec=
odeAdapter.java:49)<o:p></o:p></span></p><p class=3DMsoNormal><span style=
=3D'font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-lang=
uage:DE-CH'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.codehaus.groo=
vy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.jav=
a:49)<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:12=
.0pt;font-family:"Times New Roman","serif";mso-fareast-language:DE-CH'>.<o:=
p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:12.0pt;fon=
t-family:"Times New Roman","serif";mso-fareast-language:DE-CH'>.<o:p></o:p>=
</span></p><p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family=
:"Times New Roman","serif";mso-fareast-language:DE-CH'>.<o:p></o:p></span><=
/p><p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times =
New Roman","serif";mso-fareast-language:DE-CH'>.<o:p></o:p></span></p><p cl=
ass=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New Roma=
n","serif";mso-fareast-language:DE-CH'><o:p>&nbsp;</o:p></span></p><p class=
=3DMsoNormal><span style=3D'mso-fareast-language:DE-CH'><o:p>&nbsp;</o:p></=
span></p><p class=3DMsoNormal><span lang=3DFR-CH style=3D'mso-fareast-langu=
age:DE-CH'>FAILURES!!!<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DFR-CH style=3D'mso-fareast-language:DE-CH'>Tests run: 1,&nbsp; Failures:=
 0,&nbsp; Errors: 1<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3D=
FR-CH style=3D'mso-fareast-language:DE-CH'><o:p>&nbsp;</o:p></span></p><p c=
lass=3DMsoNormal><span lang=3DFR-CH style=3D'mso-fareast-language:DE-CH'><o=
:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'mso-fareast-l=
anguage:DE-CH'>wt.parallel.waitForCompletion:<o:p></o:p></span></p><p class=
=3DMsoNormal><span style=3D'mso-fareast-language:DE-CH'><o:p>&nbsp;</o:p></=
span></p><p class=3DMsoNormal><span style=3D'mso-fareast-language:DE-CH'>wt=
.htmlReports:<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'mso-=
fareast-language:DE-CH'>&nbsp;&nbsp;&nbsp;&nbsp; [echo] Waiting for complet=
ion of background generation of single reports<o:p></o:p></span></p><p clas=
s=3DMsoNormal><span style=3D'mso-fareast-language:DE-CH'>&nbsp;&nbsp;&nbsp;=
&nbsp; [echo] Generating WebTestOverview<o:p></o:p></span></p><p class=3DMs=
oNormal><span style=3D'mso-fareast-language:DE-CH'><o:p>&nbsp;</o:p></span>=
</p><p class=3DMsoNormal><span style=3D'mso-fareast-language:DE-CH'>wt.open=
ResultFile.init:<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'm=
so-fareast-language:DE-CH'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal=
><span style=3D'mso-fareast-language:DE-CH'>wt.openResultFile:<o:p></o:p></=
span></p><p class=3DMsoNormal><span style=3D'mso-fareast-language:DE-CH'>&n=
bsp;&nbsp;&nbsp;&nbsp; [echo] Opening result file C:\myWebTestProject\resul=
ts\index.html with cmd<o:p></o:p></span></p><p class=3DMsoNormal><span styl=
e=3D'mso-fareast-language:DE-CH'><o:p>&nbsp;</o:p></span></p><p class=3DMso=
Normal><span style=3D'mso-fareast-language:DE-CH'>wt.junitLikeReports:<o:p>=
</o:p></span></p><p class=3DMsoNormal><span style=3D'mso-fareast-language:D=
E-CH'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'mso-f=
areast-language:DE-CH'>BUILD FAILED<o:p></o:p></span></p><p class=3DMsoNorm=
al><span style=3D'mso-fareast-language:DE-CH'>C:\Webtest\webtest.xml:446: i=
nput file C:\myWebTestProject\results\WebTestOverview.xml does not exist<o:=
p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMso=
Normal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Best regards <o:p></o:p></=
p><p class=3DMsoNormal>Pascal<o:p></o:p></p></div></body></html>=

--_000_22A6C19EE29E5E409079F325443EAD840217872C5A1Emx001centau_--