@AfterClass(groups = "wso2.esb") public void close() throws Exception { // resourceAdminServiceClient.deleteResource("/_system/config/test_ep_config"); axis2Server1.stop(); endPointAdminClient = null; super.cleanup(); }
@AfterClass(alwaysRun = true) public void close() throws Exception { if (axis2Server != null && axis2Server.isStarted()) { axis2Server.stop(); // } else { // ServiceDeploymentUtil deployer = new ServiceDeploymentUtil(); // deployer.unDeployArrService(appServer.getBackEndUrl(), // appServer.getSessionCookie() // , MTOM_SERVICE, 30000); } super.cleanup(); }