Hi Haenni,

I forgot to mention I need this to be cross platform as I'm doing it on both 
Windows and Mac which why I asked if I could put it in the jmeter.properties 
file.

Sorry :D

-----Original Message-----
From: Hanspeter Haenni [mailto:[email protected]] 
Sent: 28 October 2010 11:00
To: JMeter Users List
Subject: Re: Using jMeter behind a proxy - Hardcoding proxy info into 
jmeter.properties

Hi

Try to set the following in the jmeter.bat

set HTTP_PROXY=-Dhttp.proxyHost=<HOST>
set HTTP_PORT=-Dhttp.proxyPort=<PORT>

set ARGS=%DUMP% %HEAP% %NEW% %SURVIVOR% %TENURING% %EVACUATION% %RMIGC% %PERM% 
%DDRAW% %HTTP_PROXY% %HTTP_PORT%

Regards,
HP

2010/10/28 J.E.C.Brisland <[email protected]>

> Hi All,
>
> Just a very quick question.
>
> I'm using jMeter behing a university proxy. I'm fine launching jmeter 
> with the .bat file, I'm also fine defining the proxy url and port via 
> the command line (-H and -P) but I was wondering if there is any way 
> to hard code this information into the jmeter.properties file?
>
> Any ideas?
>
> Regards,
>
> James.
>
> --
> The Open University is incorporated by Royal Charter (RC 000391), an 
> exempt charity in England & Wales and a charity registered in Scotland (SC 
> 038302).
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to