开发者

How to compare the responses from two different servers using Jmeter?

开发者 https://www.devze.com 2023-03-19 03:27 出处:网络
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

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号