Has anyone tried to access to external webservice in Virtualization with internal Proxy server and port as in our environment all the external API call invoked with http proxy value.
When we invoke from Java code we use below property and I want to know how I can add same in DevTest[Note I Tried with SDP to set this variables and it is not working]
System.setProperty("http.proxySet","true");
System.setProperty("http.proxyHost", "proxy.wellsfargo.com");
System.setProperty("http.proxyPort", "8080");
Any ideas on how to set proxy server in HTTP rest API call?
Regards,
ThenesKumar.C
Hi ThenesKumar, You can do it in two ways.
1. You can set the below properties in local.properties.
lisa.http.webProxy.host=xxxxx
lisa.http.webProxy.port=80
lisa.http.webProxy.ssl.host=XXXX
lisa.http.webProxy.ssl.port=80
2. You can add Web Proxy Companion in your test case and configure the proxy information. Documentation on this is available at Configure DevTest to Use a Web Proxy Companion - DevTest Solutions - 9.1 - CA Technologies Documentation
Hope this information helps.
Thanks,
Prema