Contributions
Re: Not able to generate alerts count while running security test cases from cammand line.
yes i have done that , prblm here is that the alert which i am getting is comming as error while running through cmd. As i have send the log earlier it is an alert but not comming in the report , and the second part as all the threee report are generated there is no issue in that.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes0CommentsNot able to generate alerts count while running security test cases from cammand line.
Hi team i am trying to run security test cases from cammand lin eusing security runner , but whule running with this cammand i am not able to generate the alerts while i am getting error log while for the same test cases when i am running the cases from gui i am getting alerts for the same scans . one of the logs for this is as follows: 13:01:44,122 ERROR [SoapUI] An error occurred [Illegal character in path at index 97: https://myapp.com/url/api/v1/name/%3CHEAD%3E%3CMETA HTTP-EQUIV=%22CONTENT-TYPE%22 CONTENT=%22text/html; charset=UTF-7%22%3E %3C/HEAD%3E+ADw-SCRIPT+AD4-alert('XSS');+ADw-/SCRIPT+AD4-], see error log for details 13:01:44,123 ERROR [errorlog] java.net.URISyntaxException: Illegal character in path at index 97: https://myapp.com/url/api/v1/name/%3CHEAD%3E%3CMETA HTTP-EQUIV=%22CONTENT-TYPE%22 CONTENT=%22text/html; charset=UTF-7%22%3E %3C/HEAD%3E+ADw-SCRIPT+AD4-alert('XSS');+ADw-/SCRIPT+AD4- java.net.URISyntaxException: Illegal character in path at index 97: https://myapp.com/url/api/v1/name/%3CHEAD%3E%3CMETA HTTP-EQUIV=%22CONTENT-TYPE%22 CONTENT=%22text/html; charset=UTF-7%22%3E %3C/HEAD%3E+ADw-SCRIPT+AD4-alert('XSS');+ADw-/SCRIPT+AD4- at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at org.apache.http.client.utils.URIUtils.createURI(URIUtils.java:112) at com.eviware.soapui.impl.wsdl.submit.filters.HttpRequestFilter.filterHttpRequest(HttpRequestFilter.java:239) at com.eviware.soapui.impl.wsdl.submit.filters.RestRequestFilter.filterRestRequest(RestRequestFilter.java:31) at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterAbstractHttpRequest(AbstractRequestFilter.java:42) at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterRequest(AbstractRequestFilter.java:34) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.filterRequest(HttpClientRequestTransport.java:396) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:192) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:120) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) for the same error i am getting alert while running this from gui but not getting any alert through cammand line i am running following cammand: securitytestrunner.bat -r -a -f"C:\jenkinsworkspace\workspace\SecurityTest\report" -R"SecurityTest Report" -F"PDF,XML,CSV" -H"Authorization=Bearer NmQ2YjYzZGItYTA1ZC00YWFiLWExOTQtY2U0ODA5N2I1NTYxZDk1ZTUxNjEtMWQx" -s"TestSuite 1" -c"Name" -n"SecurityTest 1" -E"Default environment" "C:\Users\admin\soapui-project.xml"8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes2CommentsI have to see the test cases written in the scans
Hi team , We have purchased license for SOAP UI pro and Secure pro both , and i want to see the test cases written under the scans, so can you provide me assistance in looking into the cases.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions727Views0likes1CommentRe: I am trying to generate report through cli but not able to generate it using the cammands.
Hi team please reply this quicky , as i am running the security scan from gui i and getting 53 issue in 679 scans while when i am running the same xml through cammnd run runner as stated in earlier conversation i am not getting any issue , The issue which i am getting in gui format is warning so whether i will not get any warning scenario through CLI8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes0CommentsRe: I am trying to generate report through cli but not able to generate it using the cammands.
One more question is that i have to pass header parameters from cammand line so how can we send that in our request and how to write test case for GET rest api where we have to get something on behalf of some value. ex: www.someurl.com/value i have to get on behalf of value8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes1CommentRe: I am trying to generate report through cli but not able to generate it using the cammands.
Hi i am not able to generate the pdf file and xml file for the security test run as using this cammnd "securitytestrunner.bat -r -a -fC:\SoapUI\Support\temp\report -R"Project Report" -FPDF,XML -EDefault project.xml" my scans is running and i am getting failures also but not able to generate the report. While able to generate it through testRunner8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes0CommentsI am trying to generate report through cli but not able to generate it using the cammands.
Hi , i am not able to generate report using CLI, i am using following cammand securitytestrunner.bat -FPDF -f"C:\Test Results" -R"JUnit-Style HTML Report" -nSecurityTest1 "C:\my projects\my-project.xml i am able to run the test cases with the cammand line but not get the report , as the folder C:\Test Results is generated but report is not , i have got both SOAPUI pro and Secure Pro license. Please help me out asap.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes5Comments