| com.eviware.soapui.model.testsuite.TestRunner
All known Subclasses: com.eviware.soapui.impl.wsdl.panels.support.MockTestRunner, com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner,
TestRunner | public interface TestRunner (Code) | | Runs a TestCase
author: Ole.Matzura |
Inner Class :public enum Status | |
cancel | public void cancel(String reason)(Code) | | Cancels an ongoing test run with the specified reason
|
fail | public void fail(String reason)(Code) | | Fails an ongoing test run with the specified reason
|
getReason | public String getReason()(Code) | | Gets the reason why a running test was canceled or failed.
|
getResults | public List<TestStepResult> getResults()(Code) | | Gets the accumulated results so far; each TestStep returns a TestStepResult when running.
the accumulated results so far |
getStartTime | public long getStartTime()(Code) | | Returns the time this runner was last started
|
getStatus | public Status getStatus()(Code) | | Gets the current status of this TestRunner
|
getTestCase | public TestCase getTestCase()(Code) | | Gets the TestCase being run
the TestCase being run |
getTimeTaken | public long getTimeTaken()(Code) | | Returns the time taken by this runner since its last start
|
gotoStep | public void gotoStep(int index)(Code) | | Transfers execution of this TestRunner to the TestStep with the specified index in the TestCase
|
gotoStepByName | public void gotoStepByName(String stepName)(Code) | | Transfers execution of this TestRunner to the TestStep with the specified name in the TestCase
|
start | public void start(boolean async)(Code) | | Starts running this TestRunners TestCase. If the async flag is set to true, this method will return
directly, otherwise it will block until the TestCase is finished
Parameters: async - flag controlling if TestCase should be run in seperate or callers thread. |
waitUntilFinished | public Status waitUntilFinished()(Code) | | Blocks until this runner is finished, (returns directly if it already has finished)
|
|
|