com.eviware.soapui.tools
Class AbstractSoapUITestRunner

java.lang.Object
  extended by com.eviware.soapui.tools.AbstractSoapUIRunner
      extended by com.eviware.soapui.tools.AbstractSoapUITestRunner
All Implemented Interfaces:
TestRunListener
Direct Known Subclasses:
SoapUILoadTestRunner, SoapUITestCaseRunner

public abstract class AbstractSoapUITestRunner
extends AbstractSoapUIRunner
implements TestRunListener


Nested Class Summary
 
Nested classes/interfaces inherited from class com.eviware.soapui.tools.AbstractSoapUIRunner
AbstractSoapUIRunner.SoapUIOptions
 
Field Summary
 
Fields inherited from class com.eviware.soapui.tools.AbstractSoapUIRunner
log
 
Constructor Summary
AbstractSoapUITestRunner(java.lang.String title)
           
 
Method Summary
 void afterRun(TestRunner testRunner, TestRunContext runContext)
           
 void afterStep(TestRunner testRunner, TestRunContext runContext, TestStepResult result)
           
 void beforeRun(TestRunner testRunner, TestRunContext runContext)
           
 void beforeStep(TestRunner testRunner, TestRunContext runContext)
           
 java.lang.String getDomain()
           
 java.lang.String getEndpoint()
           
 java.lang.String getHost()
           
 java.lang.String getPassword()
           
 java.lang.String getProjectPassword()
           
 java.lang.String getUsername()
           
 java.lang.String getWssPasswordType()
           
protected  void prepareRequestStep(HttpRequestTestStep requestStep)
           
 void setDomain(java.lang.String domain)
          Sets the domain to use for any authentications
 void setEndpoint(java.lang.String endpoint)
          Sets the endpoint to use for all test requests
 void setHost(java.lang.String host)
          Sets the host to use by all test-requests, the existing endpoint port and path will be used
 void setPassword(java.lang.String password)
          Sets the password to use for any authentications
 void setProjectPassword(java.lang.String projectPassword)
           
 void setUsername(java.lang.String username)
          Sets the username to use for any authentications
 void setWssPasswordType(java.lang.String wssPasswordType)
          Sets the WSS password-type to use for any authentications.
 
Methods inherited from class com.eviware.soapui.tools.AbstractSoapUIRunner
createSoapUICore, ensureFolder, ensureOutputFolder, getAbsoluteOutputFolder, getCommandLineOptionSubstSpace, getOutputFolder, getProjectFile, getSettingsFile, getSoapUISettingsPassword, initCommandLineOptions, initFromCommandLine, initGroovyLog, processCommandLine, run, runFromCommandLine, runRunner, setEnableUI, setGlobalProperties, setOutputFolder, setProjectFile, setSettingsFile, setSoapUISettingsPassword, setSystemProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSoapUITestRunner

public AbstractSoapUITestRunner(java.lang.String title)
Method Detail

setProjectPassword

public void setProjectPassword(java.lang.String projectPassword)

setHost

public void setHost(java.lang.String host)
Sets the host to use by all test-requests, the existing endpoint port and path will be used

Parameters:
host - the host to use by all requests

setDomain

public void setDomain(java.lang.String domain)
Sets the domain to use for any authentications

Parameters:
domain - the domain to use for any authentications

setPassword

public void setPassword(java.lang.String password)
Sets the password to use for any authentications

Parameters:
password - the password to use for any authentications

setWssPasswordType

public void setWssPasswordType(java.lang.String wssPasswordType)
Sets the WSS password-type to use for any authentications. Setting this will result in the addition of WS-Security UsernamePassword tokens to any outgoing request containing the specified username and password.

Parameters:
wssPasswordType - the wss-password type to use, either 'Text' or 'Digest'

setUsername

public void setUsername(java.lang.String username)
Sets the username to use for any authentications

Parameters:
username - the username to use for any authentications

getProjectPassword

public java.lang.String getProjectPassword()

setEndpoint

public void setEndpoint(java.lang.String endpoint)
Sets the endpoint to use for all test requests

Parameters:
endpoint - the endpoint to use for all test requests

getEndpoint

public java.lang.String getEndpoint()

getDomain

public java.lang.String getDomain()

getPassword

public java.lang.String getPassword()

getUsername

public java.lang.String getUsername()

getHost

public java.lang.String getHost()

getWssPasswordType

public java.lang.String getWssPasswordType()

prepareRequestStep

protected void prepareRequestStep(HttpRequestTestStep requestStep)

beforeRun

public void beforeRun(TestRunner testRunner,
                      TestRunContext runContext)
Specified by:
beforeRun in interface TestRunListener

beforeStep

public void beforeStep(TestRunner testRunner,
                       TestRunContext runContext)
Specified by:
beforeStep in interface TestRunListener

afterStep

public void afterStep(TestRunner testRunner,
                      TestRunContext runContext,
                      TestStepResult result)
Specified by:
afterStep in interface TestRunListener

afterRun

public void afterRun(TestRunner testRunner,
                     TestRunContext runContext)
Specified by:
afterRun in interface TestRunListener


Copyright © 2005-2008 eviware.com. All Rights Reserved.