[Webtest] Is there a watch catch errors?

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Thu, 19 Apr 2007 17:25:37 +0200

Seems that this kind of questions is related to the first name of the
WebTest user ;-)

Have a look at Christoph Sandrus question "Resume after failing step"
and at the difference responses. It may give you a solution

How would look this kind of JUnit's tearDown block for your? Just an
invoke step to call the logout url?


Christopher Colebourn wrote:
> I have a fairly large test suite, and using good agile practices, most of
> the test fail (as we are early in development).  The problem is this, when
> the tests fails I set the config parameter haltonfailure="false" so that my
> suite of tests would continue.  But what I really want to do is on error,
> execute a logout step so that it releases server resources.
> When lots of tests fail the server runs out of memory because of the number
> of sessions still open.  Is there anyway to detect a test failure and force
> a logout step to occur?
> - Chris Colebourn
> CSC/FSG Consulting Principal
> Email:            ccolebou@csc.com
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest