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

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

php - Using str_replace to translate a MySQL Table in html -

asp.net mvc - Cannot display error message on Editor or EditorFor -