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.

Problem with local proxy

miguelangelrealmiguelangelreal Members
edited November -1 in Sahi - Open Source
Good morning

I have a problem when recording on a Web application on a local proxy. I've seen in forums configuration problems, and I think I succeeded.

Anyway, I put the addresses of exception browser applications to access them through Sahi, but does not record or recognize any Ctrl.

Excuse my English

Comments

  • Hi miguelangelreal,

    Could you please let me know the browser you are using to record the scripts

    Regards
    Sumitra
  • I tested with IE and Firefox but I can not record with anyone. I'm sure it's a configuration problem, but can not find the error.

    The application works through a local proxy, then I had to add the addresses as exceptions to the browser using the Sahi Controller to access them, but now does not record or recognize the elements of the web application.

    This is the configuration:

    # Use external proxy server for http
    ext.http.proxy.enable=true
    ext.http.proxy.host=proxy.ieci.geci
    ext.http.proxy.port=8080
    ext.http.proxy.auth.enable=false
    ext.http.proxy.auth.name=
    ext.http.proxy.auth.password=

    # Use external proxy server for https
    ext.https.proxy.enable=true
    ext.https.proxy.host=proxy.ieci.geci
    ext.https.proxy.port=8080
    ext.https.proxy.auth.enable=false
    ext.https.proxy.auth.name=
    ext.https.proxy.auth.password=

    # There is only one bypass list for both secure and insecure.
    ext.http.both.proxy.bypass_hosts=localhost|127.0.0.1|*.internaldomain.com|ecocertapp02|ecocertapp03|redesweb01|redesapp01|redesapp02|10.228.*


    ...
    Thanks Sumitra
  • Hi,

    Could you please let me know the type of application you are tying to record.

    Kindly open the browser through Sahi Dashboard and navigate to your application. Right click and view page source to check whether
    <script src='/_s_/spr/concat.js' id='_sahi_concat'></script>
    
    is present.

    If you are not using external proxy then disable it in userdata.properties.
    
    ext.http.proxy.enable=false
    ext.https.proxy.enable=false
    
    

    Restart Sahi. Check if you are able to record on local proxy.

    If the problem persists, then try using the machine name in the URL to access the application.


    Regards
    Sumitra
  • I want to automate testing in an application for Proposal (public sector contracts.) Work in a company of "The English court" that makes applications for municipalities.

    The code type is not in the source code of the page, and the problem is that I belong to a group of testing and I have nothing to do with the application developers.

    I'm in practice and they asked me to inquire about applications to automate functional tests, then I found Sahi, I find very interesting, and despite being easy to learn, do not get the desired configuration to test the company's proxy.

    The application is a real test to see how it works Sahi, if I got to master this tool, I could teach the rest of the group and work with in the future.

    Thanks again
  • narayannarayan Administrators
    Hi Miguelangelreal,

    If you are still stuck, let us know, we will set up a online meeting and help you overcome this.

    Regards,
    Narayan
Sign In or Register to comment.