You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Alexander Podelko <ap...@yahoo.com.INVALID> on 2020/03/06 19:43:05 UTC

WPAD file proxy configuration

Hi,
Is there any way to configure proxy using a WPAD file (automatic configuration script)? Unfortunately it doesn't look like a combination of proxyHost/proxyPort/nonProxyHosts properly replace it.
Thanks,Alex

Re: WPAD file proxy configuration

Posted by Mariusz W <ma...@gmail.com>.
Hi,
To use wpad I usually open it and extracted server ip and port and use:
1.
https://docs.oracle.com/javase/8/docs/api/java/net/doc-files/net-properties.html
( -Dhttp(s).* ) properties
or
2.https://jmeter.apache.org/usermanual/get-started.html (-H, -P,  -N, -a,
-u )
Sometimes strange characters  in password bring some problems to
authorization when used in command line during jmeter start.
Sometimes I have to add some corpo certs to keystore also to make it work.

Mariusz


On Sat, 7 Mar 2020 at 03:53, Alexander Podelko <ap...@yahoo.com.invalid>
wrote:

> Hi,
> Is there any way to configure proxy using a WPAD file (automatic
> configuration script)? Unfortunately it doesn't look like a combination of
> proxyHost/proxyPort/nonProxyHosts properly replace it.
> Thanks,Alex
>

Re: WPAD file proxy configuration

Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Hello,
I think improving this part might be a very good improvement.
I see there are least 2 possibles approaches:
Based on JNA:

   - https://github.com/MarkusBernhardt/proxy-vole

Based on Calling JS from Java:

   -
   http://kingsfleet.blogspot.com/2017/06/interpreting-wpaddat-using-jrunscript.html


We could also support pac:

   -
   https://blog.jayway.com/2012/09/10/handling-proxy-auto-config-pac-scripts-in-java/

Any thoughts ?
Regards


On Sat, Mar 7, 2020 at 3:53 AM Alexander Podelko <ap...@yahoo.com.invalid>
wrote:

> Hi,
> Is there any way to configure proxy using a WPAD file (automatic
> configuration script)? Unfortunately it doesn't look like a combination of
> proxyHost/proxyPort/nonProxyHosts properly replace it.
> Thanks,Alex
>


-- 
Cordialement
Philippe M.
Ubik-Ingenierie