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.

Does Sahi Support Custom tags(JSP)

Anjali RamanAnjali Raman Members
edited November -1 in Sahi - Open Source
Hi,
I am looking out for a tool that can support custom JSP tags while doing WUI Testing.
I found that many of the testing tools fail to identify custom tags and libraries need to be written for the same.
I am new to Sahi and yet exploring the functionalities of it.
Please let me know an answer to this.

Thanks
Anjali

Comments

  • narayannarayan Administrators
    Anjali,

    There should not be any problem with custom JSP tags. They eventually generate HTML and Javascript. So Sahi handles them fine. If you face any specific issues, let us know.

    Regards,
    Narayan
  • Thanks for the reply. Will test the application with Sahi and post on if I face any further issues.
  • Hi,
    I tried to use the tool with Mozilla and got the below exception:

    java.net.ConnectException: Connection timed out: 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.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:74)
    at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:53)
    at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:127)
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:84)
    at java.lang.Thread.run(Unknown Source)


    I configured Mozilla as per the demo, and also tried to fix the sahi.properties file to include the proxy
    # Use external proxy server for http
    ext.http.proxy.enable=true
    ext.http.proxy.host=<hostname>
    ext.http.proxy.port= 0
    ext.http.proxy.auth.enable=true
    ext.http.proxy.auth.name=anraman
    ext.http.proxy.auth.password=Computer12$

    # Use external proxy server for https
    ext.https.proxy.enable=true
    ext.https.proxy.host=<hostname>
    ext.https.proxy.port= 0
    ext.https.proxy.auth.enable=true
    ext.https.proxy.auth.name=anraman
    ext.https.proxy.auth.password=Computer12$

    This is the proxy setting used in our company. There is no port assigned and so I retained it as 0.
    Can you please help me solve this issue and let me know if I have gone wrong anywhere, cos none of the sites are opening as soon as I replace the settings with localhost:9999.
    I deleted some part of the exception as I am unable to post URLs and Links in the post.

    Thanks in advance.
  • narayannarayan Administrators
    Change the http proxy port to 80. That is the default port for http.
    Use 80 or 443 for https (which ever works)
Sign In or Register to comment.