StockQuoteClient stockQuoteClient = new StockQuoteClient();
OMElement result = null;
LogViewerStub logViewerStub = null;
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();
logViewerStub = new LogViewerStub("https://" + FrameworkSettings.HOST_NAME + ":" + FrameworkSettings.HTTPS_PORT + "/services/LogViewer");
authenticateStub.authenticateAdminStub(logViewerStub, sessionCookie);
OMElement omElement = artifactReader.getOMElement(SwitchMediatorTest.class.getResource("/switch.xml").getPath());
configServiceAdminStub.updateConfiguration(omElement);
if (FrameworkSettings.STRATOS.equalsIgnoreCase("false")) {