Hi Karel, you can use following:
<config...> <option name="ThrowExceptionOnFailingStatusCode" value="false"/> </config> Marc. -- Blog: http://mguillem.wordpress.com Karel Soupal wrote: > Hi, > > I have a simple testcase where I would like to test a web site where the > URL is like this http://my.website.com/nonsence.html ... this gives the > user a redirection to the main homepage of the site. This is done by the > server and the user is presented with the content of the main homepage. > I would like to test that the homepage was really displayed, but was not > able to do so using webtest. > > Invoking such an url does this: > > - the steps fails but the expected (the sites main page) is saved as the > last response (and one can see it via the xsl report) > > but even it is saved I am not able to access such a response. Is there > any way I could be able to do verifications on such a 'invisible' > response? ... I was trying to go around the failure with the <not> .. > which worked ... but still cannot get to the response. > > Many thanks, > > --Karel Soupal > http://www.ework.cz > Software Testing Services and Solutions _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

