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.
Using External Proxy
In one of your posts, it was explained that we need to set localhost <9999> in the browser->Tools and then specify the external proxy in the properties file of sahi, in case we need to use the external proxy.
I need to try this because i am able to connect to my inranet & internet when i set localhost <9999> in the browser->Tools and run the Sahi Server.
But the only thing which is not accessible is my AUT. Which is accessible with my company settings for accessing internet.
Actually they have set the internet settings such that they do mention the proxy server and port but they do not select the checkbox of "Use a proxy server for you LAN....."
And when i set the external proxy with proxy ip mentioned by our company & then restart the Sahi server. It gives me the below error and does not opens any site from internet or intranet.
Can you help resove this???
Sahi - Connection refused: connect
Either the remote server is down
or
You need an external proxy to be configured.
You could configure the external proxy by editing <sahi_root>/config/sahi.properties and setting these properties:
ext.proxy.enable=true
ext.proxy.host=external_proxy_server_hostname_or_ip
ext.proxy.port=external_proxy_server_port
Exception was:
Connection refused: connect
I need to try this because i am able to connect to my inranet & internet when i set localhost <9999> in the browser->Tools and run the Sahi Server.
But the only thing which is not accessible is my AUT. Which is accessible with my company settings for accessing internet.
Actually they have set the internet settings such that they do mention the proxy server and port but they do not select the checkbox of "Use a proxy server for you LAN....."
And when i set the external proxy with proxy ip mentioned by our company & then restart the Sahi server. It gives me the below error and does not opens any site from internet or intranet.
Can you help resove this???
Sahi - Connection refused: connect
Either the remote server is down
or
You need an external proxy to be configured.
You could configure the external proxy by editing <sahi_root>/config/sahi.properties and setting these properties:
ext.proxy.enable=true
ext.proxy.host=external_proxy_server_hostname_or_ip
ext.proxy.port=external_proxy_server_port
Exception was:
Connection refused: connect
Comments
So you might have to end up running a chain of proxies.
Browser -> Sahi -> Intermediate that can validate -> External proxy
I recommend using CC Proxy for Windows since it is free, easy to use from the desktop and can validate with external proxies:
http://www.youngzsoft.net/ccproxy/proxy-server-download.htm