Forum Discussion
Happy
9 years agoContributor
Yes, you are right. Element should be presented in expected mock request, but should be ignored, if not appear in actual.
nmrao
9 years agoCommunity Hero
Ok.
It requires to program either in java/groovy using tools like xmlunit.
For eg, see below link
http://stackoverflow.com/questions/1241593/java-how-do-i-ignore-certain-elements-when-comparing-xml
It requires to program either in java/groovy using tools like xmlunit.
For eg, see below link
http://stackoverflow.com/questions/1241593/java-how-do-i-ignore-certain-elements-when-comparing-xml