[Webtest] Not working simple test

Soula, William Soula, William" <wsoula@pointserve.com
Thu, 31 Jul 2008 07:25:11 -0500


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

Some more info would be helpful, like what is the error.  I ran your test a=
nd got your error.  WebTest is being redirected to a "Where is my page" pag=
e on the invoke and the error in the report is HTTP error 404.  I do not kn=
ow how to fix your error but hopefully this information will help someone e=
lse on the list.  I test with build 1713 that has htmlunit2.1.  This is the=
 error on the command line:
   [invoke] Jul 31, 2008 7:11:02 AM com.gargoylesoftware.htmlunit.javascrip=
t.StrictErrorRe
porter runtimeError
   [invoke] SEVERE: runtimeError: message=3D[ActiveXObject Error: no value =
for ShockwaveFlas
h.ShockwaveFlash.7.] sourceName=3D[https://ssl.google-analytics.com/urchin.=
js] line=3D[442] li
neSource=3D[null] lineOffset=3D[0]
   [invoke] Jul 31, 2008 7:11:02 AM com.gargoylesoftware.htmlunit.javascrip=
t.StrictErrorRe
porter runtimeError
   [invoke] SEVERE: runtimeError: message=3D[ActiveXObject Error: no value =
for ShockwaveFlas
h.ShockwaveFlash.6.] sourceName=3D[https://ssl.google-analytics.com/urchin.=
js] line=3D[447] li
neSource=3D[null] lineOffset=3D[0]
   [invoke] Jul 31, 2008 7:11:02 AM com.gargoylesoftware.htmlunit.javascrip=
t.StrictErrorRe
porter runtimeError
   [invoke] SEVERE: runtimeError: message=3D[ActiveXObject Error: no value =
for ShockwaveFlas
h.ShockwaveFlash.] sourceName=3D[https://ssl.google-analytics.com/urchin.js=
] line=3D[455] line
Source=3D[null] lineOffset=3D[0]
   [invoke] Jul 31, 2008 7:11:02 AM com.gargoylesoftware.htmlunit.javascrip=
t.host.Document
 jsxSet_cookie
   [invoke] INFO: Added cookie: __utmz=3D244228758.1217506262.1.1.utmccn=3D=
(direct)|utmcsr=3D(di
rect)|utmcmd=3D(none)
   [invoke] Jul 31, 2008 7:11:03 AM com.gargoylesoftware.htmlunit.WebClient=
 printContentIf
Necessary

________________________________
From: webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com] =
On Behalf Of Mircea Cocosila
Sent: Wednesday, July 30, 2008 3:29 PM
To: webtest@lists.canoo.com
Subject: [Webtest] Not working simple test

Hi,
I created a simple webtest test as follows:
<?xml version=3D"1.0"?>
<!DOCTYPE project SYSTEM "../dtd/Project.dtd">

<project default=3D"test">
      <target name=3D"test">
            <webtest name=3D"BCSports Storefront Test" >
                  <invoke url=3D"http://www.bcsports.com/" description=3D"g=
o to Home Page" />
                  <verifyTitle text=3D"BC Sports Collectibles Autographs Me=
morabilia NFL MLB NBA ncaa nhl " description=3D"we should see the home page=
 title" />
            </webtest>
      </target>
</project>

Please note that http://www.bcsports.com/ is a publicly available site so a=
nybody could reproduce the problem.
Thanks,
Mircea

--_000_93B3B6122B906D44BC7E8B8CEFB0DBBB1844FC0A28SGPEXCHANGEpo_
Content-Type: text/html; charset="us-ascii"
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=3Dus-ascii">
<META content=3D"MSHTML 6.00.6000.16674" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D811102112-31072008><FONT face=3DA=
rial=20
color=3D#0000ff size=3D2>Some more info would be helpful, like what is the=
=20
error.&nbsp; I ran your test and got your error.&nbsp; WebTest is being=20
redirected to a&nbsp;"Where is my page"&nbsp;page on the invoke and the err=
or in=20
the report is HTTP error 404.&nbsp; I do not know how to fix your error but=
=20
hopefully this information will help someone else on the list.&nbsp; I test=
 with=20
build 1713 that has htmlunit2.1.&nbsp;&nbsp;This is the error&nbsp;on the=20
command line:</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D811102112-31072008><FONT face=3DA=
rial=20
color=3D#0000ff size=3D2>&nbsp;&nbsp; [invoke] Jul 31, 2008 7:11:02 AM=20
com.gargoylesoftware.htmlunit.javascript.StrictErrorRe<BR>porter=20
runtimeError<BR>&nbsp;&nbsp; [invoke] SEVERE: runtimeError:=20
message=3D[ActiveXObject Error: no value for ShockwaveFlas<BR>h.ShockwaveFl=
ash.7.]=20
sourceName=3D[https://ssl.google-analytics.com/urchin.js] line=3D[442]=20
li<BR>neSource=3D[null] lineOffset=3D[0]<BR>&nbsp;&nbsp; [invoke] Jul 31, 2=
008=20
7:11:02 AM com.gargoylesoftware.htmlunit.javascript.StrictErrorRe<BR>porter=
=20
runtimeError<BR>&nbsp;&nbsp; [invoke] SEVERE: runtimeError:=20
message=3D[ActiveXObject Error: no value for ShockwaveFlas<BR>h.ShockwaveFl=
ash.6.]=20
sourceName=3D[https://ssl.google-analytics.com/urchin.js] line=3D[447]=20
li<BR>neSource=3D[null] lineOffset=3D[0]<BR>&nbsp;&nbsp; [invoke] Jul 31, 2=
008=20
7:11:02 AM com.gargoylesoftware.htmlunit.javascript.StrictErrorRe<BR>porter=
=20
runtimeError<BR>&nbsp;&nbsp; [invoke] SEVERE: runtimeError:=20
message=3D[ActiveXObject Error: no value for ShockwaveFlas<BR>h.ShockwaveFl=
ash.]=20
sourceName=3D[https://ssl.google-analytics.com/urchin.js] line=3D[455]=20
line<BR>Source=3D[null] lineOffset=3D[0]<BR>&nbsp;&nbsp; [invoke] Jul 31, 2=
008=20
7:11:02 AM=20
com.gargoylesoftware.htmlunit.javascript.host.Document<BR>&nbsp;jsxSet_cook=
ie<BR>&nbsp;&nbsp;=20
[invoke] INFO: Added cookie:=20
__utmz=3D244228758.1217506262.1.1.utmccn=3D(direct)|utmcsr=3D(di<BR>rect)|u=
tmcmd=3D(none)<BR>&nbsp;&nbsp;=20
[invoke] Jul 31, 2008 7:11:03 AM com.gargoylesoftware.htmlunit.WebClient=20
printContentIf<BR>Necessary</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> webtest-admin@lists.canoo.com=20
[mailto:webtest-admin@lists.canoo.com] <B>On Behalf Of </B>Mircea=20
Cocosila<BR><B>Sent:</B> Wednesday, July 30, 2008 3:29 PM<BR><B>To:</B>=20
webtest@lists.canoo.com<BR><B>Subject:</B> [Webtest] Not working simple=20
test<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=3Dltr>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3D"Courier New" color=3Dgray size=3D2><SPAN=
=20
style=3D"FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">Hi,</SPA=
N></FONT></P>
<P class=3DMsoNormal><FONT face=3D"Courier New" color=3Dgray size=3D2><SPAN=
=20
style=3D"FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">I create=
d a=20
simple webtest test as follows:&nbsp;<BR></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3D"Courier New" color=3Dgray size=3D2><SPAN=
=20
style=3D"FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Courier New'">&lt;?xml=
=20
version=3D"1.0"?&gt;</SPAN></FONT><FONT face=3D"Courier New" color=3Dmaroon=
=20
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'"><BR>&l=
t;!DOCTYPE=20
project SYSTEM "../dtd/Project.dtd"&gt;</SPAN></FONT><FONT face=3D"Courier =
New"=20
color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><BR>&nbs=
p;<BR>&lt;project</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">default=
=3D</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dgreen size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">"test"<=
/SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&gt;</SP=
AN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"><BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&lt;targ=
et</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">name=3D<=
/SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dgreen size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">"test"<=
/SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&gt;</SP=
AN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"><BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&lt;webt=
est</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">name=3D<=
/SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dgreen size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">"BCSpor=
ts=20
Storefront Test"</SPAN></FONT><FONT face=3D"Courier New" color=3Dblack size=
=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&gt;</SP=
AN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"><BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&lt;invo=
ke</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">url=3D</=
SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dgreen size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">"<A=20
href=3D"http://www.bcsports.com/">http://www.bcsports.com/</A>"</SPAN></FON=
T><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">descript=
ion=3D</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dgreen size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">"go to =
Home=20
Page"</SPAN></FONT><FONT face=3D"Courier New" color=3Dblack size=3D2><SPAN=
=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">/&gt;</S=
PAN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"><BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&lt;veri=
fyTitle</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">text=3D<=
/SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dgreen size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">"BC Spo=
rts=20
Collectibles Autographs Memorabilia NFL MLB NBA ncaa nhl "</SPAN></FONT><FO=
NT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">descript=
ion=3D</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dgreen size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">"we sho=
uld see=20
the home page title"</SPAN></FONT><FONT face=3D"Courier New" color=3Dblack=
=20
size=3D2><SPAN style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courie=
r New'">=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">/&gt;</S=
PAN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"><BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&lt;/web=
test&gt;</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dblack size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"><BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">&lt;/tar=
get&gt;</SPAN></FONT><FONT=20
face=3D"Courier New" color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><BR>&lt;=
/project&gt;<BR>&nbsp;<BR>Please=20
note that </SPAN></FONT><FONT face=3D"Courier New" color=3Dnavy size=3D2><S=
PAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><A=20
title=3Dblocked::http://www.bcsports.com/=20
href=3D"http://www.bcsports.com/">http://www.bcsports.com/</A> is a publicl=
y=20
available site so anybody could reproduce the=20
problem.&nbsp;<BR></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3D"Courier New" color=3Dnavy size=3D2><SPAN=
=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">Thanks,<=
BR>Mircea</SPAN></FONT><FONT=20
face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT></P></DIV></DIV=
></BODY></HTML>

--_000_93B3B6122B906D44BC7E8B8CEFB0DBBB1844FC0A28SGPEXCHANGEpo_--