AuraContext ctx = startContext("auratest:test_TokenValidation", ComponentDef.class);
HttpPost post = getPostMethod(ctx, false);
HttpResponse httpResponse = perform(post);
int statusCode = getStatusCode(httpResponse);
String response = getResponseBody(httpResponse);
post.releaseConnection();
if (HttpStatus.SC_OK != statusCode) {
fail(String.format("Unexpected status code <%s>, expected <%s>, response:%n%s", statusCode,
HttpStatus.SC_OK, response));
}