Forum Discussion
Rich_125959
Sep 24, 2014Nimbostratus
I found my issue. The names of the datagroups had a hyphen in it (those shown above were variables set elsewhere in my script). Changing the hyphen in the datagroup names to underscores, resolved my issue.
This works: if { ([class match [string tolower [HTTP::path]] equals HTTPpath_equals ] || [class match [string tolower [HTTP::path]] contains HTTPpath_contains ]) and not ([class match [string tolower [URI::query [HTTP::uri]]] contains HTTPpath_not_contain ]) } {
where the datagroup names are: HTTPpath_equals; HTTPpath_contains; HTTPpath_not_contain
It was interesting that it only affected the 'and not' section but...it works now.
Thanks for your help.