[Webtest] scriptStep debugging issues

Goldberger, Michael Goldberger, Michael" <mgoldberger@otn.ca
Tue, 22 May 2007 11:07:05 -0400


This is a multi-part message in MIME format.


------_=_NextPart_001_01C79C82.DC79DB90
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,=0D=0A=0D=0A =0D=0A=0D=0AWe have a section of tests inside our suite=
 that make unavoidable use of=0D=0Athe scriptStep step=2E Recently, some of=
 these tests have begun to show=0D=0Aunexplainable (to me) java errors=2E=
=0D=0A=0D=0A =0D=0A=0D=0AError =0D=0A=0D=0AException=0D=0A=0D=0Acom=2Ecanoo=
=2Ewebtest=2Eengine=2EStepExecutionException=0D=0A=0D=0AMessage=0D=0A=0D=0A=
Error invoking script: java=2Elang=2EClassNotFoundException:=0D=0Aorg=2Eapa=
che=2Ebsf=2Eengines=2Ejavascript=2EJavaScriptEngine=0D=0A=0D=0AStacktrace=
=0D=0A=0D=0A =0D=0A=0D=0AAside from this puzzling problem, it has also occu=
rred to me that there=0D=0Aare few/no methods of debugging the scriptStep a=
s it all appears as one=0D=0Ablob of text and the whole step fails as oppos=
ed to a specific piece of=0D=0Acode inside the step=2E=0D=0A=0D=0A =0D=0A=
=0D=0AMy question to all then is two-fold; first, if anyone knows what the=
=0D=0Acause of the above error is, please let me know=2E Second, if there i=
s a=0D=0Amethod of debugging scriptStep that I do not know about I would be=
 very=0D=0Aappreciative of any list members' solutions to this problem, and=
 finally=0D=0Aif nobody has / knows of a way to debug scriptStep then I wou=
ld like to=0D=0Aask the list if possibly a JIRA issue should be opened?=0D=
=0A=0D=0A =0D=0A=0D=0AI await your responses,=0D=0A=0D=0A =0D=0A=0D=0AMike=
=0D=0A=0D=0A=0D=0A=0D=0AThe information contained in this email and documen=
t(s) attached=0Aare for the exclusive use of the addressee and may contain=
=0Aconfidential information=2E If the recipient of this e-mail is not=0Athe=
 addressee, such recipient is strictly prohibited from reading,=0Aphotocopy=
ing, distributing or otherwise using this e-mail or its=0Acontent in any wa=
y=2E
------_=_NextPart_001_01C79C82.DC79DB90
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns=3D"http://www=2Ew3=2Eorg/TR/REC-html=
40">=0D=0A=0D=0A<head>=0D=0A<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"te=
xt/html; charset=3Dus-ascii">=0D=0A<meta name=3DGenerator content=3D"Micros=
oft Word 11 (filtered medium)">=0D=0A<style>=0D=0A<!--=0D=0A /* Style Defin=
itions */=0D=0A p=2EMsoNormal, li=2EMsoNormal, div=2EMsoNormal=0D=0A	{margi=
n:0cm;=0D=0A	margin-bottom:=2E0001pt;=0D=0A	font-size:12=2E0pt;=0D=0A	font-=
family:"Times New Roman";}=0D=0Aa:link, span=2EMsoHyperlink=0D=0A	{color:bl=
ue;=0D=0A	text-decoration:underline;}=0D=0Aa:visited, span=2EMsoHyperlinkFo=
llowed=0D=0A	{color:purple;=0D=0A	text-decoration:underline;}=0D=0Aspan=2EE=
mailStyle17=0D=0A	{mso-style-type:personal-compose;=0D=0A	font-family:Arial=
;=0D=0A	color:windowtext;}=0D=0A@page Section1=0D=0A	{size:612=2E0pt 792=2E=
0pt;=0D=0A	margin:72=2E0pt 90=2E0pt 72=2E0pt 90=2E0pt;}=0D=0Adiv=2ESection1=
=0D=0A	{page:Section1;}=0D=0A-->=0D=0A</style>=0D=0A=0D=0A</head>=0D=0A=0D=
=0A<body lang=3DEN-US link=3Dblue vlink=3Dpurple>=0D=0A=0D=0A<div class=3DS=
ection1>=0D=0A=0D=0A<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10=2E0pt;=0D=0Afont-family:Arial'>Hi all,<o:p></o:p></sp=
an></font></p>=0D=0A=0D=0A<p class=3DMsoNormal><font size=3D2 face=3DArial>=
<span style=3D'font-size:10=2E0pt;=0D=0Afont-family:Arial'><o:p>&nbsp;</o:p=
></span></font></p>=0D=0A=0D=0A<p class=3DMsoNormal><font size=3D2 face=3DA=
rial><span style=3D'font-size:10=2E0pt;=0D=0Afont-family:Arial'>We have a s=
ection of tests inside our suite that make=0D=0Aunavoidable use of the scri=
ptStep step=2E Recently, some of these tests have=0D=0Abegun to show unexpl=
ainable (to me) java errors=2E<o:p></o:p></span></font></p>=0D=0A=0D=0A<p c=
lass=3DMsoNormal style=3D'margin-left:72=2E0pt'><i><font size=3D2 face=3DAr=
ial><span=0D=0Astyle=3D'font-size:10=2E0pt;font-family:Arial;font-style:ita=
lic'><o:p>&nbsp;</o:p></span></font></i></p>=0D=0A=0D=0A<p class=3DMsoNorma=
l style=3D'margin-left:72=2E0pt'><i><font size=3D2 face=3DArial><span=0D=0A=
style=3D'font-size:10=2E0pt;font-family:Arial;font-style:italic'>Error <o:p=
></o:p></span></font></i></p>=0D=0A=0D=0A<p class=3DMsoNormal style=3D'marg=
in-left:72=2E0pt'><i><font size=3D2 face=3DArial><span=0D=0Astyle=3D'font-s=
ize:10=2E0pt;font-family:Arial;font-style:italic'>Exception<o:p></o:p></spa=
n></font></i></p>=0D=0A=0D=0A<p class=3DMsoNormal style=3D'margin-left:72=
=2E0pt'><i><font size=3D2 face=3DArial><span=0D=0Astyle=3D'font-size:10=2E0=
pt;font-family:Arial;font-style:italic'>com=2Ecanoo=2Ewebtest=2Eengine=2ESt=
epExecutionException<o:p></o:p></span></font></i></p>=0D=0A=0D=0A<p class=
=3DMsoNormal style=3D'margin-left:72=2E0pt'><i><font size=3D2 face=3DArial>=
<span=0D=0Astyle=3D'font-size:10=2E0pt;font-family:Arial;font-style:italic'=
>Message<o:p></o:p></span></font></i></p>=0D=0A=0D=0A<p class=3DMsoNormal s=
tyle=3D'margin-left:72=2E0pt'><i><font size=3D2 face=3DArial><span=0D=0Asty=
le=3D'font-size:10=2E0pt;font-family:Arial;font-style:italic'>Error invokin=
g=0D=0Ascript: java=2Elang=2EClassNotFoundException:=0D=0Aorg=2Eapache=2Ebs=
f=2Eengines=2Ejavascript=2EJavaScriptEngine<o:p></o:p></span></font></i></p=
>=0D=0A=0D=0A<p class=3DMsoNormal style=3D'margin-left:72=2E0pt'><i><font s=
ize=3D2 face=3DArial><span=0D=0Astyle=3D'font-size:10=2E0pt;font-family:Ari=
al;font-style:italic'>Stacktrace<o:p></o:p></span></font></i></p>=0D=0A=0D=
=0A<p class=3DMsoNormal><i><font size=3D2 face=3DArial><span style=3D'font-=
size:10=2E0pt;=0D=0Afont-family:Arial;font-style:italic'><o:p>&nbsp;</o:p><=
/span></font></i></p>=0D=0A=0D=0A<p class=3DMsoNormal><font size=3D2 face=
=3DArial><span style=3D'font-size:10=2E0pt;=0D=0Afont-family:Arial'>Aside f=
rom this puzzling problem, it has also occurred to me=0D=0Athat there are f=
ew/no methods of debugging the scriptStep as it all appears as=0D=0Aone blo=
b of text and the whole step fails as opposed to a specific piece of=0D=0Ac=
ode inside the step=2E<o:p></o:p></span></font></p>=0D=0A=0D=0A<p class=3DM=
soNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=2E0pt;=0D=
=0Afont-family:Arial'><o:p>&nbsp;</o:p></span></font></p>=0D=0A=0D=0A<p cla=
ss=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=2E0p=
t;=0D=0Afont-family:Arial'>My question to all then is two-fold; first, if a=
nyone knows=0D=0Awhat the cause of the above error is, please let me know=
=2E Second, if there is a=0D=0Amethod of debugging scriptStep that I do not=
 know about I would be very=0D=0Aappreciative of any list members&#8217; so=
lutions to this problem, and finally=0D=0Aif nobody has / knows of a way to=
 debug scriptStep then I would like to ask the=0D=0Alist if possibly a JIRA=
 issue should be opened?<o:p></o:p></span></font></p>=0D=0A=0D=0A<p class=
=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=2E0pt;=
=0D=0Afont-family:Arial'><o:p>&nbsp;</o:p></span></font></p>=0D=0A=0D=0A<p =
class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
=2E0pt;=0D=0Afont-family:Arial'>I await your responses,<o:p></o:p></span></=
font></p>=0D=0A=0D=0A<p class=3DMsoNormal><font size=3D2 face=3DArial><span=
 style=3D'font-size:10=2E0pt;=0D=0Afont-family:Arial'><o:p>&nbsp;</o:p></sp=
an></font></p>=0D=0A=0D=0A<p class=3DMsoNormal><font size=3D2 face=3DArial>=
<span style=3D'font-size:10=2E0pt;=0D=0Afont-family:Arial'>Mike<o:p></o:p><=
/span></font></p>=0D=0A=0D=0A</div>=0D=0A=0D=0A</body>=0D=0A=0D=0A</html>=
=0D=0A=0D=0A<HTML><BODY><P><hr size=3D1></P>=0D=0A<P><STRONG>=0D=0AThe info=
rmation contained in this email and document(s) attached are for the exclus=
ive use of the addressee and may contain confidential information=2E If the=
 recipient of this e-mail is not the addressee, such recipient is strictly =
prohibited from reading, photocopying, distributing or otherwise using this=
 e-mail or its content in any way=2E=0D=0A=0D=0A</STRONG></P></BODY></HTML>
------_=_NextPart_001_01C79C82.DC79DB90--