}
}
public void checkRequest() throws Exception {
if (caseParams.checkURI != null && caseParams.checkExpected != null) {
HttpExchange httpConn = openConnection(getRestURL(caseParams.checkURI.trim()), "GET");
httpClient.send(httpConn);
httpConn.waitForDone();
try {
String actual = getOutput (httpConn);
compareExpected (caseParams.caseName + " check expected response ", caseParams.checkExpected, actual);
} finally {
fullyDisconnect(httpConn);