You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Mark Drilling <md...@metamatrix.com> on 2005/07/20 05:03:25 UTC

Problem Remote starting Multiple Hosts from Command Line - JDBC

All,
I am getting the following exception on the remote hosts when attempting
to start multiple remote hosts in non-Gui mode:

java.lang.NullPointerException at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:1012)
at
org.apache.jorphan.collections.HashTree.traverse(HashTree.java:990) at
org.apache.jmeter.engine.StandardJMeterEngine.run
(StandardJMeterEngine.java:330) at
java.lang.Thread.run(Unknown Source)

I am using the JDBC sampler.  Jmeter version is 2.0.3

Here is a sample command line
jmeter -n -r -Jremote_hosts=client1,client2 -tC:\in.jmx -lC:\out.jtl

I am able to remote start multiple remote machines from the GUI with no
problem.  The exception only occurs when running from the command line.
Also, I can remote start a single host from commandline, but more than
one fails.
Does anyone have experience with this?  Thanks for your help.
Mark


Re: Problem Remote starting Multiple Hosts from Command Line - JDBC

Posted by Michael Stover <ms...@apache.org>.
The test tree appears to be null - maybe "-tC:\in.jmx" is not a valid
way to specify options.  Try leaving a space between, ie:

jmeter -n -r -Jremote_hosts=client1,client2 -t C:\in.jmx -l C:\out.jtl

it's also possible you need to escape the '\', as in "C:\\in.jmx"

In any case, JMeter seems to be getting nothing from C:\in.jmx.

-Mike

On Tue, 2005-07-19 at 22:03 -0500, Mark Drilling wrote:
> All,
> I am getting the following exception on the remote hosts when attempting
> to start multiple remote hosts in non-Gui mode:
> 
> java.lang.NullPointerException at
> org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:1012)
> at
> org.apache.jorphan.collections.HashTree.traverse(HashTree.java:990) at
> org.apache.jmeter.engine.StandardJMeterEngine.run
> (StandardJMeterEngine.java:330) at
> java.lang.Thread.run(Unknown Source)
> 
> I am using the JDBC sampler.  Jmeter version is 2.0.3
> 
> Here is a sample command line
> jmeter -n -r -Jremote_hosts=client1,client2 -tC:\in.jmx -lC:\out.jtl
> 
> I am able to remote start multiple remote machines from the GUI with no
> problem.  The exception only occurs when running from the command line.
> Also, I can remote start a single host from commandline, but more than
> one fails.
> Does anyone have experience with this?  Thanks for your help.
> Mark



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