How Message content assertion operate
Hello all,
As part of a migration, I should test the equity of the responses received by both version of a web service. Both version attack two differents back-end. My test should passed only if the responses are uniforms.
As some inputs are variants (i.e IDs) from a version to another, I made a complex message content assertion. Thereby, I can set some tags in response of V1 to be equal to the corresponding tags in the response of V2, and for the values which are differents, I can also set the values inside the tags to be different from the V1 to V2. Doing that permit me to achieve my purpose.
However, I am wondering with which data the assertion is compared if I do not specify expected values in the assertion.
Does the assertion really compare tag value from V1 response to the corresponding tag value of V2 response? The assertion is only set in the test step where I add V2 Request.
What happens in comparison when some tags are added inside other tags of V2, and these tags are not present in V1... My test is in success but, according to me, should not be?
Sp finally my subject is to understand better how the complex message content assertion works to meet my need?
Regards