Hello all,
I have an HTTP Advance Sensor that loads one url and tries to find a vaule in the page using "Response Must Include" field, with a regex:
(companyName|\[.+\])
That is, either the string "companyName", or two square brackets with any text in between them (the "\" are used to make "[" literal). However, this regex, although works well in regex testers, does not work here, and i get :
Error: String not found [(companyName\|\[.+\])]
any ideas why?
Any help would be appreciated!
Article Comments
Thank you for your replay. How do i Enable it? I went through the manual and did not find any mention of enabling it.
Regards
Jan, 2016 - Permalink
The regex seems to be fine (given that the companyName is entered correctly since regex is case sensitive per default). Did you actually enable the regex check method?
Jan, 2016 - Permalink