Sebb,
I'd expect that the property is what it's supposed to be because it's showing up in the pull-down menu of remote hosts correctly.

These are all Linux machines.

I'm unclear how to simply run a function and display it's output in this environment. Will __P() put the results in the log?

Scott

sebb wrote:
You can check the JMeter property is what you expect by using the
__P() function somewhere in the test plan.

If this shows the correct value, then it might be a problem with the
remote server - is the remote server running Linux?

See here for a similar (identical?) problem:

http://www.nabble.com/Distributed-Testing-Windows-GUI-RHEL-Servers-Not-Working-tf4404727.html#a12566254


On 17/09/2007, Scott Chapman <[EMAIL PROTECTED]> wrote:
Can someone explain why jmeter is ignoring my remote_hosts directive in
the jmeters.properties file?  Why's it trying to connect to 127.0.0.1
when I click on the remote IP in the Remote Start menu?  The
jmeter.properties is in the bin directory where I'm executing jmeter from.


jmeter.properties:
# Remote Hosts - comma delimited
remote_hosts=10.170.174.67,10.170.174.69,10.170.174.71


$ more jmeter.log
2007/09/17 15:15:34 INFO  - jmeter.util.JMeterUtils: Setting Locale to
en_US
2007/09/17 15:15:35 INFO  - jmeter.JMeter: Loading user properties
from: user.properties
2007/09/17 15:15:35 INFO  - jmeter.JMeter: Loading system properties
from: system.properties
2007/09/17 15:15:35 INFO  - jmeter.JMeter: Copyright (c) 1998-2007 The
Apache Software Foundation
2007/09/17 15:15:35 INFO  - jmeter.JMeter: Version 2.3RC4
2007/09/17 15:15:35 INFO  - jmeter.JMeter: java.version=1.5.0_05
2007/09/17 15:15:35 INFO  - jmeter.JMeter: os.name=Linux
2007/09/17 15:15:35 INFO  - jmeter.JMeter: os.arch=i386
2007/09/17 15:15:35 INFO  - jmeter.JMeter: os.version=2.6.9-22.ELsmp
2007/09/17 15:15:35 INFO  - jmeter.JMeter: file.encoding=UTF-8
2007/09/17 15:15:35 INFO  - jmeter.JMeter: Default Locale=English
(United States)
2007/09/17 15:15:35 INFO  - jmeter.JMeter: JMeter  Locale=English
(United States)
2007/09/17 15:15:35 INFO  - jmeter.JMeter:
JMeterHome=/home/chapmsc/jmeter1
2007/09/17 15:15:35 INFO  - jmeter.JMeter: user.dir
=/home/chapmsc/jmeter1/bin
2007/09/17 15:15:35 INFO  - jmeter.JMeter: PWD
=/home/chapmsc/jmeter1/bin
2007/09/17 15:15:35 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties
2007/09/17 15:15:38 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className
property for htmlParser, using default
2007/09/17 15:15:38 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
2007/09/17 15:15:38 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
application/xhtml+xml is
2007/09/17 15:15:38 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
application/xml is
2007/09/17 15:15:38 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
2007/09/17 15:15:38 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLPar
ser
2007/09/17 15:15:39 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
Maximum connection retries = 10
2007/09/17 15:15:40 WARN  - jmeter.gui.util.MenuFactory: Missing jar?
Could not create org.apache.jmeter.visualizers.MailerVisualizer.
java.lang.NoClassDefFo
undError: javax/mail/MessagingException
2007/09/17 15:15:40 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times
2007/09/17 15:15:40 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1
2007/09/17 15:15:55 INFO  - jmeter.gui.action.Load: Loading file:
/home/chapmsc/jmeter1/bin/vzid_initial_test.jmx
2007/09/17 15:15:56 INFO  - jmeter.save.SaveService: Testplan (JMX)
version: 2.2. Testlog (JTL) version: 2.2
2007/09/17 15:15:56 INFO  - jmeter.save.SaveService: Using SaveService
properties file encoding UTF-8
2007/09/17 15:15:56 INFO  - jmeter.save.SaveService: Using SaveService
properties file version 545311
2007/09/17 15:15:56 WARN  - jmeter.save.SaveService: Could not set up
alias MailerModel java.lang.NoClassDefFoundError: javax/mail/Message
2007/09/17 15:15:56 INFO  - jmeter.protocol.http.sampler.HTTPSampler2:
Local host = blade202
2007/09/17 15:15:56 WARN  - jmeter.save.SaveService: Could not set up
alias JMSSampler java.lang.NoClassDefFoundError: javax/jms/Message
2007/09/17 15:15:56 WARN  - jmeter.save.SaveService: Could not set up
alias SubscriberSampler java.lang.NoClassDefFoundError:
javax/jms/MessageListener
2007/09/17 15:15:56 WARN  - jmeter.save.SaveService: Could not set up
alias MailerVisualizer java.lang.NoClassDefFoundError:
javax/mail/MessagingException
2007/09/17 15:15:56 INFO  - jmeter.save.SaveService: Using SaveService
properties version 1.8
2007/09/17 15:15:56 INFO  - jmeter.save.SaveService: All converter
versions present and correct
2007/09/17 15:16:02 INFO  - jmeter.engine.ClientJMeterEngine: about to
run remote test
2007/09/17 15:16:02 INFO  - jmeter.engine.ClientJMeterEngine: done
initiating run command
2007/09/17 15:16:02 INFO  - jmeter.engine.ClientJMeterEngine: running
clientengine run method
2007/09/17 15:16:02 INFO  - jmeter.engine.ConvertListeners: num
threads = 1
2007/09/17 15:16:02 INFO  - jmeter.engine.ConvertListeners: num
threads = 1
2007/09/17 15:16:02 INFO  - jmeter.samplers.StandardSampleSender:
Using Standard Remote Sampler for this test run
2007/09/17 15:16:02 ERROR - jmeter.engine.ClientJMeterEngine:
java.rmi.ConnectException: Connection refused to host: 127.0.0.1;
nested exception is:
        java.net.ConnectException: Connection refused
        at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
        at
org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.setHost(Unknown
Source)
        at
org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:119)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at java.net.Socket.<init>(Socket.java:365)
        at java.net.Socket.<init>(Socket.java:178)
        at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
        at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
        ... 6 more
---------------------------------------------------------------------
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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to