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

           Summary: Response Assertion failing for certain strings
           Product: JMeter
           Version: 2.3.4
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I have a Response Assertion with the following parameters:
'Text Response', Matching Rules = 'Contains'

Patterns to test:
${new_note}

Value of ${new_note} : jmeter_test_note [email protected]
${new_note} is essentialy the following string "jmeter_test_note <EMAIL
ADDRESS>".  I've noticed that if the email address is complex (which is
necessary for us as we like to create unique emails based off of timestamp),
then the response assertion fails even though the response message is correct.


This response assertion fails. The response message does indeed contain the
following text (in json format):
"userNote":"jmeter_test_note [email protected]",

And the jmeter response assertion fails specifying that the following string
wasn't found:
/jmeter_test_note [email protected]/


Things to NOTE:
1. Using a different email address in the ${new_note} variable works like a
charm. For example if ${new_note} = jmeter_test_note [email protected] , then
the Response Assertion passes.
2. This fails on jmeter 2.3.2 and 2.3.4
3. It only works for the complex email address when I use Matching Rules =
'Substring' instead of 'Contains'

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to