"Note that you can use the -R command line option
<http://jmeter.apache.org/usermanual/get-started.html#override>instead
to specify the remote host(s) to use. This has the same effect as using -r
and -Jremote_hosts={serverlist}. E.g. jmeter -Rhost1,127.0.0.1,host2"

User's Manual is your friend ;)

Use "-R10.1.1.65" or "-r -Jremote_hosts=10.1.1.65" to run a distributed
test.

Hope it helps you.
Flávio Cysne

2012/3/21 David Brown <[email protected]>

> Hello, I have two command-lines for running my JMeter distributed
> testing (see below).
>
> The two command-lines differ by only a single command-line arg, namely:
> -n (non-gui mode).
>
> Mysteriously, the non-gui command-line does not work.
>
> The jmeter.log is also presented below but truncated.
>
>
> **********************************************************************
> NON-gui mode
>
> ./jmeter $HOST -n
> -t
> /home/user/Documents/jmeter/test_plans/sex-cess/HTTP_Proxy_Server_sex-cess.jmx
> -l /home/user/Documents/jmeter/data/sex-cess.jtl
>  -Duser.dir=/home/user/Documents/jmeter/test_plans/sex-cess/
> -Jremote_hosts=10.1.1.65 -Ljmeter.engine=DEBUG
>
> Created the tree successfully
> using
> /home/user/Documents/jmeter/test_plans/sex-cess/HTTP_Proxy_Server_sex-cess.jmx
> Starting the test @ Wed Mar 21 14:59:12 CDT 2012 (1332359952104)
> Waiting for possible shutdown message on port 4445
> Tidying up ...    @ Wed Mar 21 15:01:06 CDT 2012 (1332360066313)
> ... end of run
> **********************************************************************
>
>
> **********************************************************************
> GUI mode
>
> ./jmeter $HOST
> -t
> /home/user/Documents/jmeter/test_plans/sex-cess/HTTP_Proxy_Server_sex-cess.jmx
> -l /home/user/Documents/jmeter/data/sex-cess.jtl
>  -Duser.dir=/home/user/Documents/jmeter/test_plans/sex-cess/
> -Jremote_hosts=10.1.1.65 -Ljmeter.engine=DEBUG
> **********************************************************************
>
>
>
> **********************************************************************
> jmeter.log (truncated)
>
> 2012/03/21 14:59:12 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Maximum connection retries = 10
> 2012/03/21 14:59:12 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Start : sample http://qa.sex-cess.net/
> 2012/03/21 14:59:12 INFO  - jmeter.samplers.SampleResult: Note: Sample
> TimeStamps are START times
> 2012/03/21 14:59:12 INFO  - jmeter.samplers.SampleResult:
> sampleresult.default.encoding is set to ISO-8859-1
> 2012/03/21 14:59:12 INFO  - jmeter.samplers.SampleResult:
> sampleresult.useNanoTime=true
> 2012/03/21 14:59:12 INFO  - jmeter.samplers.SampleResult:
> sampleresult.nanoThreadSleep=5000
> 2012/03/21 14:59:12 INFO  - jmeter.threads.JMeterThread: Thread started:
> Thread Group_sex-cess_QA 1-2
> 2012/03/21 14:59:12 DEBUG - jmeter.control.GenericController: Calling
> next on: org.apache.jmeter.control.LoopController
> 2012/03/21 14:59:12 DEBUG - jmeter.control.GenericController: Calling
> next on: org.apache.jmeter.protocol.http.control.RecordingController
> 2012/03/21 14:59:12 DEBUG -
> jmeter.testelement.property.AbstractProperty: merging in class
> org.apache.jmeter.testelement.property.CollectionProperty
> 2012/03/21 14:59:12 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Start : sample http://qa.sex-cess.net/
> 2012/03/21 14:59:13 INFO  - jmeter.threads.JMeterThread: Thread started:
> Thread Group_sex-cess_QA 1-3
> 2012/03/21 14:59:13 DEBUG - jmeter.control.GenericController: Calling
> next on: org.apache.jmeter.control.LoopController
> 2012/03/21 14:59:13 DEBUG - jmeter.control.GenericController: Calling
> next on: org.apache.jmeter.protocol.http.control.RecordingController
> 2012/03/21 14:59:13 DEBUG -
> jmeter.testelement.property.AbstractProperty: merging in class
> org.apache.jmeter.testelement.property.CollectionProperty
> 2012/03/21 14:59:13 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Start : sample http://qa.sex-cess.net/
> 2012/03/21 14:59:13 INFO  - jmeter.threads.JMeterThread: Thread started:
> Thread Group_sex-cess_QA 1-4
> 2012/03/21 14:59:13 DEBUG - jmeter.control.GenericController: Calling
> next on: org.apache.jmeter.control.LoopController
> 2012/03/21 14:59:13 DEBUG - jmeter.control.GenericController: Calling
> next on: org.apache.jmeter.protocol.http.control.RecordingController
> 2012/03/21 14:59:13 DEBUG -
> jmeter.testelement.property.AbstractProperty: merging in class
> org.apache.jmeter.testelement.property.CollectionProperty
> 2012/03/21 14:59:13 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Start : sample http://qa.sex-cess.net/
> 2012/03/21 14:59:13 INFO  - jmeter.threads.JMeterThread: Thread started:
> Thread Group_sex-cess_QA 1-5
> 2012/03/21 14:59:13 DEBUG - jmeter.control.GenericController: Calling
> next on: org.apache.jmeter.control.LoopController
> 2012/03/21 14:59:13 DEBUG - jmeter.control.GenericController: Calling
> next on: org.apache.jmeter.protocol.http.control.RecordingController
> 2012/03/21 14:59:13 DEBUG -
> jmeter.testelement.property.AbstractProperty: merging in class
> org.apache.jmeter.testelement.property.CollectionProperty
> 2012/03/21 14:59:13 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Start : sample http://qa.sex-cess.net/
> 2012/03/21 15:01:04 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Connection failed, giving up
> 2012/03/21 15:01:04 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Connection failed, giving up
> 2012/03/21 15:01:04 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Connection failed, giving up
> 2012/03/21 15:01:04 DEBUG - jmeter.assertions.ResponseAssertion:
> Type:Contains(not)
> 2012/03/21 15:01:04 DEBUG - jmeter.assertions.ResponseAssertion:
> Type:Contains(not)
> 2012/03/21 15:01:04 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Connection failed, giving up
> 2012/03/21 15:01:04 DEBUG - jmeter.protocol.http.sampler.HTTPJavaImpl:
> Connection failed, giving up
> 2012/03/21 15:01:04 DEBUG - jmeter.assertions.ResponseAssertion:
> Type:Contains(not)
> 2012/03/21 15:01:04 DEBUG - jmeter.assertions.ResponseAssertion:
> Type:Contains(not)
> 2012/03/21 15:01:04 DEBUG - jmeter.assertions.ResponseAssertion:
> Type:Contains(not)
> 2012/03/21 15:01:04 DEBUG - jmeter.assertions.ResponseAssertion: Passed:
> Response code: 200
>
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to