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.

Unable to set multiple proxy in userdata.properties file

mohit198mohit198 Members
edited November -1 in Sahi - Open Source
Hi,

Can you please provide inputs how to use multiple proxy in userdata.properties file.
Browser Name : IE

For ex. To access test server i have to use host as 172.xxx.xxx.xxx and to access google or any other page i have to use another host like 172.yyy.yyy.yyy.
Single host at a time is working fine. but i want to use both host name in userdata.properties file.

Please help.


Regards,
mohit

Comments

  • Hi mohit

    I think it isn't possible for any browser to use multiple proxys. When you check your browser settings, you can only specify a single proxy.
    Maybe... you could set 172.XXX for http and 172.YYY for https connections?
    If not you may change sahi proxy connection while the test runs... I don't know if that's possible. You could try writing a script which changes the proxy settings, restarts Sahi and then continues the test.

    Regards
    Wormi
  • Thanks for reply!
Sign In or Register to comment.