18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Script not recording.
I am a new user for sahi tool.
I tried using the tool as per the demo illustriated.
When I try to record the script from gooale page, say I try to access gmail. Searched gmail in google and clicked on the relative link that will take me to gmail login page. @ this time it is asking for the 'Certificate' (i.e. 'Yes', 'No' abd 'View Certificate'), If i click on 'Yes' for a couple of times then the page get redirected to gmail login page, meanwhile my recording stops and the 'Recording Page' gets refreshed and thereafter it dosent work. If I could see the sahi Reply in the command prompt I can see the following;
HTTPS/SSL START
Sahi is trying to create a certificate for domain:
www.googleadservices.com
If you are unable to connect to this https site, do the following:
Check on your filesystem to see if a file like
\sahi\certs\www_googleadservices_com
has been created.
If not, then create it by running the command below on a command prompt.
Note that you need 'keytool' to be in your path.
keytool comes with the JDK by default and is present in <JAVA_HOME>/bin.
Once you create that file, ssl/https should work properly for that site.
You may encounter this problem mostly on Linux.
If you find a solution for this on Linux,
please mail it to narayanraman@users.sourceforge.net
COMMAND START
keytool -genkey -alias www.googleadservices.com -keypass sahipassword -storepass
sahipassword -keyalg RSA -keystore
\sahi\certs\www_googleadservices_com -dnam
e "CN=www.googleadservices.com, OU=Sahi, O=Sahi, L=Bangalore, S=Karnataka, C=IN"
COMMAND END
The files in certs can be copied over to other systems to make ssl/https work th
ere.
HTTPS/SSL END
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:44)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:65)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:71)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:44)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:65)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:71)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:44)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:65)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:71)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:44)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:65)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:71)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
**********************************************************
What could be wrong in the settings? Please suggest me or help me ASAP.
Regards,
Selvamohan
I tried using the tool as per the demo illustriated.
When I try to record the script from gooale page, say I try to access gmail. Searched gmail in google and clicked on the relative link that will take me to gmail login page. @ this time it is asking for the 'Certificate' (i.e. 'Yes', 'No' abd 'View Certificate'), If i click on 'Yes' for a couple of times then the page get redirected to gmail login page, meanwhile my recording stops and the 'Recording Page' gets refreshed and thereafter it dosent work. If I could see the sahi Reply in the command prompt I can see the following;
HTTPS/SSL START
Sahi is trying to create a certificate for domain:
www.googleadservices.com
If you are unable to connect to this https site, do the following:
Check on your filesystem to see if a file like
has been created.
If not, then create it by running the command below on a command prompt.
Note that you need 'keytool' to be in your path.
keytool comes with the JDK by default and is present in <JAVA_HOME>/bin.
Once you create that file, ssl/https should work properly for that site.
You may encounter this problem mostly on Linux.
If you find a solution for this on Linux,
please mail it to narayanraman@users.sourceforge.net
COMMAND START
keytool -genkey -alias www.googleadservices.com -keypass sahipassword -storepass
sahipassword -keyalg RSA -keystore
e "CN=www.googleadservices.com, OU=Sahi, O=Sahi, L=Bangalore, S=Karnataka, C=IN"
COMMAND END
The files in certs can be copied over to other systems to make ssl/https work th
ere.
HTTPS/SSL END
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:44)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:65)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:71)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:44)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:65)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:71)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:44)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:65)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:71)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:44)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:65)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:71)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestPro
cessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProce
ssor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProce
ssor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor
.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
**********************************************************
What could be wrong in the settings? Please suggest me or help me ASAP.
Regards,
Selvamohan