Hi All:
I've been playing with JMeter a little using Win2k, j2re1.4.0_03 and
JMeter 1.8 in preparation for load testing some major services we plan to
roll out soon.
I have not been able to set up jmeter as a remote server and run it
from a single client.
I've tried to follow:
http://jakarta.apache.org/jmeter/usermanual/remote-test.html
In quickly looking at jmeter 1.7 I notice jmeter-server.bat adds
everything in JMETERHOME/lib to the classpath.
jmeter 1.8 jmeter-server.bat does not even call lcp.bat even though it
exists. In a fit of desperation I dove into this bat file and tried adding
everything to the classpath (see below) based on the 1.7 version. I still
get a variety of errors which seem to point to rmiregistry not being
started. However, I confirmed it was running on port 1099 using netstat -a
On the client side I usually get error "Bad call to host".
Can someone just confirm that they've gotten the versions of
JMeter/JRE/OS I'm using to work as a server? I can't find any related bugs
in the bug DB so assume I've messed something up?
Thanks,
|------------------------------|
| Ryan Russo |
| University at Albany |
| Computing |
| Technical Services Web Team |
|------------------------------|
my jmeter-server.bat
------------------------------------------
@echo off
set preCLASSPATH=%CLASSPATH%
set LOCALCLASSPATH=%preCLASSPATH%
set LOG4=log4j.conf
for %%i in ("..\lib\*.jar") do CALL ..\lcp %%i
for %%i in ("..\lib\ext\*.jar") do CALL ..\lcp %%i
set CLASSPATH=%LOCALCLASSPATH%
start C:\j2re1.4.0_03\bin\rmiregistry
@REM give rmiregisry time to load (just in case):
pause
@REM java -cp %LOCALCLASSPATH%;ApacheJMeter.jar org.apache.jmeter.engine.RemoteJ
MeterEngineImpl
@REM java -Xincgc -jar ApacheJMeter.jar %JMETER_CMD_LINE_ARGS%
java -Xincgc -cp %LOCALCLASSPATH%;ApacheJMeter.jar -D%LOG4% -jar ApacheJMeter.ja
r -s
set CLASSPATH=%preCLASSPATH%
---------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>