Is there a way to configure the proxy settings using TestNG -


i want configure use of proxy server in tests. want bypass proxy settings while run scripts locally. since proxy server not reachable form local host not able run scripts locally. there way can direct scripts when use proxy settings , when not?

you not telling how run tests (ant, maven, eclipse, suite file,...).

btw, can configure proxy (

system.setproperty("http....",  "..."); 

) depending on logic in @beforesuite method.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -