jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J.E.C.Brisland <j.e.c.brisl...@open.ac.uk>
Subject RE: Using jMeter behind a proxy - Hardcoding proxy info into jmeter.properties
Date Thu, 28 Oct 2010 10:20:48 GMT
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:batitin.batotoy@gmail.com] 
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 <j.e.c.brisland@open.ac.uk>

> 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: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message