Class AbstractClientTestKeyword
- java.lang.Object
-
- step.handlers.javahandler.AbstractKeyword
-
- step.basic.restclient.tests.commons.keywords.AbstractClientTestKeyword
-
- Direct Known Subclasses:
BasicServiceTests
,DataCreationKeyword
,EBCBasicRemoteTest
,RemoteCollectionE2ETest
,RemoteExecutionAccessorTest
,RemoteExecutionManagerTest
,RemoteFunctionAccessorTest
,RemoteMultitenancyClientImplTest
,RemoteParameterAccessorTest
,RemotePlanAccessorTest
,RemotePlanClientTest
,RemoteReportTreeAccessorTest
,RemoteResourceManagerTest
public class AbstractClientTestKeyword extends step.handlers.javahandler.AbstractKeyword
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AbstractClientTestKeyword.StepClientAndCredentials
-
Constructor Summary
Constructors Constructor Description AbstractClientTestKeyword()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StepClient
getClient()
protected step.client.credentials.ControllerCredentials
getCredentials()
protected AbstractClientTestKeyword.StepClientAndCredentials
getStepClientAndCredentials()
void
InitClient()
protected AbstractClientTestKeyword.StepClientAndCredentials
newStepClientAndCredentials(java.lang.String url, java.lang.String username, java.lang.String password)
boolean
onError(java.lang.Exception e)
-
-
-
Method Detail
-
InitClient
public void InitClient()
-
getCredentials
protected step.client.credentials.ControllerCredentials getCredentials()
-
getClient
protected StepClient getClient()
-
onError
public boolean onError(java.lang.Exception e)
- Overrides:
onError
in classstep.handlers.javahandler.AbstractKeyword
-
getStepClientAndCredentials
protected AbstractClientTestKeyword.StepClientAndCredentials getStepClientAndCredentials()
- Returns:
- the client previously initialized by the Keyword InitClient. If the client hasn't been set explicitly initialized by the Keyword InitClient use the credentials set in the properties instead. If no credentials are set in the properties, use the default credentials for local testing
-
newStepClientAndCredentials
protected AbstractClientTestKeyword.StepClientAndCredentials newStepClientAndCredentials(java.lang.String url, java.lang.String username, java.lang.String password)
-
-