| java.lang.Object com.eviware.soapui.tools.AbstractSoapUIRunner com.eviware.soapui.tools.SoapUITestCaseRunner
SoapUITestCaseRunner | public class SoapUITestCaseRunner extends AbstractSoapUIRunner implements TestRunListener(Code) | | Standalone test-runner used from maven-plugin, can also be used from command-line (see xdocs) or
directly from other classes.
For standalone usage, set the project file (with setProjectFile) and other desired properties before
calling run
author: Ole.Matzura |
SoapUITestCaseRunner | public SoapUITestCaseRunner()(Code) | | |
SoapUITestCaseRunner | public SoapUITestCaseRunner(String title)(Code) | | |
initCommandLineOptions | protected SoapUIOptions initCommandLineOptions()(Code) | | |
main | public static void main(String[] args) throws Exception(Code) | | Runs the tests in the specified soapUI project file, see soapUI xdocs for details.
Parameters: args - throws: Exception - |
printReport | public void printReport(long timeTaken)(Code) | | |
processCommandLine | protected boolean processCommandLine(CommandLine cmd)(Code) | | |
run | public void run() throws Exception(Code) | | Runs the testcases as configured with setXXX methods
throws: Exception - thrown if any tests fail |
runSuite | public void runSuite(TestSuite suite)(Code) | | Run tests in the specified TestSuite
Parameters: suite - the TestSuite to run |
setDomain | public void setDomain(String domain)(Code) | | Sets the domain to use for any authentications
Parameters: domain - the domain to use for any authentications |
setEndpoint | public void setEndpoint(String endpoint)(Code) | | Sets the endpoint to use for all test requests
Parameters: endpoint - the endpoint to use for all test requests |
setExportAll | public void setExportAll(boolean exportAll)(Code) | | Add console appender to groovy log
|
setHost | public void setHost(String host)(Code) | | 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 |
setJUnitReport | public void setJUnitReport(boolean junitReport)(Code) | | |
setOutputFolder | public void setOutputFolder(String outputFolder)(Code) | | |
setPassword | public void setPassword(String password)(Code) | | Sets the password to use for any authentications
Parameters: domain - the password to use for any authentications |
setPrintReport | public void setPrintReport(boolean printReport)(Code) | | Controls if a short test summary should be printed after the test runs
Parameters: printReport - a flag controlling if a summary should be printed |
setTestCase | public void setTestCase(String testCase)(Code) | | Sets the testcase to run
Parameters: testCase - the testcase to run |
setTestSuite | public void setTestSuite(String testSuite)(Code) | | Sets the TestSuite to run. If not set all TestSuites in the specified project file are run
Parameters: testSuite - the testSuite to run. |
setUsername | public void setUsername(String username)(Code) | | Sets the username to use for any authentications
Parameters: domain - the username to use for any authentications |
setWssPasswordType | public void setWssPasswordType(String wssPasswordType)(Code) | | 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' |
throwFailureException | protected void throwFailureException() throws Exception(Code) | | |
Fields inherited from com.eviware.soapui.tools.AbstractSoapUIRunner | protected static Logger log(Code)(Java Doc)
|
|
|