Hi, I use Java / JUnit to run my SoapUI PRO TestSuites. Actually this works fine with:
SoapUIProTestCaseRunner runner = new SoapUIProTestCaseRunner();
No errors when running this test.
Now, I've added a security test (with SecurePRO) to the same TestCase.
It seems as I have to run this special security test with:
SoapUISecurityTestRunner runner = new SoapUISecurityTestRunner();runner ...
When running this test, I get following error:
16:28:43,844 ERROR [SecurityTest] Could not create security scan with type: HttpMethodFuzzingScan, no factory for this scan type exists
Anyone know what this could mean?
Do I miss some dependency?
Both runners come from here:
Full Java JUnit Code:
String soapuiProjectFile = "SbSoapUI_crm_contact_rest_with_security.xml";
SoapUISecurityTestRunner runner = new SoapUISecurityTestRunner(); runner.setProjectFile(getFullPathFilenameSoapUiProjectFile(soapuiProjectFile)); runner.setPrintReport(true); runner.setExportAll(false); runner.setOutputFolder(SOAPUIOUTPUTFOLDER); runner.setSettingsFile(SOAPUISETTINGSFILE); runner.setJUnitReport(true); runner.run();
Go to Solution.
Use SoapUIProSecurityTestRunner instead of SoapUISecurityTestRunner since it is a Secure Pro scan.
View solution in original post
Thanks! I completelly overlooked this detail!