I need to compare the responses from two different servers using Jmeter. I think that Comparison assertion in Jmeter supports the response comparison. But how to use this? What is the purpose of ‘Comparison filters’?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll need the Assertion as a parent or sibling to your compare requests. Make sure you add the Listener “Comparison Assertion Visualizer” to help see the differences/debug
The Filters are to remove strings you know are dynamic, for example a timestamp or unique userID embedded in the response. It uses PERL regular expressions, the same as the post-processor Regex Extractor
Here’s a sample structure: