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'?
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:
Test Plan
+ Thread Group
+ Server 1
+ Server 2
+ Compare Assertion
+ Compare Assertion Visualizer
精彩评论