cancel
Showing results for 
Search instead for 
Did you mean: 

Soap UI rest api and soap api

Occasional Visitor

Soap UI rest api and soap api

Dear Team

I am getting connection is refused whenever I running the request .

 

Please suggest further.

Please find the logs

 

Fri Sep 21 22:17:15 IST 2018:ERRORSmiley Surprisedrg.apache.http.conn.HttpHostConnectException: Connection to https://restcountries.eu refused
   org.apache.http.conn.HttpHostConnectException: Connection to https://restcountries.eu refused
   
   org.apache.http.conn.HttpHostConnectException: Connection to https://restcountries.eu refused
       at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:290)
       at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
       at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
       at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
       at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
       at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
       at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
       at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:233)
       at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:323)
       at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:297)
       at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:227)
       at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119)
       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)
   Caused by: java.net.ConnectException: Connection timed out: connect
       at java.net.DualStackPlainSocketImpl.connect0(Native Method)
       at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
       at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
       at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
       at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
       at java.net.PlainSocketImpl.connect(Unknown Source)
       at java.net.SocksSocketImpl.connect(Unknown Source)
       at java.net.Socket.connect(Unknown Source)
       at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
       at com.eviware.soapui.impl.wsdl.support.http.SoapUISSLSocketFactory.connectSocket(SoapUISSLSocketFactory.java:194)
       at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:273)
       ... 16 more
Fri Sep 21 22:27:59 IST 2018:ERRORSmiley Surprisedrg.apache.http.conn.HttpHostConnectException: Connection to https://restcountries.eu refused
   org.apache.http.conn.HttpHostConnectException: Connection to https://restcountries.eu refused
       at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:290)
       at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
       at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
       at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
       at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
       at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
       at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
       at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:233)
       at com.eviware.soapui.impl.wsdl.support.http.Http

1 REPLY 1
Regular Contributor

Re: Soap UI rest api and soap api

Hi @anil91jugmail,

 

Try with Http instead of Https, hope this will work, if it didn't work add this in exception of your internet Settings and as Trusted URLs in Internet Settings

 

Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

 

Thanks and Regards,

Himanshu Tayal


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

Thanks and Regards,
Himanshu Tayal
New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors