jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Low Kuan Loong/HONOC/PBB/PBBG" <bob...@publicbank.com.my>
Subject RE: Newbie Question: Can't get JMeter to start
Date Fri, 16 Nov 2001 10:40:53 GMT

Hi Scott

My jmeter.bat file looks like this:

@echo on
set PROP=jmeter.properties
set LOG4JCONFIG=log4j.configuration=log4j.conf
set HOST=
set PORT=
IF "%1" == "-f" set PROP=%2
IF "%1" == "-h" set HOST=-Dhttp.proxyHost=%2 -Dhttps.proxyHost=%2
IF "%1" == "-p" set PORT=-Dhttp.proxyPort=%2 -Dhttps.proxyPort=%2
IF "%3" == "-f" set PROP=%4
IF "%3" == "-h" set HOST=-Dhttp.proxyHost=%4 -Dhttps.proxyHost=%4
IF "%3" == "-p" set PORT=-Dhttp.proxyPort=%4 -Dhttps.proxyPort=%4
IF "%5" == "-f" set PROP=%6
IF "%5" == "-h" set HOST=-Dhttp.proxyHost=%6 -Dhttps.proxyHost=%6
IF "%5" == "-p" set PORT=-Dhttp.proxyPort=%6 -Dhttps.proxyPort=%6

set LOCALCLASSPATH=%CLASSPATH%

for %%i in ("..\lib\*.jar") do CALL ..\lcp %%i
for %%i in ("..\ext\*.jar") do CALL ..\lcp %%i


java -cp %LOCALCLASSPATH%;ApacheJMeter.jar -D%LOG4JCONFIG% %HOST% %PORT% org.apache.jmeter.NewDriver
%PROP%

I will try to fix the proxy server thing this evening.

Thanks once again.

--
Bob





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


Mime
View raw message