Forum Discussion

Erick_Ferreira_'s avatar
Erick_Ferreira_
Icon for Nimbostratus rankNimbostratus
Jan 08, 2015

Scripted Monitor + REGEX

I trying to do a Scripted monitor but there is no much enough documentation available saying about use regular expressions in that configuration.

 

I trying to do a Scripted monitor but there is no much enough documentation available

 

send "GET /myurl HTTP/1.1\r\n" send "Host: www.myhost.com.br\r\n"

 

send "User-Agent: Mozilla/4.0+compatible;+MSIE+7.0;+Windows+NT+5.1;+Trident/4.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729;+.NET4.0C)" send "Connection: Close\r\n"

 

send "\r\n\"

 

send "\r\n\"

 

expect "PUT HERE THE REGEX"