public class ASPlatformBaseTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.wso2.carbon.automation.engine.context.AutomationContext> |
contextMap |
protected String |
defaultGroup |
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
ASPlatformBaseTest() |
| Modifier and Type | Method and Description |
|---|---|
protected org.wso2.carbon.automation.engine.context.AutomationContext |
getAutomationContextWithKey(String key)
Get automation context object with given node key
|
protected void |
initCluster(org.wso2.carbon.automation.engine.context.TestUserMode userMode)
Create automation context objects for every node in config, this will create AS cluster by default
|
protected void |
initCluster(org.wso2.carbon.automation.engine.context.TestUserMode userMode,
String productGroup)
Create automation context objects for every node in config, this will create other nodes
|
protected String |
login(org.wso2.carbon.automation.engine.context.AutomationContext context)
Login and provide session cookie for node
|
protected org.apache.commons.logging.Log log
protected Map<String,org.wso2.carbon.automation.engine.context.AutomationContext> contextMap
protected String defaultGroup
protected void initCluster(org.wso2.carbon.automation.engine.context.TestUserMode userMode)
throws XPathExpressionException
userMode - User mode for which the automation context should useXPathExpressionExceptionprotected void initCluster(org.wso2.carbon.automation.engine.context.TestUserMode userMode,
String productGroup)
throws XPathExpressionException
userMode - User mode for which the automation context should useXPathExpressionExceptionprotected org.wso2.carbon.automation.engine.context.AutomationContext getAutomationContextWithKey(String key)
key - The key value for automation context mapprotected String login(org.wso2.carbon.automation.engine.context.AutomationContext context) throws org.wso2.carbon.integration.common.utils.exceptions.AutomationUtilException
context - The automation context to be used.IOExceptionXPathExpressionExceptionURISyntaxExceptionSAXExceptionXMLStreamExceptionorg.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionExceptionorg.wso2.carbon.integration.common.utils.exceptions.AutomationUtilExceptionCopyright © 2015 WSO2 Inc. All rights reserved.