|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner
public class WsdlTestCaseRunner
WSDL TestCase Runner - runs all steps in a testcase and collects performance data
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.TestRunner |
|---|
TestRunner.Status |
| Constructor Summary | |
|---|---|
WsdlTestCaseRunner(WsdlTestCase testCase,
PropertiesMap properties)
|
|
| Method Summary | |
|---|---|
void |
cancel(java.lang.String reason)
Cancels an ongoing test run with the specified reason |
void |
fail(java.lang.String reason)
Fails an ongoing test run with the specified reason |
java.lang.Throwable |
getError()
|
int |
getId()
|
java.lang.String |
getReason()
Gets the reason why a running test was canceled or failed. |
java.util.List<TestStepResult> |
getResults()
Gets the accumulated results so far; each TestStep returns a TestStepResult when running. |
WsdlTestRunContext |
getRunContext()
|
long |
getStartTime()
Returns the time this runner was last started |
TestRunner.Status |
getStatus()
Gets the current status of this TestRunner |
TestCase |
getTestCase()
Gets the TestCase being run |
long |
getTimeTaken()
Returns the time taken by this runner since its last start |
void |
gotoStep(int index)
Transfers execution of this TestRunner to the TestStep with the specified index in the TestCase |
void |
gotoStepByName(java.lang.String stepName)
Transfers execution of this TestRunner to the TestStep with the specified name in the TestCase |
void |
run()
|
void |
start(boolean async)
Starts running this TestRunners TestCase. |
TestRunner.Status |
waitUntilFinished()
Blocks until this runner is finished, (returns directly if it already has finished) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WsdlTestCaseRunner(WsdlTestCase testCase,
PropertiesMap properties)
| Method Detail |
|---|
public WsdlTestRunContext getRunContext()
public void start(boolean async)
TestRunner
start in interface TestRunnerasync - flag controlling if TestCase should be run in seperate or callers thread.public void cancel(java.lang.String reason)
TestRunner
cancel in interface TestRunnerpublic void fail(java.lang.String reason)
TestRunner
fail in interface TestRunnerpublic TestRunner.Status getStatus()
TestRunner
getStatus in interface TestRunnerpublic int getId()
public void run()
run in interface java.lang.Runnablepublic TestCase getTestCase()
TestRunner
getTestCase in interface TestRunnerpublic TestRunner.Status waitUntilFinished()
TestRunner
waitUntilFinished in interface TestRunnerpublic long getTimeTaken()
TestRunner
getTimeTaken in interface TestRunnerpublic long getStartTime()
TestRunner
getStartTime in interface TestRunnerpublic java.lang.Throwable getError()
public java.lang.String getReason()
TestRunner
getReason in interface TestRunnerpublic java.util.List<TestStepResult> getResults()
TestRunner
getResults in interface TestRunnerpublic void gotoStep(int index)
TestRunner
gotoStep in interface TestRunnerpublic void gotoStepByName(java.lang.String stepName)
TestRunner
gotoStepByName in interface TestRunner
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||