jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From unjc email <unjc.em...@gmail.com>
Subject Remote testing does not exit
Date Wed, 11 Jul 2012 16:23:50 GMT
Hello there,

I encounter a problem with remote testing.  I have two jmeter servers
running.  When I start a remote nongui testing using a simple test
plan, the remote process does not exit even though after the tests are
completed successfully on both remote servers.  The process seems hung
there and didn't get terminated.  I have tried "-X" option as well,
and the problem persists even the remote jmeter servers do exit after
the completion of the test.  The version of Jmeter I am using is
Version 2.6 r1237317.  All machines have the same version of Jmeter
with java "1.6.0_24".  Please advise the proper way to run the remote
testing.


Console Output:
[root@bin]# java -jar ApacheJMeter.jar -n -t test.jmx -R
192.168.1.12,192.168.1.13
Created the tree successfully using test.jmx
Configuring remote engine for 192.168.1.12
Using remote object: UnicastRef [liveRef:
[endpoint:[192.168.1.12:52010](remote),objID:[-310e3d54:13872d7fdb9:-7fff,
4757255373403868018]]]
Configuring remote engine for 192.168.1.13
Using remote object: UnicastRef [liveRef:
[endpoint:[192.168.1.13:55110](remote),objID:[-1174d7:138721a1ddf:-7fff,
-6734490503268367282]]]
Starting remote engines
Starting the test @ Wed Jul 11 16:07:37 GMT-00:00 2012 (1342022857988)
Starting the test on host 192.168.1.12 @ Wed Jul 11 16:07:38 GMT-00:00
2012 (1342022858153)
Remote engines have been started
Finished the test on host 192.168.1.12 @ Wed Jul 11 16:07:38 GMT-00:00
2012 (1342022858194)
Tidying up remote @ Wed Jul 11 16:07:38 GMT-00:00 2012 (1342022858227)

^C


test.jmx:
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.2">
  <hashTree>
    <TestPlan guiclass="TestPlanGui" testclass="TestPlan"
testname="Test Plan" enabled="true">
      <stringProp name="TestPlan.comments"></stringProp>
      <boolProp name="TestPlan.functional_mode">false</boolProp>
      <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
      <elementProp name="TestPlan.user_defined_variables"
elementType="Arguments" guiclass="ArgumentsPanel"
testclass="Arguments" testname="User Defined Variables"
enabled="true">
        <collectionProp name="Arguments.arguments"/>
      </elementProp>
      <stringProp name="TestPlan.user_define_classpath"></stringProp>
    </TestPlan>
    <hashTree>
      <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup"
testname="Thread Group" enabled="true">
        <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
        <elementProp name="ThreadGroup.main_controller"
elementType="LoopController" guiclass="LoopControlPanel"
testclass="LoopController" testname="Loop Controller" enabled="true">
          <boolProp name="LoopController.continue_forever">false</boolProp>
          <stringProp name="LoopController.loops">1</stringProp>
        </elementProp>
        <stringProp name="ThreadGroup.num_threads">1</stringProp>
        <stringProp name="ThreadGroup.ramp_time">1</stringProp>
        <longProp name="ThreadGroup.start_time">1342019550000</longProp>
        <longProp name="ThreadGroup.end_time">1342019550000</longProp>
        <boolProp name="ThreadGroup.scheduler">false</boolProp>
        <stringProp name="ThreadGroup.duration"></stringProp>
        <stringProp name="ThreadGroup.delay"></stringProp>
      </ThreadGroup>
      <hashTree>
        <HTTPSamplerProxy guiclass="HttpTestSampleGui"
testclass="HTTPSamplerProxy" testname="HTTP Request" enabled="true">
          <elementProp name="HTTPsampler.Arguments"
elementType="Arguments" guiclass="HTTPArgumentsPanel"
testclass="Arguments" testname="User Defined Variables"
enabled="true">
            <collectionProp name="Arguments.arguments"/>
          </elementProp>
          <stringProp name="HTTPSampler.domain">192.168.1.11</stringProp>
          <stringProp name="HTTPSampler.port"></stringProp>
          <stringProp name="HTTPSampler.connect_timeout"></stringProp>
          <stringProp name="HTTPSampler.response_timeout"></stringProp>
          <stringProp name="HTTPSampler.protocol">http</stringProp>
          <stringProp name="HTTPSampler.contentEncoding"></stringProp>
          <stringProp name="HTTPSampler.path">index.html</stringProp>
          <stringProp name="HTTPSampler.method">GET</stringProp>
          <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
          <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
          <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
          <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
          <boolProp name="HTTPSampler.monitor">false</boolProp>
          <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
        </HTTPSamplerProxy>
        <hashTree/>
      </hashTree>
    </hashTree>
  </hashTree>
</jmeterTestPlan>



Thanks,
Jacky

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


Mime
View raw message