testgeneration_templates.resulthandler_assert.tmp Maven / Gradle / Ivy
String expectedBodyContent = "${expected_body_part}";
if( ! responseBody.contains(expectedBodyContent)) {
resultHandler.setStatus(false);
resultHandler.setMessage("Body content not found:" + expectedBodyContent );
return;
}