Mock server - Request body

Hi,

I try to create mock server that have post request with specific body.
The request body and response are in XML format.
My goal: To accept the response only if the request body is like I’m defined and otherwise return error.
I’ll appreciate your help as soon as possible.

Thank a lot!