I have two xml requests as below, just wanted to get the response. Response1 if request body contains node A, B, C and does not contains D. Response2 if A,B, C, D all contains in request.
Can someone please help me on this.
Also it would be helpful if someone can help me to get good articles on request matching using body pattern or what are the different options available for body pattern.
Thanks in Advance!!
I have tried contains and priority, but that didn't help.
Req1:
<TestService>
<A> test </A>
<B> testB</B>
<C> testC </C>
<XYZ> test </XYZ>
</TestService>
Req2:
<TestService>
<A> test </A>
<B> testB</B>
<C> testC </C>
<XYZQ> test test</XYZQ>
<D> testD</D>
</TestService>