Hi Patrick,

Patrick Eisenacher wrote:
> Hi list members,
> 
> I have 2 questions for you:
> 
> 1. I want to test the unavailability of certain pages, so I crafted
> something like:
> 
> <not description="access forbidden">
>   <invoke
>     description="page is available"
>     url=""/>
> </not>
> 
> which works fine, as long as an http demon is actually listening on the
> port and returns an error status. If no demon is listening on the port,
> the request times out, an exception is thrown and the test fails. Is
> there any possibility to make the encapsulating <not> evaluate to 'true'
> in this case?

I think too that WebTest should handle timeout for unavailable server as
normal failed invocation. Can you open a bug for this?

> 
> 2. Webtest doesn't seem to like broken http headers. Everytime it
> detects one, it throws an exception. Can I tell webtest to ignore them
> and move on with the test?

can you tell a bit more on broken http headers and why they occur?

Marc.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to