On 15 September 2011 16:30, Karthik110885 <[email protected]> wrote:
> Hi ZK,
>
> Thanks for the response. I googled for the special characters and found a
> list of 11
>
> [ \ ^ $ . | ? * + ( )
>
> I have escaped . with a backslash. But the response assertion takes that too
> in a literal way.

Have you read the documentation on Response Assertion?

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Response_Assertion

I suspect the problem is that the end of line characters are not being
stored correctly.
It's quite difficult to match multiple lines correctly, so I suggest
you just add multiple single-line patterns; they all have to match.

If you want to match the whole contents, then consider using the Size
and MD5Hex Assertions; they will be quicker.

Or you can use the Save Responses to a file Listener to capture the
sample data and complete the comparison after the test run.
You should probably use that anyway.

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

Reply via email to