https://bz.apache.org/bugzilla/show_bug.cgi?id=65883
Bug ID: 65883 Summary: Response Assertion: extended RegEx ignore case syntax broken / not working as documented Product: JMeter Version: 5.4.3 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Main Assignee: issues@jmeter.apache.org Reporter: hartmut.honi...@festo.com Target Milestone: JMETER_5.5 Created attachment 38191 --> https://bz.apache.org/bugzilla/attachment.cgi?id=38191&action=edit Sample test plan demonstrating the issue I seems that as of JMeter 5.4.3, extended regex patterns in response assertions using "(?i)" and "(?-i)" to enable / disable case insensitive matching for certain parts of the regex pattern don't work as they're supposed to. For example a Response Assertion using the pattern "(?i)apple(?-i) Pie" does NOT match "ApPLe Pie", even though it should according to JMeter documentation, see https://jmeter.apache.org/usermanual/component_reference.html#Response_Assertion. I've attached a short sample test plan containing two JSR223 samplers with response assertions to demonstrate the error. It shows that a) "(?i)apple(?-i) Pie" DOES NOT match a response "ApPLe Pie" (even though it should) b) "(?i)apple Pie" DOES match a response "ApPLe Pie" (correct behaviour, just double-checking) Note that the regex "(?i)apple(?-i) Pie" matches "ApPLe Pie" correctly when used interactively in "View Results Tree" => select sampler => Response data => Response Body => Find (check "RegEx") -- You are receiving this mail because: You are the assignee for the bug.