[Webtest] Webtest as service in the background

Soula, William Soula, William" <wsoula@pointserve.com
Tue, 23 Sep 2008 13:50:18 -0500


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

wt.init.headless or so?

________________________________
From: webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com] =
On Behalf Of heidt.heidt@daimler.com
Sent: Tuesday, September 23, 2008 11:30 AM
To: webtest@lists.canoo.com
Subject: [Webtest] Webtest as service in the background


Hallo,

We have a couple tests I'd like to run on a regular basis just to test if t=
he webapps are still alive.
I have my own monitoring tool which creates an rss-file and handles logfile=
s or HTTP[200] responses so far.

When I tried to integrate Canoo WebTest, I had the following issues:

- When starting the webtest command in java with
Runtime.getRuntime().exec(command);
the WebTest Monitor only starts up, after the process has exited.

Even a child.waitFor() or a Thread.sleep(20000) didn't help.
My idea was to check the results\\WebTestOverview.xmlwhen finished.
(do you happen to have an xsd for this xml, so that I can "jaxb" the result=
?)

- How can I ommit the popup of the WebTestMonitor and the Report. Especiall=
y the Report is quite disturbing when running as service on a server.
(the -quiet command only ommits log-entries)

Kind regards,
Markus Heidt

If you are not the intended addressee, please inform us immediately that yo=
u have received this e-mail in error, and delete it. We thank you for your =
cooperation.


--_000_93B3B6122B906D44BC7E8B8CEFB0DBBB1847212951SGPEXCHANGEpo_
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 content=3D"text/html; charset=3Dus-ascii" http-equiv=3DContent-Type>
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18241"></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D743045018-23092008><FONT color=3D=
#0000ff=20
size=3D2 face=3DArial>wt.init.headless or so?</FONT></SPAN></DIV><BR>
<DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader align=3Dleft>
<HR tabIndex=3D-1>
<FONT size=3D2 face=3DTahoma><B>From:</B> webtest-admin@lists.canoo.com=20
[mailto:webtest-admin@lists.canoo.com] <B>On Behalf Of=20
</B>heidt.heidt@daimler.com<BR><B>Sent:</B> Tuesday, September 23, 2008 11:=
30=20
AM<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> [Webtest] Webte=
st as=20
service in the background<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT size=3D2 face=3Dsans-serif>Hallo,</FONT><BR><BR><FONT =
size=3D2=20
face=3Dsans-serif>We have a couple tests I'd like to run on a regular basis=
 just=20
to test if the webapps are still alive.</FONT><BR><FONT size=3D2 face=3Dsan=
s-serif>I=20
have my own monitoring tool which creates an rss-file and handles logfiles =
or=20
HTTP[200] responses so far.</FONT><BR><BR><FONT size=3D2 face=3Dsans-serif>=
When I=20
tried to integrate Canoo WebTest, I had the following=20
issues:</FONT><BR><BR><FONT size=3D2 face=3Dsans-serif>- When starting the =
webtest=20
command in java with</FONT><BR><FONT size=3D2=20
face=3D"Courier New">Runtime.<I>getRuntime</I>().exec(command);</FONT><BR><=
FONT=20
size=3D2 face=3Dsans-serif>the WebTest Monitor only starts up, after the pr=
ocess has=20
exited.</FONT><BR><BR><FONT size=3D2 face=3Dsans-serif>Even a </FONT><FONT =
size=3D2=20
face=3D"Courier New">child.waitFor() or a Thread.<I>sleep</I>(20000) didn't=
=20
help.</FONT><BR><FONT size=3D2 face=3D"Courier New">My idea was to </FONT><=
FONT=20
size=3D2 face=3Dsans-serif>check the </FONT><FONT color=3D#4200ff size=3D2=
=20
face=3D"Courier New">results\\WebTestOverview.xml</FONT><FONT size=3D2=20
face=3Dsans-serif>when finished.</FONT><BR><FONT size=3D2 face=3Dsans-serif=
>(do you=20
happen to have an xsd for this xml, so that I can "jaxb" the=20
result?)</FONT><BR><BR><FONT size=3D2 face=3Dsans-serif>- How can I ommit t=
he popup=20
of the WebTestMonitor and the Report. Especially the Report is quite distur=
bing=20
when running as service on a server.</FONT><BR><FONT size=3D2 face=3Dsans-s=
erif>(the=20
-quiet command only ommits log-entries)</FONT><BR><BR><FONT size=3D2=20
face=3Dsans-serif>Kind regards,</FONT><BR><FONT size=3D2 face=3Dsans-serif>=
Markus=20
Heidt</FONT><BR><FONT face=3Dsans-serif><FONT color=3D#808080 size=3D-1=20
face=3D"sans-serif, Arial, Helvetica"><BR>If you are not the intended addre=
ssee,=20
please inform us immediately that you have received this e-mail in error, a=
nd=20
delete it. We thank you for your cooperation.=20
<BR><BR></FONT></FONT></BODY></HTML>

--_000_93B3B6122B906D44BC7E8B8CEFB0DBBB1847212951SGPEXCHANGEpo_--