@Override
                    public boolean qualifyForComparison(Element control, Element test) {
                        if (control == null || test == null) {
                            return super.qualifyForComparison(control, test);
                        }
                        if (control.getNodeName().equals("entry") && test.getNodeName().equals("entry")) {
                            String controlKeyName = control.getElementsByTagName("key").item(0).getTextContent();
                            String testKeyName = test.getElementsByTagName("key").item(0).getTextContent();
                            return controlKeyName.equals(testKeyName);
                        }
                        return super.qualifyForComparison(control, test);
                    }
The payload is expected to be XML. Parse it and then use XmlUnit to compare the payload
with the expected payload (obviously also XML).

@param restTest
@param response
test/common/src/main/java/io/apiman/test/common/util/TestPlanRunner.java