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.

[Help] assist me analyze somewhat sahi alert message

wei_changwei_chang Members
edited September 2013 in Sahi - Open Source
Hi:
Could somebody being kindness to answer me what is that mean for as following?
After "_click(_submit("LOGIN")); ", I got a lot a lot hints that revealed "Unknown Source ".

Many thanks in advance,
BR
Wei

Starting script
_setValue(_textbox("username"), "admin"); at 2013/9/26 上午 11:40:59
_setValue(_password("password"), "admin"); at 2013/9/26 上午 11:41:00
_click(_submit("LOGIN")); at 2013/9/26 上午 11:41:00
Could not connect to the web server.
java.net.UnknownHostException: mntr.babcdn.com
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 java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:129)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:83)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:149)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:93)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at 2013/9/26 上午 11:41:02
_click(_link("Advanced Setup")); at 2013/9/26 上午 11:41:12
Total Memory in JVM (Xmx) is: 247.5 MB;
Memory currently in use is: 15.625 MB;
Memory increment during this test is: 0 MB
at 2013/9/26 上午 11:41:12
Stopping script

Answers

  • Hi wei,
    It looks like the problem lies with the webserver. Sahi is not able to find it so either the webserver was down while running the script or some other issue related to "mntr.babcdn.com".
    Have you tried executing the script again later?

    Regards.
  • Hi Pratyush_Tyto,

    Thanks for explain me detials,
    I found the root-cause is there a short time disconnecting in login page(when login into next page).

    BR
    Wei
Sign In or Register to comment.