Checking the return string in probe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2012 05:31 AM
Hi ,
We have configured the probe as below in ACE .
probe http XXXXXXXX1
interval 4
passdetect interval 10
passdetect count 4
request method get url /sinji_mgmt.html
expect regex "online"
Here though the server retuning some deferent value than “ online “ the probe shows as passed.
Please tell me how can I see , the regular expression which is getting from server . Also please suggest me if the configuration is not correct.
Regards,
Sinjish.K
- Labels:
-
Application Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2012 01:13 AM
Hi,
The regex string should be unquoted e.g.
...
expect regex online
You only need quotes if the string contains spaces.
The other potential problem is that the server needs to send a Content-Length header. A packet packet capture from the server would show whether this is the case.
Hope that helps
Cathy
