public class ASIntegrationTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.wso2.carbon.automation.engine.context.AutomationContext |
asServer |
protected String |
backendURL |
protected org.wso2.carbon.integration.common.utils.LoginLogoutClient |
loginLogoutClient |
protected org.wso2.carbon.integration.common.admin.client.SecurityAdminServiceClient |
securityAdminServiceClient |
protected String |
sessionCookie |
protected org.wso2.carbon.automation.engine.context.beans.User |
userInfo |
protected String |
webAppURL |
| Constructor and Description |
|---|
ASIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applySecurity(String scenarioNumber,
String serviceName,
String userGroup) |
protected void |
cleanup() |
protected void |
createDataSource(String dataSourceName,
SqlDataSourceUtil sqlDataSource) |
protected void |
deleteService(String serviceName) |
protected void |
deployAarService(String serviceName,
String fileNameWithExtension,
String filePath,
String serviceHierarchy) |
protected org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceMetaInfo |
getDataSourceInformation(String dataSourceName,
SqlDataSourceUtil sqlDataSource) |
protected String |
getSecuredServiceEndpoint(String serviceName) |
protected String |
getServiceUrl(String serviceName) |
protected String |
getServiceUrlHttps(String serviceName) |
protected String |
getWebAppURL(WebAppTypes webAppType) |
protected void |
gracefullyRestartServer() |
protected void |
init() |
protected void |
init(String domainKey,
String userKey) |
protected void |
init(org.wso2.carbon.automation.engine.context.TestUserMode testUserMode) |
protected boolean |
isServiceDeployed(String serviceName) |
protected boolean |
isServiceFaulty(String serviceName) |
static void |
main(String[] args) |
protected org.wso2.carbon.automation.engine.context.AutomationContext asServer
protected String sessionCookie
protected String backendURL
protected String webAppURL
protected org.wso2.carbon.integration.common.admin.client.SecurityAdminServiceClient securityAdminServiceClient
protected org.wso2.carbon.integration.common.utils.LoginLogoutClient loginLogoutClient
protected org.wso2.carbon.automation.engine.context.beans.User userInfo
protected void init(org.wso2.carbon.automation.engine.context.TestUserMode testUserMode)
throws Exception
Exceptionprotected String getWebAppURL(WebAppTypes webAppType) throws XPathExpressionException
XPathExpressionExceptionprotected String getServiceUrl(String serviceName) throws XPathExpressionException
XPathExpressionExceptionprotected String getServiceUrlHttps(String serviceName) throws XPathExpressionException
XPathExpressionExceptionprotected void deployAarService(String serviceName, String fileNameWithExtension, String filePath, String serviceHierarchy) throws Exception
Exceptionprotected void deleteService(String serviceName) throws RemoteException
RemoteExceptionprotected boolean isServiceDeployed(String serviceName) throws RemoteException
RemoteExceptionprotected boolean isServiceFaulty(String serviceName) throws RemoteException
RemoteExceptionprotected String getSecuredServiceEndpoint(String serviceName) throws XPathExpressionException
XPathExpressionExceptionprotected void applySecurity(String scenarioNumber, String serviceName, String userGroup) throws RemoteException, InterruptedException, XPathExpressionException, org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException
RemoteExceptionInterruptedExceptionXPathExpressionExceptionorg.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionExceptionprotected void createDataSource(String dataSourceName, SqlDataSourceUtil sqlDataSource) throws Exception
Exceptionprotected org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceMetaInfo getDataSourceInformation(String dataSourceName, SqlDataSourceUtil sqlDataSource) throws XMLStreamException
XMLStreamExceptionprotected void cleanup()
throws RemoteException
RemoteExceptionpublic static void main(String[] args)
Copyright © 2015 WSO2 Inc. All rights reserved.