You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Rinaldo DiGiorgio <Ri...@Sun.COM> on 2009/07/27 18:58:11 UTC

Using Remote Start with one remote server and one client 2.3.4

Hello,

     I am trying to use the remote start service built into Jmeter.
I have two machines and I have configured them to use non
standard ports for the client and the server.

     The server is running on port 9000 for RMI and 9002 for the actual
instance. Here is the log from the startup on the server. I have changed 
the addresses
below.  The client, the GUI, is able to get to the ports.

2009/07/27 15:16:18 INFO  - jmeter.util.JMeterUtils: Setting Locale to 
en_US
2009/07/27 15:16:18 INFO  - jmeter.JMeter: Loading user properties from: 
/home/rinaldo/ws/deploytools/tools/jakarta-jmeter-2.3.4/bin/user.properties
2009/07/27 15:16:18 INFO  - jmeter.JMeter: Loading system properties 
from: 
/home/rinaldo/ws/deploytools/tools/jakarta-jmeter-2.3.4/bin/system.properties 

2009/07/27 15:16:18 INFO  - jmeter.JMeter: Setting System property: 
java.rmi.server.hostname=1.2.3.4
2009/07/27 15:16:18 INFO  - jmeter.JMeter: Setting System property: 
server_port=1099
2009/07/27 15:16:18 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The 
Apache Software Foundation
2009/07/27 15:16:18 INFO  - jmeter.JMeter: Version 2.3.4 r785646
2009/07/27 15:16:18 INFO  - jmeter.JMeter: java.version=1.6.0_11
2009/07/27 15:16:18 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 
Server VM
2009/07/27 15:16:18 INFO  - jmeter.JMeter: os.name=SunOS
2009/07/27 15:16:18 INFO  - jmeter.JMeter: os.arch=x86
2009/07/27 15:16:18 INFO  - jmeter.JMeter: os.version=5.11
2009/07/27 15:16:18 INFO  - jmeter.JMeter: file.encoding=ISO8859-1
2009/07/27 15:16:18 INFO  - jmeter.JMeter: Default Locale=English 
(United States)
2009/07/27 15:16:18 INFO  - jmeter.JMeter: JMeter  Locale=English 
(United States)
2009/07/27 15:16:18 INFO  - jmeter.JMeter: 
JMeterHome=/home/rinaldo/ws/deploytools/tools/jakarta-jmeter-2.3.4
2009/07/27 15:16:18 INFO  - jmeter.JMeter: user.dir  
=/home/rinaldo/ws/deploytools/tools/jakarta-jmeter-2.3.4/bin
2009/07/27 15:16:18 INFO  - jmeter.JMeter: PWD       
=/home/rinaldo/ws/deploytools/tools/jakarta-jmeter-2.3.4/bin
2009/07/27 15:16:18 INFO  - jmeter.JMeter: IP: 10.20.30.40  Name: 
dome.sun.com FullName: dome.sun.com
Created remote object: UnicastServerRef [liveRef: 
[endpoint:[1.2.3.4:9002](local),objID:[-3d13da7c:122bcc89925:-7fff, 
-5376018898623613146]]]
2009/07/27 15:16:19 INFO  - jmeter.engine.RemoteJMeterEngineImpl: 
Starting backing engine on 9000
2009/07/27 15:16:19 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP 
address= 10.20.30.40
2009/07/27 15:16:19 INFO  - jmeter.engine.RemoteJMeterEngineImpl: 
Creating RMI registry (server.rmi.create=true)

160+ second delay
2009/07/27 15:20:03 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound 
to registry on port 9000


     When I first try to connect from my client using the user interface
I get an alert dialog with a message  "JMeterEngine", in the title bar
saying unable to initialize. If I wait  more than 2 minutes after the
bound message, I do get the following.

2009/07/27 15:49:46 INFO  - 
jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className 
property for htmlParser, using default
2009/07/27 15:49:46 INFO  - 
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
2009/07/27 15:49:46 INFO  - 
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for 
application/xhtml+xml is
2009/07/27 15:49:46 INFO  - 
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is
2009/07/27 15:49:46 INFO  - 
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
2009/07/27 15:49:46 INFO  - 
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for 
text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2009/07/27 15:49:46 INFO  - jmeter.protocol.http.sampler.HTTPSampler2: 
Local host = dome.sun.com


After another 3 minutes and 45 seconds  get the following.

2009/07/27 15:49:46 INFO  - jmeter.protocol.http.sampler.HTTPSampler2: 
Local host = dome.sun.com
2009/07/27 15:53:31 INFO  - jmeter.engine.RemoteJMeterEngineImpl: 
Creating JMeter engine on host tst01:9000
2009/07/27 15:53:31 INFO  - jmeter.engine.StandardJMeterEngine: 
Listeners will be started after enabling running version
2009/07/27 15:53:31 INFO  - jmeter.engine.StandardJMeterEngine: To 
revert to the earlier behaviour, define 
jmeterengine.startlistenerslater=false
2009/07/27 15:53:31 INFO  - jmeter.engine.RemoteJMeterEngineImpl: 
running test
Starting the test on host tst01:9000 @ Mon Jul 27 15:53:31 GMT+00:00 
2009 (1248710011612)
2009/07/27 15:53:31 INFO  - jmeter.engine.StandardJMeterEngine: Running 
the test!
2009/07/27 15:53:31 INFO  - jmeter.engine.util.CompoundVariable: Note: 
Function class names must contain the string: '.functions.'
2009/07/27 15:53:31 INFO  - jmeter.engine.util.CompoundVariable: Note: 
Function class names must not contain the string: '.gui.'
2009/07/27 15:53:31 INFO  - jmeter.samplers.RemoteListenerWrapper: Test 
Started on tst01:9000



And the test doesn't start up right away, I get no error message.  I 
have started to look at the source to understand
what I am doing wrong. It does appear that there is a network issue. Are 
there more diags I can turn on. Or can you
suggest where I can look  in the source to try and debug this issue.

Rinaldo




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