@BeforeClass(alwaysRun = true) public void init() throws Exception { super.init(); automationContext = new AutomationContext("CEP", TestUserMode.SUPER_TENANT_ADMIN); instanceMap = automationContext.getProductGroup().getInstanceMap(); contextMap = new HashMap<String, AutomationContext>(); if (instanceMap != null && instanceMap.size() > 0) { for (Map.Entry<String, Instance> entry : instanceMap.entrySet()) { String instanceKey = entry.getKey(); contextMap.put( instanceKey, new AutomationContext("CEP", instanceKey, TestUserMode.SUPER_TENANT_ADMIN)); log.info(instanceKey); } } log.info("Cluster instance loading"); }