StockQuoteClient stockQuoteClient = new StockQuoteClient();
try {
AuthenticateStub authenticateStub = new AuthenticateStub();
ConfigServiceAdminStub configServiceAdminStub = new ConfigServiceAdminStub("https://" + FrameworkSettings.HOST_NAME + ":" + FrameworkSettings.HTTPS_PORT + "/services/ConfigServiceAdmin");
authenticateStub.authenticateAdminStub(configServiceAdminStub, sessionCookie);
ArtifactReader artifactReader = new ArtifactReader();
OMElement omElement = artifactReader.getOMElement(InOutMediatorTest.class.getResource("/inoutMediatorTest.xml").getPath());
configServiceAdminStub.updateConfiguration(omElement);
Thread.sleep(4000); //// http://esb.cloud.private.wso2.com:8280/services/t/testautomation.com/