18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Issue with running in batch mode using command line

Rajesh2001Rajesh2001 Members
edited November -1 in Sahi - Open Source
Hi ,

I am trying to run the scripts using command line

my basic page takes me into another pop up window . The batch mode fails after calling the pop up window. Below is the error messge. Can someone help me on this

PID: [4312]
Error while connecting to rd.companion.yahoo.com:80
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:78)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:138)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:117)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:71)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:64)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:118)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:78)
at java.lang.Thread.run(Unknown Source)
Error while connecting to us.update.toolbar.yahoo.com:80
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:78)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:138)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:117)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:71)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:64)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:118)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:78)
at java.lang.Thread.run(Unknown Source)

Comments

  • narayannarayan Administrators
    Hi Rajesh,

    Looks like some problem with a yahoo toolbar on your browser. Try disabling the toolbar.

    Regards,
    Narayan
  • Disabled all the toolbars i had .
    Now also the same issue

    >>>>>> Tests size = 1
    #### Running Script: D:\rajesh\sahi\sahi_ait\scripts\PRODUCER_SEARCH.sah
    PID: [1084]

    After this its shutting down and my base page for login returns a HTTP 404 Page not found error
  • narayannarayan Administrators
    What browser are you using? Is the proxy set on the browser?
  • IE 7 is the browser.
    For proxy are you asking about localhost : 9999 ?
Sign In or Register to comment.