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 http://www.nabble.com/Resume-after-failing-step-tf3559116.html How would look this kind of JUnit's tearDown block for your? Just an invoke step to call the logout url? Marc. 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: [EMAIL PROTECTED] > > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > 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 > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

