@Before public void Initilaization() { context = new ServiceContext(); context.put(ServiceClientConstant.SERVICE_URL, "http://localhost:3030/service"); context.put(ServiceClientConstant.SERVICE_USERNAME, "demouser"); context.put(ServiceClientConstant.SERVICE_PASSWORD, "phresco"); }
@Before public void setUp() throws PhrescoException { // String serviceURL = "http://172.16.25.196:3030/service/rest/api"; // String serviceURL = "http://172.16.25.44:8081/service/rest/api"; String serviceURL = "http://172.16.17.117:7070/service-3/rest/api"; String userName = "******"; String password = "******"; ServiceContext context = new ServiceContext(); context.put("phresco.service.url", serviceURL); context.put("phresco.service.username", userName); context.put("phresco.service.password", password); serviceManager = ServiceClientFactory.getServiceManager(context); }