Surajsingh7987
2 years agoFrequent Visitor
How to run ssl by cmd in azure pipline?
cd C:\Program Files\SmartBear\SoapUI-5.7.0\bin
testrunner.bat -sAutomatedTestSuite -j -f"D:\test result" "D:\SOAP UI Projects\DCP 310 Soap Project.xml"
I have integrated the soapui with the Azure pipeline and now we have added the SSL configuration, it is working in GUI mode but when I am running it by cmd getting an error.
14:56:27,807 DEBUG [AbstractDefinitionContext] Loaded Definition: ok 2023-01-11T14:56:28.9954805Z 14:56:28,945 INFO [WsdlMockDispatcher] Mounted WSDL for interface [SOAPBeantwoordVraag] at [/QueryResponse?WSDL] 2023-01-11T14:56:29.0620310Z 14:56:29,058 INFO [JettyMockEngine] Started mockService [SOAP Mock Response] on port [8433] at path [/QueryResponse] 2023-01-11T14:56:29.0647900Z 14:56:29,058 INFO [SoapUITestCaseRunner] running step [REST Request] 2023-01-11T14:57:29.1151764Z 14:57:29,111 ERROR [WsdlSubmit] Exception in request: java.net.SocketTimeoutException: Read timed out 2023-01-11T14:57:29.1153883Z 14:57:29,111 ERROR [SoapUI] An error occurred [Read timed out], see error log for details 2023-01-11T14:57:29.1253066Z java.net.SocketTimeoutException: Read timed out 2023-01-11T14:57:29.1444987Z at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283) 2023-01-11T14:57:29.1445704Z 14:57:29,126 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] has status UNKNOWN 2023-01-11T14:57:29.1448906Z 14:57:29,136 ERROR [SoapUITestCaseRunner] REST Request failed, exporting to [D:\test result\AutomatedTestSuite-Company_Search_on_CompanyName-REST_Request-0-FAILED.txt] 2023-01-11T14:57:29.1452987Z at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309) 2023-01-11T14:57:29.1454557Z 14:57:29,141 INFO [JettyMockEngine] Stopped MockService [SOAP Mock Response] on port [8433] 2023-01-11T14:57:29.1460594Z at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) 2023-01-11T14:57:29.1467670Z 14:57:29,141 INFO [SoapUITestCaseRunner] Finished running SoapUI testcase [[Company] Search on CompanyName], time taken: 0ms, status: FAILED 2023-01-11T14:57:29.1470684Z at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) 2023-01-11T14:57:29.1484874Z 14:57:29,146 INFO [SoapUITestCaseRunner] Running SoapUI testcase [[Company] Search on CompanyExternalId] 2023-01-11T14:57:29.1485748Z at java.base/java.net.Socket$SocketInputStream.read(Socket.java:976) 2023-01-11T14:57:29.1491105Z 14:57:29,146 INFO [SoapUITestCaseRunner] running step [REST Request] 2023-01-11T14:57:29.1491980Z at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478) 2023-01-11T14:57:29.1492898Z at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472) 2023-01-11T14:57:29.1493754Z at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70) 2023-01-11T14:57:29.1494595Z at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1444) 2023-01-11T14:57:29.1495397Z at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1048) 2023-01-11T14:57:29.1496196Z at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) 2023-01-11T14:57:29.1497041Z at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) 2023-01-11T14:57:29.1497856Z at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) 2023-01-11T14:57:29.1498715Z at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) 2023-01-11T14:57:29.1499591Z at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) 2023-01-11T14:57:29.1509219Z at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) 2023-01-11T14:57:29.1510308Z at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) 2023-01-11T14:57:29.1511144Z at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) 2023-01-11T14:57:29.1512183Z at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doReceiveResponse(HttpClientSupport.java:488) 2023-01-11T14:57:29.1513831Z at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) 2023-01-11T14:57:29.1523225Z at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) 2023-01-11T14:57:29.1525111Z at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) 2023-01-11T14:57:29.1526006Z at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) 2023-01-11T14:57:29.1526720Z at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) 2023-01-11T14:57:29.1527457Z at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) 2023-01-11T14:57:29.1528242Z at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) 2023-01-11T14:57:29.1529109Z at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpClient.doExecute(HttpClientSupport.java:344) 2023-01-11T14:57:29.1529968Z at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) 2023-01-11T14:57:29.1530776Z at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:548) 2023-01-11T14:57:29.1531622Z at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:614) 2023-01-11T14:57:29.1532543Z at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:302) 2023-01-11T14:57:29.1533544Z at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:232) 2023-01-11T14:57:29.1534354Z at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:120) 2023-01-11T14:57:29.1535043Z at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:80) 2023-01-11T14:57:29.1535728Z at com.eviware.soapui.impl.rest.RestRequest.submit(RestRequest.java:192) 2023-01-11T14:57:29.1536482Z at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:795) 2023-01-11T14:57:29.1537314Z at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:211) 2023-01-11T14:57:29.1538194Z at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47) 2023-01-11T14:57:29.1539061Z at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:138) 2023-01-11T14:57:29.1539937Z at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:46) 2023-01-11T14:57:29.1540747Z at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129) 2023-01-11T14:57:29.1547415Z at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 2023-01-11T14:57:29.1548127Z at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2023-01-11T14:57:29.1549005Z at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) 2023-01-11T14:57:29.1549777Z at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) 2023-01-11T14:57:29.1550446Z at java.base/java.lang.Thread.run(Thread.java:831)
so please help me in this
and i know it can be solved by using t command but i don't know how to use it