Forum Discussion
Pankaj_71762
Nimbostratus
Dec 09, 2008Monitor multiple recieve strings for HTTP monitor
Hi,
Is it possible to monitor for multiple responses under the same HTTP monitor.
We like to monitor both 503 or 200 response by sending
get / HTTP1.1
Thank...
hoolio
Cirrostratus
Dec 09, 2008I think the receive string is evaluated as a regular expression. So you could potentially set the receive string to something like:
(200 OK|503)
The 200 OK string is logically OR'd with the 503 string. You should avoid using just 200 as it's commonly found in the date response header regardless of the HTTP status of the response.
And a send string like:
GET / HTTP/1.1\r\nHost: \r\nConnection: close\r\n
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects