}
@Test
public void testSomeConsolePaths() throws Exception {
numberOfTestsExecuted++;
final SlingInstance instance = rule.getSlingInstance();
log.info("Running testSomeConsolePaths {} on {}", getClass().getSimpleName(), instance.getServerBaseUrl());
final String [] subpaths = {
"bundles",
"components",
"configMgr",
"config",
"licenses",
"logs",
"memoryusage",
"services"
};
for(String subpath : subpaths) {
final String path = "/system/console/" + subpath;
instance.getRequestExecutor().execute(
instance.getRequestBuilder().buildGetRequest(path)
.withCredentials(instance.getServerUsername(), instance.getServerPassword())
).assertStatus(200);
}
}