public abstract class AbstractSoapUITestRunner extends AbstractSoapUIRunner implements TestRunListener
AbstractSoapUIRunner.SoapUIOptions
ABNORMAL_TERMINATION, log, NORMAL_TERMINATION
Constructor and Description |
---|
AbstractSoapUITestRunner(String title) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun(TestCaseRunner testRunner,
TestCaseRunContext runContext) |
void |
afterStep(TestCaseRunner testRunner,
TestCaseRunContext runContext,
TestStepResult result) |
void |
beforeRun(TestCaseRunner testRunner,
TestCaseRunContext runContext) |
void |
beforeStep(TestCaseRunner testRunner,
TestCaseRunContext runContext) |
void |
beforeStep(TestCaseRunner testRunner,
TestCaseRunContext runContext,
TestStep currentStep) |
String |
getDomain() |
String |
getEndpoint() |
String |
getHost() |
String |
getPassword() |
String |
getProjectPassword() |
String |
getUsername() |
String |
getWssPasswordType() |
protected void |
prepareRequestStep(HttpRequestTestStep requestStep) |
void |
setDomain(String domain)
Sets the domain to use for any authentications
|
void |
setEndpoint(String endpoint)
Sets the endpoint to use for all test requests
|
void |
setHost(String host)
Sets the host to use by all test-requests, the existing endpoint port and
path will be used
|
void |
setPassword(String password)
Sets the password to use for any authentications
|
void |
setProjectPassword(String projectPassword) |
void |
setUsername(String username)
Sets the username to use for any authentications
|
void |
setWssPasswordType(String wssPasswordType)
Sets the WSS password-type to use for any authentications.
|
createSoapUICore, ensureConsoleAppenderIsDefined, ensureFolder, ensureOutputFolder, getAbsoluteOutputFolder, getCommandLineOptionSubstSpace, getLog, getModelItemOutputFolder, getOutputFolder, getProjectFile, getProjectProperties, getSettingsFile, getSoapUISettingsPassword, initCommandLineOptions, initFromCommandLine, initGroovyLog, initProjectProperties, isEnableUI, processCommandLine, requiresProjectArgument, run, run, runFromCommandLine, runRunner, setCustomHeaders, setEnableUI, setGlobalProperties, setOutputFolder, setProjectFile, setProjectProperties, setSettingsFile, setSoapUISettingsPassword, setSystemProperties, validateCommandLineArgument
public AbstractSoapUITestRunner(String title)
public void setProjectPassword(String projectPassword)
setProjectPassword
in class AbstractSoapUIRunner
public void setHost(String host)
host
- the host to use by all requestspublic void setDomain(String domain)
domain
- the domain to use for any authenticationspublic void setPassword(String password)
password
- the password to use for any authenticationspublic void setWssPasswordType(String wssPasswordType)
wssPasswordType
- the wss-password type to use, either 'Text' or 'Digest'public void setUsername(String username)
username
- the username to use for any authenticationspublic String getProjectPassword()
getProjectPassword
in class AbstractSoapUIRunner
public void setEndpoint(String endpoint)
endpoint
- the endpoint to use for all test requestspublic String getEndpoint()
public String getDomain()
public String getPassword()
public String getUsername()
public String getHost()
public String getWssPasswordType()
protected void prepareRequestStep(HttpRequestTestStep requestStep)
public void beforeRun(TestCaseRunner testRunner, TestCaseRunContext runContext)
beforeRun
in interface TestRunListener
public final void beforeStep(TestCaseRunner testRunner, TestCaseRunContext runContext)
beforeStep
in interface TestRunListener
public void beforeStep(TestCaseRunner testRunner, TestCaseRunContext runContext, TestStep currentStep)
beforeStep
in interface TestRunListener
public void afterStep(TestCaseRunner testRunner, TestCaseRunContext runContext, TestStepResult result)
afterStep
in interface TestRunListener
public void afterRun(TestCaseRunner testRunner, TestCaseRunContext runContext)
afterRun
in interface TestRunListener
Copyright © 2019. All Rights Reserved.