cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1127
Views
5
Helpful
3
Replies

ACE HTTP Probe with regex

priteshpatel
Level 1
Level 1

ACE HTTP Probe with regex

Hi,

I'm trying to setup a HTTP probe with expected string rather then a code (config below). I do a GET for the page then a search for a string in the response however it's not working, as probe appears as failed.

I've tested the connection to the server by using telneting and then looking at the page displayed to make sure the string I want to match is in the response.

probe http HTTP-PROBE

port 43050

interval 30

passdetect interval 30

passdetect count 1

request method get url /action=help

open 43050

expect regex action=help

Q. Is there anything wrong with this configuration and what I'm trying to achive?

Thanks,

Pritesh

3 Replies 3

Use "expect status" under probe config. expect regex doesnt work if expect status is not configured.

expect regex work flawlessly with static pages. It doesnt work all the time with dynamic pages.

Specially if "content-length" header is missing from Server response.

Hope it helps

Syed Iftekhar Ahmed

Thanks Syed, that solved the problem.

Hi,

Can regex be done with this string?

ALL CHECKS OK

i get an error when configuring this string

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: