|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eviware.soapui.tools.AbstractSoapUIRunner
com.eviware.soapui.tools.AbstractSoapUITestRunner
com.eviware.soapui.tools.SoapUITestCaseRunner
com.eviware.soapui.tools.SoapUISecurityTestRunner
public class SoapUISecurityTestRunner
Standalone security 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
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.eviware.soapui.tools.SoapUITestCaseRunner |
|---|
SoapUITestCaseRunner.InternalProjectRunListener |
| Nested classes/interfaces inherited from class com.eviware.soapui.tools.AbstractSoapUIRunner |
|---|
AbstractSoapUIRunner.SoapUIOptions |
| Field Summary | |
|---|---|
static java.lang.String |
SOAPUI_EXPORT_SEPARATOR
|
static java.lang.String |
TITLE
|
| Fields inherited from class com.eviware.soapui.tools.AbstractSoapUIRunner |
|---|
log |
| Constructor Summary | |
|---|---|
SoapUISecurityTestRunner()
|
|
SoapUISecurityTestRunner(java.lang.String title)
|
|
| Method Summary | |
|---|---|
protected void |
addListeners(TestCase tc)
|
void |
afterOriginalStep(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityTestStepResult result)
|
void |
afterRun(TestCaseRunner testRunner,
SecurityTestRunContext runContext)
|
void |
afterRun(TestCaseRunner testRunner,
TestCaseRunContext runContext)
|
void |
afterSecurityScan(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityScanResult securityScanResult)
|
void |
afterSecurityScanRequest(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityScanRequestResult securityScanReqResult)
|
void |
afterStep(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityTestStepResult result)
|
void |
afterStep(TestCaseRunner testRunner,
TestCaseRunContext runContext,
TestStepResult result)
|
void |
beforeRun(TestCaseRunner testRunner,
SecurityTestRunContext runContext)
|
void |
beforeRun(TestCaseRunner testRunner,
TestCaseRunContext runContext)
|
void |
beforeSecurityScan(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityScan securityScan)
|
void |
beforeStep(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
TestStepResult testStepResult)
|
void |
beforeStep(TestCaseRunner testRunner,
TestCaseRunContext runContext,
TestStep currentStep)
|
void |
exportJUnitReports(JUnitSecurityReportCollector collector,
java.lang.String folder,
WsdlProject project)
|
protected void |
exportReports(WsdlProject project)
|
protected AbstractSoapUIRunner.SoapUIOptions |
initCommandLineOptions()
|
protected void |
initProject(WsdlProject project)
|
static void |
main(java.lang.String[] args)
Runs the tests in the specified soapUI project file, see soapUI xdocs for details. |
void |
printReport(long timeTaken)
|
protected boolean |
processCommandLine(org.apache.commons.cli.CommandLine cmd)
|
protected void |
runProject(WsdlProject project)
|
boolean |
runRunner()
|
protected void |
runSecurityTest(SecurityTest securityTest)
|
protected void |
runSuite(WsdlTestSuite suite)
Run tests in the specified TestSuite |
protected void |
runTestCase(WsdlTestCase testCase)
Runs the SecurityTests in the specified TestCase |
void |
setSecurityTestName(java.lang.String securityTestName)
|
| Methods inherited from class com.eviware.soapui.tools.AbstractSoapUITestRunner |
|---|
beforeStep, getDomain, getEndpoint, getHost, getPassword, getUsername, getWssPasswordType, prepareRequestStep, setDomain, setEndpoint, setHost, setPassword, setUsername, setWssPasswordType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SOAPUI_EXPORT_SEPARATOR
public static final java.lang.String TITLE
| Constructor Detail |
|---|
public SoapUISecurityTestRunner()
public SoapUISecurityTestRunner(java.lang.String title)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
args -
java.lang.Exceptionprotected boolean processCommandLine(org.apache.commons.cli.CommandLine cmd)
processCommandLine in class SoapUITestCaseRunnerpublic void setSecurityTestName(java.lang.String securityTestName)
protected AbstractSoapUIRunner.SoapUIOptions initCommandLineOptions()
initCommandLineOptions in class SoapUITestCaseRunner
public boolean runRunner()
throws java.lang.Exception
runRunner in class SoapUITestCaseRunnerjava.lang.Exceptionprotected void runProject(WsdlProject project)
runProject in class SoapUITestCaseRunner
protected void initProject(WsdlProject project)
throws java.lang.Exception
initProject in class SoapUITestCaseRunnerjava.lang.Exception
protected void exportReports(WsdlProject project)
throws java.lang.Exception
exportReports in class SoapUITestCaseRunnerjava.lang.Exceptionprotected void addListeners(TestCase tc)
addListeners in class SoapUITestCaseRunner
public void exportJUnitReports(JUnitSecurityReportCollector collector,
java.lang.String folder,
WsdlProject project)
throws java.lang.Exception
java.lang.Exceptionpublic void printReport(long timeTaken)
printReport in class SoapUITestCaseRunnerprotected void runSuite(WsdlTestSuite suite)
runSuite in class SoapUITestCaseRunnersuite - the TestSuite to runprotected void runTestCase(WsdlTestCase testCase)
runTestCase in class SoapUITestCaseRunnertestCase - the testcase to runcontext - protected void runSecurityTest(SecurityTest securityTest)
securityTest -
public void beforeRun(TestCaseRunner testRunner,
TestCaseRunContext runContext)
beforeRun in interface TestRunListenerbeforeRun in class SoapUITestCaseRunner
public void beforeStep(TestCaseRunner testRunner,
TestCaseRunContext runContext,
TestStep currentStep)
beforeStep in interface TestRunListenerbeforeStep in class SoapUITestCaseRunner
public void afterStep(TestCaseRunner testRunner,
TestCaseRunContext runContext,
TestStepResult result)
afterStep in interface TestRunListenerafterStep in class SoapUITestCaseRunner
public void afterStep(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityTestStepResult result)
afterStep in interface SecurityTestRunListener
public void afterRun(TestCaseRunner testRunner,
TestCaseRunContext runContext)
afterRun in interface TestRunListenerafterRun in class SoapUITestCaseRunner
public void afterOriginalStep(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityTestStepResult result)
afterOriginalStep in interface SecurityTestRunListener
public void afterRun(TestCaseRunner testRunner,
SecurityTestRunContext runContext)
afterRun in interface SecurityTestRunListener
public void afterSecurityScan(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityScanResult securityScanResult)
afterSecurityScan in interface SecurityTestRunListener
public void afterSecurityScanRequest(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityScanRequestResult securityScanReqResult)
afterSecurityScanRequest in interface SecurityTestRunListener
public void beforeRun(TestCaseRunner testRunner,
SecurityTestRunContext runContext)
beforeRun in interface SecurityTestRunListener
public void beforeSecurityScan(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
SecurityScan securityScan)
beforeSecurityScan in interface SecurityTestRunListener
public void beforeStep(TestCaseRunner testRunner,
SecurityTestRunContext runContext,
TestStepResult testStepResult)
beforeStep in interface SecurityTestRunListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||