How can I execute the entire test case even if the first portion fails?
Example, lets ay the first statement fails and I still want to execute the second statement. How can I do this?
@Test
public void testCreatePropertyQuote() throws IOException {
given().body(b).
expect().
statusCode(200).
body(
"ACORD.SignonRq.SignonPswd.SignonRoleCd", equalTo("Agent")).
when().
post("propertyquote/create");
given().body(b).
expect().
statusCode(200).
body(
"ACORD.SignonRq.SignonPswd.SignonRoleCd", equalTo("Agent")).
when().
post("propertyquote/query");
}