[Webtest] WebTest combineded with Cactus?

webtest@lists.canoo.com webtest@lists.canoo.com
Tue, 22 Jul 2003 04:16:13 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C35029.84192EF0
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

 Could you share your maven.xml/ or configuration setup?  Part of the =
reason
I was thinking about Cactus was to reduce the amount of configuration
required..  How do you get the code deployed and the server started to =
run
the tests?

I would love to see the maven.xml or whatnot that you use to configure =
all
that!

Eric

-----Original Message-----
From: Aatish Arora
To: webtest@lists.canoo.com
Sent: 7/21/03 10:41 AM
Subject: RE: [Webtest] WebTest combineded with Cactus?

Hi Eric,

I dont know if I am on the write track but we have a
simialr system running with Gump (from Apache), Maven,
& Canoo.

And I guess you could do the same with it too...

Cheers!
Aatish

--- EPugh@upstate.com wrote:
> Wow!  Very succinct!  I wish I could have written my
> original email like
> that.
>=20
> Yes, I want to be able to postprocess the results
> from the WebTests, and I
> want to be able to 1) build my code, 2) start up my
> server, 3) Run my
> Webtest script, 4) collate the results with out
> resorting to lots of
> ant/jelly trickery. =20
>=20
> I have found that the more configuration required,
> the less likely the tests
> are maintained.  Additionally, if Cactus ran the
> webtest script, then
> presumably when my Continous Integration package
> like CruiseControl or
> Anthill was run, it would run the webtests scripts
> without even noticing!
>=20
> Eric Pugh=20
>=20
> -----Original Message-----
> From: Scot Hale
> To: webtest@lists.canoo.com
> Sent: 7/18/03 6:03 PM
> Subject: Re: [Webtest] WebTest combineded with
> Cactus?
>=20
> I agree with you Eric.=A0 It is difficult to maintain
> the web-tests with
> dynamic/changing/growing applications,=A0but I haven't
> used Cactus.=A0=20
> =A0
> Are you just looking for a more generic interface to
> the Canoo webtest
> engine?
> =A0
> One that would be able to start a test(s) which are
> defined in ant.xml
> files and gather the results in via a java
> object,=A0(or xml?)=A0of some
> sort.
> =A0
> 1.) Cactus Starts
> 2.) Cactus Calls Canoo Interface (any number of
> times)
> 3.) Canoo interface starts Ant
> 4.) Canoo interface gathers results from the test
> and returns them
> 5.) Catctus does what ever it needs to with the
> results
> =A0
> I am guessing the only thing that is currently
> missing is a nice
> interface, and perhaps a Cactus friendly object to
> return.
> =A0
> Is that anything like what you are looking for Eric?
>=20
> ----- Original Message -----=20
> From: EPugh@upstate.com=20
> To: webtest@gate.canoo.com=20
> Sent: Friday, July 18, 2003 4:46 AM
> Subject: [Webtest] WebTest combineded with Cactus?
>=20
>=20
> Hi all,=20
>=20
> I want to throw out this idea and see what people
> think.=A0=20
>=20
> The Problem:=20
> I used to use WebTest extensively to test my sites,
> but the cost of
> maintaining the scripts, and running them by hand
> become to much work.=A0
> I started using Cactus to test my business objects,
> and that worked
> well.=A0 I then started to test my webapps using
> Cactus to simulate a
> browser.=A0 This would work okay for one page, but if
> you wanted to test a
> couple of pages (a la WebTest) it became a maintence
> nightmare.=A0 What
> was great about WebTest was that the scripts are
> easy to run.=A0 What is
> hard is that they aren't integrated with the rest of
> my
> build->test->continous integration regime using
> junit and cactus.
>=20
> What I Want:=20
> Use Webtest from inside Cactus to test my webapps
> from a browser
> perspective.=20
>=20
> I noticed that Sigi's webtest plugin is able to
> format the webtest
> output in something that looks very close to a junit
> style report.=A0 It
> seems to me that similar to the way that Ant runs
> testcases that
> execercise various build.xml test files, I could
> have a
> CactusWebTestTestCase that would run in container
> the webtest scripts.=A0
> The errors etc coming from WebTest could be treated
> as Junit style
> assert's and then be formatted using the standard
> cactus tools...=A0 Which
> means that when, in Maven, I click on
> cactus-reports, the results of my
> webtest scripts will be there!=A0=20
>=20
> The other reason to use Cactus, instead of the maven
> webtest plugin is
> that using Cactus I can configure my environment
> before running the
> scripts to have everything I need.=A0 Preset the
> database, generate any
> files, etc..=A0 And the script can just reference
> http://localhost...
>=20
> Opinions?=A0=20
>=20
> Eric=20
>=20
>=20


=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

THE FOUR STAGES OF LIFE:

1) You believe in Santa Claus.
2) You don't believe in Santa Claus.
3) You are Santa Claus.
4) You look like Santa Claus.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest

------_=_NextPart_001_01C35029.84192EF0
Content-Type: text/html;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.89">
<TITLE>RE: [Webtest] WebTest combineded with Cactus?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>&nbsp;Could you share your maven.xml/ or =
configuration setup?&nbsp; Part of the reason I was thinking about =
Cactus was to reduce the amount of configuration required..&nbsp; How =
do you get the code deployed and the server started to run the =
tests?</FONT></P>

<P><FONT SIZE=3D2>I would love to see the maven.xml or whatnot that you =
use to configure all that!</FONT>
</P>

<P><FONT SIZE=3D2>Eric</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Aatish Arora</FONT>
<BR><FONT SIZE=3D2>To: webtest@lists.canoo.com</FONT>
<BR><FONT SIZE=3D2>Sent: 7/21/03 10:41 AM</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Webtest] WebTest combineded with =
Cactus?</FONT>
</P>

<P><FONT SIZE=3D2>Hi Eric,</FONT>
</P>

<P><FONT SIZE=3D2>I dont know if I am on the write track but we have =
a</FONT>
<BR><FONT SIZE=3D2>simialr system running with Gump (from Apache), =
Maven,</FONT>
<BR><FONT SIZE=3D2>&amp; Canoo.</FONT>
</P>

<P><FONT SIZE=3D2>And I guess you could do the same with it =
too...</FONT>
</P>

<P><FONT SIZE=3D2>Cheers!</FONT>
<BR><FONT SIZE=3D2>Aatish</FONT>
</P>

<P><FONT SIZE=3D2>--- EPugh@upstate.com wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; Wow!&nbsp; Very succinct!&nbsp; I wish I could =
have written my</FONT>
<BR><FONT SIZE=3D2>&gt; original email like</FONT>
<BR><FONT SIZE=3D2>&gt; that.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Yes, I want to be able to postprocess the =
results</FONT>
<BR><FONT SIZE=3D2>&gt; from the WebTests, and I</FONT>
<BR><FONT SIZE=3D2>&gt; want to be able to 1) build my code, 2) start =
up my</FONT>
<BR><FONT SIZE=3D2>&gt; server, 3) Run my</FONT>
<BR><FONT SIZE=3D2>&gt; Webtest script, 4) collate the results with =
out</FONT>
<BR><FONT SIZE=3D2>&gt; resorting to lots of</FONT>
<BR><FONT SIZE=3D2>&gt; ant/jelly trickery.&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I have found that the more configuration =
required,</FONT>
<BR><FONT SIZE=3D2>&gt; the less likely the tests</FONT>
<BR><FONT SIZE=3D2>&gt; are maintained.&nbsp; Additionally, if Cactus =
ran the</FONT>
<BR><FONT SIZE=3D2>&gt; webtest script, then</FONT>
<BR><FONT SIZE=3D2>&gt; presumably when my Continous Integration =
package</FONT>
<BR><FONT SIZE=3D2>&gt; like CruiseControl or</FONT>
<BR><FONT SIZE=3D2>&gt; Anthill was run, it would run the webtests =
scripts</FONT>
<BR><FONT SIZE=3D2>&gt; without even noticing!</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Eric Pugh </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Scot Hale</FONT>
<BR><FONT SIZE=3D2>&gt; To: webtest@lists.canoo.com</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: 7/18/03 6:03 PM</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: Re: [Webtest] WebTest combineded =
with</FONT>
<BR><FONT SIZE=3D2>&gt; Cactus?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I agree with you Eric.=A0 It is difficult to =
maintain</FONT>
<BR><FONT SIZE=3D2>&gt; the web-tests with</FONT>
<BR><FONT SIZE=3D2>&gt; dynamic/changing/growing applications,=A0but I =
haven't</FONT>
<BR><FONT SIZE=3D2>&gt; used Cactus.=A0 </FONT>
<BR><FONT SIZE=3D2>&gt; =A0</FONT>
<BR><FONT SIZE=3D2>&gt; Are you just looking for a more generic =
interface to</FONT>
<BR><FONT SIZE=3D2>&gt; the Canoo webtest</FONT>
<BR><FONT SIZE=3D2>&gt; engine?</FONT>
<BR><FONT SIZE=3D2>&gt; =A0</FONT>
<BR><FONT SIZE=3D2>&gt; One that would be able to start a test(s) which =
are</FONT>
<BR><FONT SIZE=3D2>&gt; defined in ant.xml</FONT>
<BR><FONT SIZE=3D2>&gt; files and gather the results in via a =
java</FONT>
<BR><FONT SIZE=3D2>&gt; object,=A0(or xml?)=A0of some</FONT>
<BR><FONT SIZE=3D2>&gt; sort.</FONT>
<BR><FONT SIZE=3D2>&gt; =A0</FONT>
<BR><FONT SIZE=3D2>&gt; 1.) Cactus Starts</FONT>
<BR><FONT SIZE=3D2>&gt; 2.) Cactus Calls Canoo Interface (any number =
of</FONT>
<BR><FONT SIZE=3D2>&gt; times)</FONT>
<BR><FONT SIZE=3D2>&gt; 3.) Canoo interface starts Ant</FONT>
<BR><FONT SIZE=3D2>&gt; 4.) Canoo interface gathers results from the =
test</FONT>
<BR><FONT SIZE=3D2>&gt; and returns them</FONT>
<BR><FONT SIZE=3D2>&gt; 5.) Catctus does what ever it needs to with =
the</FONT>
<BR><FONT SIZE=3D2>&gt; results</FONT>
<BR><FONT SIZE=3D2>&gt; =A0</FONT>
<BR><FONT SIZE=3D2>&gt; I am guessing the only thing that is =
currently</FONT>
<BR><FONT SIZE=3D2>&gt; missing is a nice</FONT>
<BR><FONT SIZE=3D2>&gt; interface, and perhaps a Cactus friendly object =
to</FONT>
<BR><FONT SIZE=3D2>&gt; return.</FONT>
<BR><FONT SIZE=3D2>&gt; =A0</FONT>
<BR><FONT SIZE=3D2>&gt; Is that anything like what you are looking for =
Eric?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; ----- Original Message ----- </FONT>
<BR><FONT SIZE=3D2>&gt; From: EPugh@upstate.com </FONT>
<BR><FONT SIZE=3D2>&gt; To: webtest@gate.canoo.com </FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Friday, July 18, 2003 4:46 AM</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: [Webtest] WebTest combineded with =
Cactus?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Hi all, </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I want to throw out this idea and see what =
people</FONT>
<BR><FONT SIZE=3D2>&gt; think.=A0 </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; The Problem: </FONT>
<BR><FONT SIZE=3D2>&gt; I used to use WebTest extensively to test my =
sites,</FONT>
<BR><FONT SIZE=3D2>&gt; but the cost of</FONT>
<BR><FONT SIZE=3D2>&gt; maintaining the scripts, and running them by =
hand</FONT>
<BR><FONT SIZE=3D2>&gt; become to much work.=A0</FONT>
<BR><FONT SIZE=3D2>&gt; I started using Cactus to test my business =
objects,</FONT>
<BR><FONT SIZE=3D2>&gt; and that worked</FONT>
<BR><FONT SIZE=3D2>&gt; well.=A0 I then started to test my webapps =
using</FONT>
<BR><FONT SIZE=3D2>&gt; Cactus to simulate a</FONT>
<BR><FONT SIZE=3D2>&gt; browser.=A0 This would work okay for one page, =
but if</FONT>
<BR><FONT SIZE=3D2>&gt; you wanted to test a</FONT>
<BR><FONT SIZE=3D2>&gt; couple of pages (a la WebTest) it became a =
maintence</FONT>
<BR><FONT SIZE=3D2>&gt; nightmare.=A0 What</FONT>
<BR><FONT SIZE=3D2>&gt; was great about WebTest was that the scripts =
are</FONT>
<BR><FONT SIZE=3D2>&gt; easy to run.=A0 What is</FONT>
<BR><FONT SIZE=3D2>&gt; hard is that they aren't integrated with the =
rest of</FONT>
<BR><FONT SIZE=3D2>&gt; my</FONT>
<BR><FONT SIZE=3D2>&gt; build-&gt;test-&gt;continous integration regime =
using</FONT>
<BR><FONT SIZE=3D2>&gt; junit and cactus.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; What I Want: </FONT>
<BR><FONT SIZE=3D2>&gt; Use Webtest from inside Cactus to test my =
webapps</FONT>
<BR><FONT SIZE=3D2>&gt; from a browser</FONT>
<BR><FONT SIZE=3D2>&gt; perspective. </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I noticed that Sigi's webtest plugin is able =
to</FONT>
<BR><FONT SIZE=3D2>&gt; format the webtest</FONT>
<BR><FONT SIZE=3D2>&gt; output in something that looks very close to a =
junit</FONT>
<BR><FONT SIZE=3D2>&gt; style report.=A0 It</FONT>
<BR><FONT SIZE=3D2>&gt; seems to me that similar to the way that Ant =
runs</FONT>
<BR><FONT SIZE=3D2>&gt; testcases that</FONT>
<BR><FONT SIZE=3D2>&gt; execercise various build.xml test files, I =
could</FONT>
<BR><FONT SIZE=3D2>&gt; have a</FONT>
<BR><FONT SIZE=3D2>&gt; CactusWebTestTestCase that would run in =
container</FONT>
<BR><FONT SIZE=3D2>&gt; the webtest scripts.=A0</FONT>
<BR><FONT SIZE=3D2>&gt; The errors etc coming from WebTest could be =
treated</FONT>
<BR><FONT SIZE=3D2>&gt; as Junit style</FONT>
<BR><FONT SIZE=3D2>&gt; assert's and then be formatted using the =
standard</FONT>
<BR><FONT SIZE=3D2>&gt; cactus tools...=A0 Which</FONT>
<BR><FONT SIZE=3D2>&gt; means that when, in Maven, I click on</FONT>
<BR><FONT SIZE=3D2>&gt; cactus-reports, the results of my</FONT>
<BR><FONT SIZE=3D2>&gt; webtest scripts will be there!=A0 </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; The other reason to use Cactus, instead of the =
maven</FONT>
<BR><FONT SIZE=3D2>&gt; webtest plugin is</FONT>
<BR><FONT SIZE=3D2>&gt; that using Cactus I can configure my =
environment</FONT>
<BR><FONT SIZE=3D2>&gt; before running the</FONT>
<BR><FONT SIZE=3D2>&gt; scripts to have everything I need.=A0 Preset =
the</FONT>
<BR><FONT SIZE=3D2>&gt; database, generate any</FONT>
<BR><FONT SIZE=3D2>&gt; files, etc..=A0 And the script can just =
reference</FONT>
<BR><FONT SIZE=3D2>&gt; <A HREF=3D"http://localhost" =
TARGET=3D"_blank">http://localhost</A>...</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Opinions?=A0 </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Eric </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>=3D=3D=3D=3D=3D</FONT>
<BR><FONT =
SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D</FONT>
<BR><FONT SIZE=3D2>THE FOUR STAGES OF LIFE:</FONT>
</P>

<P><FONT SIZE=3D2>1) You believe in Santa Claus.</FONT>
<BR><FONT SIZE=3D2>2) You don't believe in Santa Claus.</FONT>
<BR><FONT SIZE=3D2>3) You are Santa Claus.</FONT>
<BR><FONT SIZE=3D2>4) You look like Santa Claus.</FONT>
<BR><FONT =
SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D</FONT>
</P>

<P><FONT SIZE=3D2>__________________________________</FONT>
<BR><FONT SIZE=3D2>Do you Yahoo!?</FONT>
<BR><FONT SIZE=3D2>SBC Yahoo! DSL - Now only $29.95 per month!</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://sbc.yahoo.com" =
TARGET=3D"_blank">http://sbc.yahoo.com</A></FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>WebTest mailing list</FONT>
<BR><FONT SIZE=3D2>WebTest@lists.canoo.com</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.canoo.com/mailman/listinfo/webtest" =
TARGET=3D"_blank">http://lists.canoo.com/mailman/listinfo/webtest</A></F=
ONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C35029.84192EF0--