https://issues.apache.org/bugzilla/show_bug.cgi?id=54176

            Bug ID: 54176
           Summary: Regular expression markers `\Q` `\E` doesn't work for
                    "Response Assertion" and "RE Extractor"
           Product: JMeter
           Version: 2.8
          Hardware: PC
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Created attachment 29612
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29612&action=edit
Assertion doesnt work with \Q and \E

Main use-case: escape spatial (for regular expressions) characters from content
of variables (see stack overflow topic for details:
http://stackoverflow.com/q/13472646/1387438 .

"\Q" and "\E" marks doesn't work for "Response Assertion" and "Regular
Expression Extractor".
I'm inducing minimal test case showing the problem.

Run test plan included.
Go to "View Results Tree"
Select assertion (it is failed).
copy regular expression "google.time\Q()\E"
go to request select response
now test this regular expression and it will find match so it works in this
response!

"\Q" and "\E" can surround anything (not only regular expression special
characters) and problems always appears.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to