jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Oliver <joli...@john-oliver.net>
Subject More on distributed testing problem
Date Fri, 07 Jul 2006 18:17:53 GMT
Even though no docs say anything about this, I tried starting
jmeter-server on the Windows machine, adding 127.0.0.1 to remote_hosts
in jmeter.properties, and thenRun, Remote Start, 127.0.0.1  I
immediately got two "Bad call to remote host" messages and this is the
jmeter.log:

2006/07/07 11:16:40 INFO  - jmeter.util.JMeterUtils: Setting Locale to
en_US 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: Loading user properties from:
user.properties 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: Loading system properties
from: system.properties 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: Copyright (c) 1998-2006 The
Apache Software Foundation 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: Version 2.2 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: java.version=1.4.2_12 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: os.name=Windows 2000 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: os.arch=x86 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: os.version=5.0 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: Default Locale=English
(United States) 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: JMeter  Locale=English
(United States) 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: JMeterHome=C:\Program
Files\JMeter\jakarta-jmeter-2.2 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: user.dir=C:\Program
Files\JMeter\jakarta-jmeter-2.2\bin 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: PWD     =C:\Program
Files\JMeter\jakarta-jmeter-2.2\bin 
2006/07/07 11:16:40 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties 
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className
property for htmlParser, using default 
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is  
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
application/xhtml+xml is  
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml
is  
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is  
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access
log sampler bean info 
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser,
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser,
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser] 
2006/07/07 11:16:43 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of
access log samper bean info init 
2006/07/07 11:16:44 WARN  - jmeter.gui.util.MenuFactory: Missing jar?
Could not create org.apache.jmeter.visualizers.MailerVisualizer.
java.lang.NoClassDefFoundError: javax/mail/MessagingException 
2006/07/07 11:16:44 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times 
2006/07/07 11:16:44 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1 
2006/07/07 11:16:54 INFO  - jmeter.gui.action.Load: Loading file:
C:\tmp\Aggregate Report.jmx 
2006/07/07 11:16:54 INFO  - jmeter.save.SaveService: Testplan (JMX)
version: 2.2. Testlog (JTL) version: 2.2 
2006/07/07 11:16:54 INFO  - jmeter.save.SaveService: Using SaveService
properties file version 408187 
2006/07/07 11:16:54 WARN  - jmeter.save.SaveService: Could not set up
alias MailerModel java.lang.NoClassDefFoundError: javax/mail/Message 
2006/07/07 11:16:54 INFO  - jmeter.protocol.http.sampler.HTTPSampler2:
Local host = sputnik-one 
2006/07/07 11:16:54 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Protocol Handler name=TCPClientImpl 
2006/07/07 11:16:54 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status prefix= 
2006/07/07 11:16:54 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status suffix= 
2006/07/07 11:16:54 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status properties= 
2006/07/07 11:16:54 WARN  - jmeter.save.SaveService: Could not set up
alias JMSSampler java.lang.NoClassDefFoundError: javax/jms/Message 
2006/07/07 11:16:54 WARN  - jmeter.save.SaveService: Could not set up
alias SubscriberSampler java.lang.NoClassDefFoundError:
javax/jms/MessageListener 
2006/07/07 11:16:54 WARN  - jmeter.save.SaveService: Could not set up
alias MailerVisualizer java.lang.NoClassDefFoundError:
javax/mail/MessagingException 
2006/07/07 11:16:54 WARN  - jmeter.save.SaveService: Could not set up
alias WebServiceSampler java.lang.NoClassDefFoundError:
javax/mail/MessagingException 
2006/07/07 11:16:54 INFO  - jmeter.save.SaveService: Using SaveService
properties version 1.8 
2006/07/07 11:16:54 INFO  - jmeter.save.SaveService: All converter
versions present and correct 
2006/07/07 11:16:58 ERROR - jmeter.gui.action.RemoteStart:
java.rmi.NotBoundException: JMeterEngine
	at sun.rmi.registry.RegistryImpl.lookup(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
	at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
Source)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
	at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
Source)
	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
	at
org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:55)
	at
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:169)
	at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:76)
	at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:75)
	at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:43)
	at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:60)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

2006/07/07 11:17:00 ERROR - jmeter.gui.action.RemoteStart:
java.rmi.NotBoundException: JMeterEngine
	at sun.rmi.registry.RegistryImpl.lookup(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
	at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
Source)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
	at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
Source)
	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
	at
org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:55)
	at
org.apache.jmeter.gui.action.RemoteStart.doRemoteStart(RemoteStart.java:149)
	at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:77)
	at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:75)
	at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:43)
	at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:60)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)



Then, I tried to Run, Remote Start, 192.168.101.16  It just sat there
and did nothing.  Here's the jmeter.log from that attempt:

2006/07/07 11:10:40 INFO  - jmeter.util.JMeterUtils: Setting Locale to
en_US 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: Loading user properties from:
user.properties 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: Loading system properties
from: system.properties 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: Copyright (c) 1998-2006 The
Apache Software Foundation 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: Version 2.2 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: java.version=1.4.2_12 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: os.name=Windows 2000 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: os.arch=x86 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: os.version=5.0 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: Default Locale=English
(United States) 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: JMeter  Locale=English
(United States) 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: JMeterHome=C:\Program
Files\JMeter\jakarta-jmeter-2.2 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: user.dir=C:\Program
Files\JMeter\jakarta-jmeter-2.2\bin 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: PWD     =C:\Program
Files\JMeter\jakarta-jmeter-2.2\bin 
2006/07/07 11:10:41 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties 
2006/07/07 11:10:44 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className
property for htmlParser, using default 
2006/07/07 11:10:44 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is  
2006/07/07 11:10:44 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
application/xhtml+xml is  
2006/07/07 11:10:44 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml
is  
2006/07/07 11:10:44 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is  
2006/07/07 11:10:44 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
2006/07/07 11:10:45 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access
log sampler bean info 
2006/07/07 11:10:45 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser,
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser,
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser] 
2006/07/07 11:10:45 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of
access log samper bean info init 
2006/07/07 11:10:46 WARN  - jmeter.gui.util.MenuFactory: Missing jar?
Could not create org.apache.jmeter.visualizers.MailerVisualizer.
java.lang.NoClassDefFoundError: javax/mail/MessagingException 
2006/07/07 11:10:46 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times 
2006/07/07 11:10:46 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1 
2006/07/07 11:10:55 INFO  - jmeter.gui.action.Load: Loading file:
C:\tmp\Aggregate Report.jmx 
2006/07/07 11:10:56 INFO  - jmeter.save.SaveService: Testplan (JMX)
version: 2.2. Testlog (JTL) version: 2.2 
2006/07/07 11:10:56 INFO  - jmeter.save.SaveService: Using SaveService
properties file version 408187 
2006/07/07 11:10:56 WARN  - jmeter.save.SaveService: Could not set up
alias MailerModel java.lang.NoClassDefFoundError: javax/mail/Message 
2006/07/07 11:10:56 INFO  - jmeter.protocol.http.sampler.HTTPSampler2:
Local host = sputnik-one 
2006/07/07 11:10:56 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Protocol Handler name=TCPClientImpl 
2006/07/07 11:10:56 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status prefix= 
2006/07/07 11:10:56 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status suffix= 
2006/07/07 11:10:56 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status properties= 
2006/07/07 11:10:56 WARN  - jmeter.save.SaveService: Could not set up
alias JMSSampler java.lang.NoClassDefFoundError: javax/jms/Message 
2006/07/07 11:10:56 WARN  - jmeter.save.SaveService: Could not set up
alias SubscriberSampler java.lang.NoClassDefFoundError:
javax/jms/MessageListener 
2006/07/07 11:10:56 WARN  - jmeter.save.SaveService: Could not set up
alias MailerVisualizer java.lang.NoClassDefFoundError:
javax/mail/MessagingException 
2006/07/07 11:10:56 WARN  - jmeter.save.SaveService: Could not set up
alias WebServiceSampler java.lang.NoClassDefFoundError:
javax/mail/MessagingException 
2006/07/07 11:10:56 INFO  - jmeter.save.SaveService: Using SaveService
properties version 1.8 
2006/07/07 11:10:56 INFO  - jmeter.save.SaveService: All converter
versions present and correct 
2006/07/07 11:11:09 ERROR - jmeter.engine.ClientJMeterEngine:
java.rmi.NoSuchObjectException: no such object in table
	at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
Source)
	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
	at
org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.reset(Unknown
Source)
	at
org.apache.jmeter.engine.ClientJMeterEngine.reset(ClientJMeterEngine.java:92)
	at
org.apache.jmeter.gui.action.RemoteStart.doRemoteStart(RemoteStart.java:157)
	at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:77)
	at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:75)
	at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:43)
	at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:60)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

2006/07/07 11:11:09 INFO  - jmeter.engine.ClientJMeterEngine: about to
run remote test 
2006/07/07 11:11:09 INFO  - jmeter.engine.ClientJMeterEngine: done
initiating run command 
2006/07/07 11:11:09 INFO  - jmeter.engine.ClientJMeterEngine: running
clientengine run method 
2006/07/07 11:11:09 INFO  - jmeter.engine.ConvertListeners: num threads
= 50 
2006/07/07 11:11:09 INFO  - jmeter.engine.ConvertListeners: num threads
= 50 
2006/07/07 11:11:09 INFO  - jmeter.samplers.StandardSampleSender: Using
Standard Remote Sampler for this test run 
2006/07/07 11:11:09 INFO  - jmeter.samplers.StandardSampleSender: Using
Standard Remote Sampler for this test run 
2006/07/07 11:11:09 ERROR - jmeter.engine.ClientJMeterEngine:
java.rmi.NoSuchObjectException: no such object in table
	at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
Source)
	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
	at
org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.setHost(Unknown
Source)
	at
org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:122)
	at java.lang.Thread.run(Unknown Source)


-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

---------------------------------------------------------------------
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