public class SoapUITestCaseRunner extends AbstractSoapUITestRunner
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
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
SOAPUI_EXPORT_SEPARATOR |
|
static java.lang.String |
TESTCASE_TAGS |
|
static java.lang.String |
TESTSUITE_TAGS |
|
static java.lang.String |
TITLE |
Fields inherited from class | Fields |
---|---|
class AbstractSoapUIRunner |
ABNORMAL_TERMINATION, CLASS_NAME_TYPE, NORMAL_TERMINATION, PLUGIN_VERSION, POST_ON_SLACK, PROJECT_NOT_FOUND_TERMINATION, RUNNER_NAME_PROPERTY, STARTED_BY_MAVEN, STARTED_FROM, STARTED_FROM_CI_SYSTEM, TYPE |
Constructor and description |
---|
SoapUITestCaseRunner
() |
SoapUITestCaseRunner
(java.lang.String title) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
afterRun(TestCaseRunner testRunner, TestCaseRunContext runContext) |
|
public void |
afterStep(TestCaseRunner testRunner, TestCaseRunContext runContext, TestStepResult result) |
|
public void |
beforeRun(TestCaseRunner testRunner, TestCaseRunContext runContext) |
|
public void |
beforeStep(TestCaseRunner testRunner, TestCaseRunContext runContext, TestStep currentStep) |
|
public void |
exportJUnitReports(JUnitReportCollector collector, java.lang.String folder, WsdlProject project) |
|
public int |
getAssertionCount() |
|
public java.util.Map<TestAssertion, WsdlTestStepResult> |
getAssertionResults() |
|
public java.util.List<TestAssertion> |
getAssertions() |
|
public int |
getExportCount() |
|
public java.util.List<TestAssertion> |
getFailedAssertions() |
|
public java.util.List<TestCase> |
getFailedTests() |
|
public java.lang.String |
getProjectPassword() |
|
public java.lang.String |
getTestCase() |
|
public int |
getTestStepCount() |
|
public java.lang.String |
getTestSuite() |
|
public boolean |
isExportAll() |
|
public boolean |
isIgnoreErrors() |
|
public boolean |
isJUnitReport() |
|
public boolean |
isJunitReport() |
|
public boolean |
isPrintAlertSiteReport() |
|
public boolean |
isPrintReport() |
|
public boolean |
isSaveAfterRun() |
|
public static void |
main(java.lang.String[] args) Runs the tests in the specified soapUI project file, see SoapUI xdocs for details. |
|
public void |
printReport(long timeTaken) |
|
public void |
publishToSlack(long timeTaken) |
|
public boolean |
runRunner() |
|
public void |
setExportAll(boolean exportAll) Add console appender to groovy log |
|
public void |
setExportCount(int exportCount) |
|
public void |
setIgnoreError(boolean ignoreErrors) |
|
public void |
setIgnoreErrors(boolean ignoreErrors) |
|
public void |
setJUnitReport(boolean junitReport) |
|
public void |
setJUnitReportWithProperties(boolean shouldIncludePropertiesInTheReport) |
|
public void |
setPrintAlertSiteReport(boolean printAlertSiteReport) |
|
public void |
setPrintReport(boolean printReport) Controls if a short test summary should be printed after the test runs |
|
public void |
setProjectPassword(java.lang.String projectPassword) |
|
public void |
setSaveAfterRun(boolean saveAfterRun) |
|
public void |
setSettingsFile(java.lang.String settingsFile) |
|
public void |
setTags(java.lang.String[] tagArgs) |
|
public void |
setTestCase(java.lang.String testCase) Sets the testcase to run |
|
public void |
setTestStepCount(int testStepCount) |
|
public void |
setTestSuite(java.lang.String testSuite) Sets the TestSuite to run. |
Runs the tests in the specified soapUI project file, see SoapUI xdocs for details.
Add console appender to groovy log
Controls if a short test summary should be printed after the test runs
printReport
- a flag controlling if a summary should be printedSets the testcase to run
testCase
- the testcase to runSets the TestSuite to run. If not set all TestSuites in the specified project file are run
testSuite
- the testSuite to run.ReadyAPI runners SDK 3.57.0