Contributions
- 5.8KViews0likes0Comments
Unable to capture HTML Acknowledgement || Linux Command line.
Hi Guys,i am running Soapui from command line in Linux, and is struggling to capture the acknowledgement that comes as HTML: I am able to capture the request and acknowledgement form the Soapui GUI after running in Windows. Request: is attached Acknowledgement: is attached --------------------------------------------------------------------------------------------------------------------------------------------------- The Linux command line output generates an output file something like this: Status: FAILED Time Taken: 557 Size: 0 Timestamp: Fri Jul 06 23:23:23 NZST 2018 TestStep: Query Place ----------------- Messages ------------------------------ java.net.SocketException: Connection reset ----------------- Properties ------------------------------ Endpoint: https://www.test.com Encoding: UTF-8 ---------------- Request --------------------------- <soapenv:Envelope xmlns:mes="http://www.tcf.org.nz/v0.0.1/bif/MessageDiagnosticHeader" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:touc="http://www.tcf.org.nz/v5/bif/touchpoint"> <soapenv:Header> <mes:MessageDiagnosticHeader URI=""> <diagnosticHeaderId>123</diagnosticHeaderId> <createdDateTime>2018-07-07T23:23:23.605+12:00</createdDateTime> <fromPartyId>test</fromPartyId> <toPartyId>test</toPartyId> </mes:MessageDiagnosticHeader> </soapenv:Header> <soapenv:Body> <touc:QueryPlaceRequest> <PlaceInteraction> <PlaceInteractionItem> <Place> <id>100</id> </Place> </PlaceInteractionItem> </PlaceInteraction> </touc:QueryPlaceRequest> </soapenv:Body> </soapenv:Envelope> ---------------- Response -------------------------- - missing response / garbage collected - ==================================================== So here the response should be the HTML one saying that the portal is currently under maintenance. thanks.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes1CommentRe: SOAPUI KeystoreException Failed to extract any certificate or private keys - maybe bad password
i am facing same issue not sure what is the issue; it was working fine before but once I made some updates in the project this error has started appearing. 19:42:36,720 ERROR [SoapUI] An error occurred [Signature creation failed], see error log for details org.apache.ws.security.WSSecurityException: Signature creation failed at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:561) at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:481) at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:386) at com.eviware.soapui.impl.wsdl.support.wss.entries.SignatureEntry.process(SignatureEntry.java:239) at com.eviware.soapui.impl.wsdl.support.wss.OutgoingWss.processOutgoing(OutgoingWss.java:174) at com.eviware.soapui.impl.wsdl.mock.WsdlMockResponse.executeSpecifics(WsdlMockResponse.java:345) at com.eviware.soapui.impl.support.AbstractMockResponse.execute(AbstractMockResponse.java:267) at com.eviware.soapui.impl.wsdl.mock.WsdlMockOperation.dispatchRequest(WsdlMockOperation.java:209) at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchPostRequest(WsdlMockDispatcher.java:219) at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchRequest(WsdlMockDispatcher.java:114) at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:144) at com.eviware.soapui.monitor.JettyMockEngine$ServerHandler.handle(JettyMockEngine.java:604) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:713) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.ws.security.WSSecurityException: General security error (The private key for the supplied alias does not exist in the keystore) at org.apache.ws.security.components.crypto.Merlin.getPrivateKey(Merlin.java:725) at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:504) ... 24 more Caused by: java.security.UnrecoverableKeyException: Cannot recover key at sun.security.provider.KeyProtector.recover(KeyProtector.java:328) at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:146) at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:56) at sun.security.provider.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:96) at sun.security.provider.JavaKeyStore$DualFormatJKS.engineGetKey(JavaKeyStore.java:70) at java.security.KeyStore.getKey(KeyStore.java:1023) at org.apache.ws.security.components.crypto.Merlin.getPrivateKey(Merlin.java:711) ... 25 more in onMockResult for [Create Order Response] for result 1556544410 Got mockrequest to [Create Order Response]6 years agoPlace ReadyAPI QuestionsReadyAPI Questions6.4KViews0likes2Comments