//regenerate the context with super tenant domain
AutomationContext adminContext = new AutomationContext("Jaggery", TestUserMode.SUPER_TENANT_ADMIN);
ServerAdminClient serverAdminClient = new ServerAdminClient(backendURL,
adminContext.getSuperTenant().getTenantAdmin().getUserName(),
adminContext.getSuperTenant().getTenantAdmin().getPassword());
serverAdminClient.restartGracefully();
}
protected boolean isServiceDeployed(String serviceName) throws RemoteException {
return ServiceDeploymentUtil.isServiceDeployed(backendURL,
sessionCookie, serviceName);