AnsweredAssumed Answered

Error while invoking REST API using REST API Invoke step

Question asked by RajN on Apr 24, 2018

I'm trying to invoke an existing API using URL.

Error while invoking REST API using REST API Invoke step.

 

Error log

java.net.UnknownHostException: www.metaweather.com at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44) at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) at com.itko.lisa.test.CommTrans.doSend(CommTrans.java:1015) at com.itko.lisa.test.CommTrans.send(CommTrans.java:811) at com.itko.lisa.test.CommTrans.sendGET(CommTrans.java:764) at com.itko.lisa.ws.rest.RESTNode.doSend(RESTNode.java:209) at com.itko.lisa.ws.rest.RESTNode.doWebTrans(RESTNode.java:168) at com.itko.lisa.ws.rest.RESTNodeBase.execute(RESTNodeBase.java:362) at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981) at com.itko.lisa.test.TestCase.execute(TestCase.java:1280) at com.itko.lisa.test.TestCase.execute(TestCase.java:1195) at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1180) at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1048) at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:68) at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:961) at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194) at java.lang.Thread.run(Unknown Source)

 

 

Any idea why?

Attachments

Outcomes