|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eviware.soapui.impl.wsdl.support.AbstractTestRunner<WsdlTestCase,WsdlTestRunContext>
com.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 | |
---|---|
WsdlTestRunContext |
createContext(StringToObjectMap properties)
|
void |
enforceMaxResults(long maxResults)
|
int |
getResultCount()
|
java.util.List<TestStepResult> |
getResults()
Gets the accumulated results so far; each TestStep returns a TestStepResult when running. |
WsdlTestCase |
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 |
protected void |
internalFinally(WsdlTestRunContext runContext)
|
void |
internalRun(WsdlTestRunContext runContext)
|
void |
onCancel(java.lang.String reason)
|
void |
onFail(java.lang.String reason)
|
TestStepResult |
runTestStep(TestStep testStep)
|
TestStepResult |
runTestStep(TestStep testStep,
boolean discard,
boolean process)
|
TestStepResult |
runTestStepByName(java.lang.String name)
Runs the specified TestStep and returns the result |
Methods inherited from class com.eviware.soapui.impl.wsdl.support.AbstractTestRunner |
---|
cancel, fail, getError, getId, getReason, getRunContext, getStartTime, getStatus, getTestRunnable, getThread, isCanceled, isFailed, isRunning, run, setError, setStartTime, setStatus, setTimeTaken, start, startTimeoutTimer, waitUntilFinished |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.eviware.soapui.model.testsuite.TestCaseRunner |
---|
getRunContext |
Methods inherited from interface com.eviware.soapui.model.testsuite.TestRunner |
---|
cancel, fail, getReason, getStartTime, getStatus, getTestRunnable, start, waitUntilFinished |
Constructor Detail |
---|
public WsdlTestCaseRunner(WsdlTestCase testCase, StringToObjectMap properties)
Method Detail |
---|
public WsdlTestRunContext createContext(StringToObjectMap properties)
createContext
in class AbstractTestRunner<WsdlTestCase,WsdlTestRunContext>
public void onCancel(java.lang.String reason)
onCancel
in class AbstractTestRunner<WsdlTestCase,WsdlTestRunContext>
public void onFail(java.lang.String reason)
onFail
in class AbstractTestRunner<WsdlTestCase,WsdlTestRunContext>
public void internalRun(WsdlTestRunContext runContext) throws java.lang.Exception
internalRun
in class AbstractTestRunner<WsdlTestCase,WsdlTestRunContext>
java.lang.Exception
protected void internalFinally(WsdlTestRunContext runContext)
internalFinally
in class AbstractTestRunner<WsdlTestCase,WsdlTestRunContext>
public TestStepResult runTestStepByName(java.lang.String name)
TestCaseRunner
runTestStepByName
in interface TestCaseRunner
public TestStepResult runTestStep(TestStep testStep)
public TestStepResult runTestStep(TestStep testStep, boolean discard, boolean process)
public WsdlTestCase getTestCase()
TestCaseRunner
getTestCase
in interface TestCaseRunner
public long getTimeTaken()
TestRunner
getTimeTaken
in interface TestRunner
getTimeTaken
in class AbstractTestRunner<WsdlTestCase,WsdlTestRunContext>
public java.util.List<TestStepResult> getResults()
TestCaseRunner
getResults
in interface TestCaseRunner
public int getResultCount()
public void gotoStep(int index)
TestCaseRunner
gotoStep
in interface TestCaseRunner
public void enforceMaxResults(long maxResults)
public void gotoStepByName(java.lang.String stepName)
TestCaseRunner
gotoStepByName
in interface TestCaseRunner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |