cancel
Showing results for 
Search instead for 
Did you mean: 

Security Test command line runner

Highlighted
Occasional Visitor

Security Test command line runner

Hi,

 

I am trying to run a security test using command line runner with an option of saving report in a specified folder (used an argument "-a"). Once the test is completed its giving some error mentioned below, only when we have any failed security scan requests. Because of this error its not completely writing the output data to a text file, its writing only some of the security scan requests data. Please help me on this..

 

Details : 

Tool : SoapUI 5.5.50 (open source)

Command Used : "securitytestrunner.bat" -r -f"<path to save output reports>" -a -I "<path to soap ui project file (xml)>"

Error : ERROR [SoapUISecurityTestRunner] Error saving failed result: java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.teststeps.RestRequestStepResult.getRawRequestData(RestRequestStepResult.java:326)
at com.eviware.soapui.security.result.SecurityTestStepResult.writeTo(SecurityTestStepResult.java:203)
at com.eviware.soapui.tools.SoapUISecurityTestRunner.afterStep(SoapUISecurityTestRunner.java:420)
at com.eviware.soapui.security.SecurityTestRunnerImpl.runCurrentTestStep(SecurityTestRunnerImpl.java:233)
at com.eviware.soapui.security.SecurityTestRunnerImpl.runCurrentTestStep(SecurityTestRunnerImpl.java:43)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:138)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:46)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:128)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:76)
at com.eviware.soapui.security.SecurityTest.run(SecurityTest.java:373)
at com.eviware.soapui.tools.SoapUISecurityTestRunner.runSecurityTest(SoapUISecurityTestRunner.java:343)
at com.eviware.soapui.tools.SoapUISecurityTestRunner.runTestCase(SoapUISecurityTestRunner.java:287)
at com.eviware.soapui.tools.SoapUISecurityTestRunner.runSuite(SoapUISecurityTestRunner.java:265)
at com.eviware.soapui.tools.SoapUISecurityTestRunner.runProject(SoapUISecurityTestRunner.java:216)
at com.eviware.soapui.tools.SoapUISecurityTestRunner.runRunner(SoapUISecurityTestRunner.java:185)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:202)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:137)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:112)
at com.eviware.soapui.tools.SoapUISecurityTestRunner.main(SoapUISecurityTestRunner.java:95)

 

Thanks and Regards,

Hemanth K J

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors