why does not Grinder consider JVM httpp-proxy setting?
Lutfur Rahaman <lutfur.rahaman-/[email protected]>
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <OFAF889FD0.5677FCA2-ON65257C92.004A60CC-65257C92.004BEAE6@tcs.com> |
I am using Grinder 3.11. I have tried with following Grinder option to
access Internet based application through an HTTP Proxy server. But it
gives HTTP 407 (Authorization Required) error.
connectionDefaults.setProxyServer("proxy.mydomain.com", 8080)
Can any one help me understand why Grinder does not consider any of the
following settings to access Internet based application through an HTTP
Proxy server.
grinder.jvm.arguments = -Dhttp.proxyHost=172.18.18.12
-Dhttp.proxyPort=8080
or
System.getProperties().put("http.proxyHost", "proxy.mydomain.com")
System.getProperties().put("http.proxyPort", "8080")
Whereas the following Java code works fine with no error and I am able to
get status code as 200.
URL url = new URL("http://www.apache.org/");
System.setProperty("http.proxyHost", "proxy.mydomain.com");
System.setProperty("http.proxyPort", "8080");
HttpURLConnection urlConnection = (HttpURLConnection)
url.openConnection();
Best Regards
Lutfur Rahaman
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use