[Webtest] Webtest as service in the background

heidt.heidt@daimler.com heidt.heidt@daimler.com
Tue, 23 Sep 2008 18:29:37 +0200


--=_alternative 005A85D3C12574CD_=
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Hallo,

We have a couple tests I'd like to run on a regular basis just to test if=20
the webapps are still alive.
I have my own monitoring tool which creates an rss-file and handles=20
logfiles 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.xml when finished.
(do you happen to have an xsd for this xml, so that I can "jaxb" the=20
result?)

- How can I ommit the popup of the WebTestMonitor and the Report.=20
Especially the Report is quite disturbing when running as service on a=20
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.  =
--=_alternative 005A85D3C12574CD_=
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">Hallo,</font><br><br><font size=3D2 =
face=3D"sans-serif">We have a couple tests I'd like to run
on a regular basis just to test if the webapps are still alive.</font><br><=
font size=3D2 face=3D"sans-serif">I have my own monitoring tool which
creates an rss-file and handles logfiles or HTTP[200] responses so far.</fo=
nt><br><br><font size=3D2 face=3D"sans-serif">When I tried to integrate Can=
oo WebTest,
I had the following issues:</font><br><br><font size=3D2 face=3D"sans-serif=
">- When starting the webtest command
in java with</font><br><font size=3D2 face=3D"Courier New">Runtime.<i>getRu=
ntime</i>().exec(command);</font><br><font size=3D2 face=3D"sans-serif">the=
 WebTest Monitor only starts up,
after the process has exited.</font><br><br><font size=3D2 face=3D"sans-ser=
if">Even a </font><font size=3D2 face=3D"Courier New">child.waitFor()
or a Thread.<i>sleep</i>(20000) didn't help.</font><br><font size=3D2 face=
=3D"Courier New">My idea was to </font><font size=3D2 face=3D"sans-serif">c=
heck
the </font><font size=3D2 color=3D#4200ff face=3D"Courier New">results\\Web=
TestOverview.xml</font><font size=3D2 face=3D"sans-serif">when finished.</f=
ont><br><font size=3D2 face=3D"sans-serif">(do you happen to have an xsd fo=
r this
xml, so that I can &quot;jaxb&quot; the result?)</font><br><br><font size=
=3D2 face=3D"sans-serif">- How can I ommit the popup of the WebTestMonitor
and the Report. Especially the Report is quite disturbing when running
as service on a server.</font><br><font size=3D2 face=3D"sans-serif">(the -=
quiet command only ommits log-entries)</font><br><br><font size=3D2 face=3D=
"sans-serif">Kind regards,</font><br><font size=3D2 face=3D"sans-serif">Mar=
kus Heidt</font><br><font face=3D"sans-serif"><font face=3D"sans-serif, Ari=
al, Helvetica" size=3D"-1" color=3D"#808080"><br>If you are not the intende=
d addressee, please inform us immediately that you have received this e-mai=
l in error, and delete it. We thank you for your cooperation.
<br></br>=20
                                                                         =20
</font></font>
--=_alternative 005A85D3C12574CD_=--