|
||||||||||
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,
StringToObjectMap 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. |
int |
getResultCount()
|
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()
|
TestStepResult |
runTestStep(TestStep testStep,
boolean discard,
boolean process)
|
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, StringToObjectMap properties)
Method Detail |
---|
public WsdlTestRunContext getRunContext()
public void start(boolean async)
TestRunner
start
in interface TestRunner
async
- flag controlling if TestCase should be run in seperate or callers thread.public void cancel(java.lang.String reason)
TestRunner
cancel
in interface TestRunner
public void fail(java.lang.String reason)
TestRunner
fail
in interface TestRunner
public TestRunner.Status getStatus()
TestRunner
getStatus
in interface TestRunner
public int getId()
public void run()
run
in interface java.lang.Runnable
public TestStepResult runTestStep(TestStep testStep, boolean discard, boolean process)
public TestCase getTestCase()
TestRunner
getTestCase
in interface TestRunner
public TestRunner.Status waitUntilFinished()
TestRunner
waitUntilFinished
in interface TestRunner
public long getTimeTaken()
TestRunner
getTimeTaken
in interface TestRunner
public long getStartTime()
TestRunner
getStartTime
in interface TestRunner
public java.lang.Throwable getError()
public java.lang.String getReason()
TestRunner
getReason
in interface TestRunner
public java.util.List<TestStepResult> getResults()
TestRunner
getResults
in interface TestRunner
public int getResultCount()
public void gotoStep(int index)
TestRunner
gotoStep
in interface TestRunner
public 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 |