Jan-Henrik Haukeland wrote:
The current parser, parse this type of statement for URL check:
check <....>
if failed url
http://username:address@hidden/index.html?querystring
and content == "regexp"
with timeout 15 seconds
then alert
I have taken the liberty to just check this in, without asking. I
hope this
is okay? since we already has voted 'yes' on including this
functionality.
The new syntax looks good :) I think it could be useful to replace
existing port test syntax:
if failed [host ...] port ... [protocol ...] [request ...]
with new one based on URLs. This can be more simple to use (urls are
usual + the form is shorter) and internaly it provides good flexibility.
Martin