public static String getRenderedString(HttpResponse response) throws IOException {
        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        response.render(baos);
        return baos.toString(UTF_8);
    }
Base class for session handler tests

@author hmusum
configserver/src/test/java/com/yahoo/vespa/config/server/http/SessionHandlerTest.java