|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eviware.soapui.tools.SoapUITestCaseRunner
public class SoapUITestCaseRunner
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
Constructor Summary | |
---|---|
SoapUITestCaseRunner()
|
Method Summary | |
---|---|
void |
afterRun(TestRunner testRunner)
|
boolean |
afterStep(TestRunner testRunner)
|
boolean |
beforeRun(TestRunner testRunner)
|
boolean |
beforeStep(TestRunner testRunner)
|
static void |
main(java.lang.String[] args)
Runs the tests in the specified soapui project file, see soapui xdocs for details. |
void |
run()
Runs the testcases as configured with setXXX methods |
void |
runSuite(TestSuite suite)
Run tests in the specified TestSuite |
void |
setDomain(java.lang.String domain)
Sets the domain to use for any authentications |
void |
setEndpoint(java.lang.String endpoint)
Sets the endpoint to use for all test requests |
void |
setPassword(java.lang.String password)
Sets the password to use for any authentications |
void |
setProjectFile(java.lang.String projectFile)
Sets the soapui project file containing the tests to run |
void |
setTestCase(java.lang.String testCase)
Sets the testcase to run |
void |
setTestSuite(java.lang.String testSuite)
Sets the TestSuite to run. |
void |
setUsername(java.lang.String username)
Sets the username to use for any authentications |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoapUITestCaseRunner()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
-
java.lang.Exception
public void setDomain(java.lang.String domain)
domain
- the domain to use for any authenticationspublic void setPassword(java.lang.String password)
domain
- the password to use for any authenticationspublic void setUsername(java.lang.String username)
domain
- the username to use for any authenticationspublic void run() throws java.lang.Exception
java.lang.Exception
- thrown if any tests failpublic void runSuite(TestSuite suite)
suite
- the TestSuite to runpublic void setProjectFile(java.lang.String projectFile)
projectFile
- the soapui project file containing the tests to runpublic void setTestCase(java.lang.String testCase)
testCase
- the testcase to runpublic void setEndpoint(java.lang.String endpoint)
endpoint
- the endpoint to use for all test requestspublic void setTestSuite(java.lang.String testSuite)
testSuite
- the testSuite to run.public boolean beforeRun(TestRunner testRunner)
beforeRun
in interface TestRunListener
public boolean beforeStep(TestRunner testRunner)
beforeStep
in interface TestRunListener
public boolean afterStep(TestRunner testRunner)
afterStep
in interface TestRunListener
public void afterRun(TestRunner testRunner)
afterRun
in interface TestRunListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |