On 06/02/2008, David Brown <[EMAIL PROTECTED]> wrote: > Hello sebb, thanks very much for your help which completely resolved the > issue but opened yet another Pandora's Box. In a previous off-list > communication to me you clarified an issue I was experiencing once I was able > to invoke a full Test Plan using remote distributed Master/Slave testing. The > clarification I am referring to is a known bug with multiple ThreadGroup > users in a Test Plan run as: Remote Start All. The link you sent follows: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=44126 > > Please reply with how to find out if there is any active development on this > bug?
Not at present. > Should I join the development ML? If you wish, but it's very quiet at present. > Is there anything I can do to help resolve the issue(s) with remote > distributed testing? Please advise, David. > A repeatable test case would be useful - I see you have updated the Bugzilla with some more info: perhaps you could send me the details needed so I can hopefully reproduce the error. > sebb wrote .. > > Turns out that the problem was on the client node - it was sending its > > address as 127.0.1.1, so of course the server could not reply to it. > > > > That's why the test started OK, but failed when a sample was generated. > > > > On 02/02/2008, David Brown <[EMAIL PROTECTED]> wrote: > > > Hello Sebb, I have sent the logs to your off-list address. Thanks for the > > > efforts, > > David. > > > > > > sebb wrote .. > > > > Ah, it was not clear to me that the test started OK, but failed during > > > > the run - it seems when one of the Listeners tries to return a result. > > > > > > > > I'll need the full logs for both client and server, but please don't > > > > post them to the list. > > > > > > > > S/// > > > > On 01/02/2008, David Brown <[EMAIL PROTECTED]> wrote: > > > > > Hello Sebb, thanks for the speedy reply. Please find included below > > > > > the logs > > > > your requested. I ran a grep on all (dot).log files using the arg: > > > > jmeter.engine: > > > > > > > > > > ************************************************ > > > > > Slave (Server) node logs > > > > > ************************************************ > > > > > > > > > > jmeter-server.log:2008/02/01 12:27:49 INFO - > > > > > jmeter.engine.RemoteJMeterEngineImpl: > > > > Starting backing engine on 1099 > > > > > jmeter-server.log:2008/02/01 12:27:49 INFO - > > > > > jmeter.engine.RemoteJMeterEngineImpl: > > > > Creating RMI registry (server.rmi.create=true) > > > > > jmeter-server.log:2008/02/01 12:27:49 INFO - > > > > > jmeter.engine.RemoteJMeterEngineImpl: > > > > Creating JMeter engine on host dumbledore > > > > > jmeter-server.log:2008/02/01 12:27:49 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > Listeners will be started after enabling running version > > > > > jmeter-server.log:2008/02/01 12:27:49 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > To revert to the earlier behaviour, define > > > > jmeterengine.startlistenerslater=false > > > > > jmeter-server.log:2008/02/01 12:27:51 INFO - > > > > > jmeter.engine.RemoteJMeterEngineImpl: > > > > Bound to registry on port 1099 > > > > > jmeter-server.log:2008/02/01 12:27:51 INFO - > > > > > jmeter.engine.RemoteJMeterEngineImpl: > > > > Reset > > > > > jmeter-server.log:2008/02/01 12:27:51 INFO - > > > > > jmeter.engine.RemoteJMeterEngineImpl: > > > > received host: 192.168.1.2 > > > > > jmeter-server.log:2008/02/01 12:28:01 INFO - > > > > > jmeter.engine.RemoteJMeterEngineImpl: > > > > received test tree > > > > > jmeter-server.log:2008/02/01 12:28:01 INFO - > > > > > jmeter.engine.RemoteJMeterEngineImpl: > > > > running test > > > > > jmeter-server.log:2008/02/01 12:28:01 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > Running the test! > > > > > jmeter-server.log: at > > > > > org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:233) > > > > > jmeter-server.log: at > > > > > org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:364) > > > > > jmeter-server.log: at > > > > > org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:233) > > > > > jmeter-server.log: at > > > > > org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:364) > > > > > jmeter-server.log:2008/02/01 12:28:12 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > Starting 1 threads for group Thread Group JPetstore. Ramp up = 1. > > > > > jmeter-server.log:2008/02/01 12:28:12 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > Continue on error > > > > > jmeter-server.log:2008/02/01 12:28:31 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > Ending thread Thread Group JPetstore 1-1 > > > > > jmeter-server.log:2008/02/01 12:28:31 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > Stopping test > > > > > jmeter-server.log:2008/02/01 12:28:31 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > Notifying test listeners of end of test > > > > > jmeter-server.log: at > > > > > org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:248) > > > > > jmeter-server.log: at > > > > > org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEngine.java:321) > > > > > jmeter-server.log:2008/02/01 12:28:31 INFO - > > > > > jmeter.engine.StandardJMeterEngine: > > > > Test has ended > > > > > > > > > > ************************************************************* > > > > > Master (client) node logs > > > > > ************************************************************* > > > > > > > > > > 2008/02/01 18:24:27 INFO - jmeter.JMeter: LogLevel: > > > > > jmeter.engine=DEBUG > > > > > 2008/02/01 18:25:41 INFO - jmeter.engine.ClientJMeterEngine: about > > > > > to run > > remote > > > > test > > > > > 2008/02/01 18:25:41 INFO - jmeter.engine.ClientJMeterEngine: done > > > > > initiating > > > > run command > > > > > 2008/02/01 18:25:41 INFO - jmeter.engine.ClientJMeterEngine: running > > > > > clientengine > > > > run method > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.BooleanProperty: > > > > false > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > false > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.ObjectProperty: > > > > [EMAIL PROTECTED] > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > [EMAIL PROTECTED] > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > org.apache.jmeter.visualizers.SimpleDataWriter > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > org.apache.jmeter.reporters.ResultCollector > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > Simple Data Writer > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > Simple Data Writer > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.BooleanProperty: > > > > true > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > true > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > Distributed Test JPetstore > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > Distributed Test JPetstore > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl > > > > > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl > > > > > 2008/02/01 18:25:41 INFO - jmeter.engine.ConvertListeners: num > > > > > threads = > > 1 > > > > > 2008/02/01 18:25:41 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > host =192.168.1.2 > > > > > 2008/02/01 18:25:49 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > test > > > > > 2008/02/01 18:25:50 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > run command > > > > > 2008/02/01 18:28:34 INFO - jmeter.engine.ClientJMeterEngine: about > > > > > to run > > remote > > > > test > > > > > 2008/02/01 18:28:34 INFO - jmeter.engine.ClientJMeterEngine: done > > > > > initiating > > > > run command > > > > > 2008/02/01 18:28:34 INFO - jmeter.engine.ClientJMeterEngine: running > > > > > clientengine > > > > run method > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.BooleanProperty: > > > > false > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > false > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.ObjectProperty: > > > > [EMAIL PROTECTED] > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > [EMAIL PROTECTED] > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > org.apache.jmeter.visualizers.SimpleDataWriter > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > org.apache.jmeter.reporters.ResultCollector > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > Simple Data Writer > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > Simple Data Writer > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.BooleanProperty: > > > > true > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > true > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > Distributed Test JPetstore > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > Distributed Test JPetstore > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl > > > > > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl > > > > > 2008/02/01 18:28:34 INFO - jmeter.engine.ConvertListeners: num > > > > > threads = > > 1 > > > > > 2008/02/01 18:28:34 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > host =192.168.1.2 > > > > > 2008/02/01 18:28:36 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > test > > > > > 2008/02/01 18:28:36 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > run command > > > > > 2008/02/01 18:32:24 INFO - jmeter.engine.ClientJMeterEngine: about > > > > > to run > > remote > > > > test > > > > > 2008/02/01 18:32:24 INFO - jmeter.engine.ClientJMeterEngine: done > > > > > initiating > > > > run command > > > > > 2008/02/01 18:32:24 INFO - jmeter.engine.ClientJMeterEngine: running > > > > > clientengine > > > > run method > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.BooleanProperty: > > > > false > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > false > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.ObjectProperty: > > > > [EMAIL PROTECTED] > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > [EMAIL PROTECTED] > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > org.apache.jmeter.visualizers.SimpleDataWriter > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > org.apache.jmeter.reporters.ResultCollector > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > Simple Data Writer > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > Simple Data Writer > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.BooleanProperty: > > > > true > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Won't > > > > > replace > > true > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > Distributed Test JPetstore > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > Distributed Test JPetstore > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About > > > > > to replace > > > > in property of type: class > > > > org.apache.jmeter.testelement.property.StringProperty: > > > > /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl > > > > > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: > > > > > Replacement > > result: > > > > /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl > > > > > 2008/02/01 18:32:24 INFO - jmeter.engine.ConvertListeners: num > > > > > threads = > > 1 > > > > > 2008/02/01 18:32:24 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > host =192.168.1.2 > > > > > 2008/02/01 18:32:34 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > test > > > > > 2008/02/01 18:32:34 INFO - jmeter.engine.ClientJMeterEngine: sent > > > > > run command > > > > > > > > > > N.B. - the client machine logs time-date stamp is wrong > > > > > > > > > > sebb wrote .. > > > > > > There are some log entries missing. > > > > > > > > > > > > What are all the messages containing the string "jmeter.engine." > > > > > > from > > > > > > the server and client logs please? > > > > > > > > > > > > > > > > > > > > > > > > On 01/02/2008, David Brown <[EMAIL PROTECTED]> wrote: > > > > > > > Hello Sebb, thanks for the speedy reply. Your right I do not see > > > > > > > a page > > (bad > > > > > > choice of terms). But, I do see a very reasonable return for the > > > > > > telnet > > session > > > > > > connection to the slave: > > > > > > > > > > > > > > [EMAIL PROTECTED]:~$ telnet 192.168.1.2 1099 > > > > > > > Trying 192.168.1.2... > > > > > > > Connected to 192.168.1.2. > > > > > > > Escape character is '^]'. > > > > > > > > > > > > > > I do the same thing when trying to <ping> an email server > > > > > > > (SMTPd). I > > feel > > > > reasonably > > > > > > comfortable that I have no firewall or network issues. The > > > > > > 127.0.0.1 loopback > > > > is > > > > > > what the jmeter-server is looking for and even though I have > > > > > > introduced > > the > > > > JMETER_CMD_LINE_ARG > > > > > > as shown below I still get <Connection refused>. > > > > > > > > > > > > > > I have defined the HOST variable and placed it in > > > > > > > jmeter-server.sh: > > > > > > > > > > > > > > HOST="-Djava.rmi.server.hostname=192.168.1.2" > > > > > > > java $SERVER $JVM_ARGS -jar `dirname $0`/ApacheJMeter.jar $HOST > > > > > > > -s "$@" > > > > > > > > > > > > > > The jmeter-server.log on the slave clearly shows the non-loopback > > > > > > > host > > IP > > > > address > > > > > > was accepted and set the RMI hostname property accordingly. But, > > > > > > once the > > test > > > > > > starts it reverts back to the loopback address namely: 127.0.0.1 > > > > > > > > > > > > > > Logs: > > > > > > > > > > > > > > INFO jmeter.samplers.RemoteListenerWrapper: Test Started on > > > > > > > 192.168.1.2 > > > > > > > ERROR jmeter.samplers.RemoteLintenerWrapper: testStarted(host) > > > > > > > java.rmi.ConnectException: > > > > > > connection refused to host: 127.0.0.1 > > > > > > > > > > > > > > My question is how does the loopback creep back into the process > > > > > > > since > > JMeter > > > > > > has been configured to use another IP? Do I need to disable the > > > > > > loopback > > altogether > > > > > > at interface: lo? > > > > > > > > > > > > > > What more information or diagnostic may I perform to gather > > > > > > > better informational > > > > > > help? > > > > > > > > > > > > > > Tests and monitoring pending: please advise, David. > > > > > > > > > > > > > > > > > > > > > sebb wrote .. > > > > > > > > You should not see a page when telnetting to the RMI server on > > > > > > > > 1099 > > > > > > > > > > > > > > > > On 01/02/2008, David Brown <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hello JMeter gurus, Peter Lin et. al. and users, I have > > > > > > > > > previously > > posted > > > > > > a similar > > > > > > > > problem and it was ignored probably for good reason. I am able > > > > > > > > to telnet > > > > <slave-host> > > > > > > > > 1099 and I get the expected page as if I were connecting to an > > > > > > > > email > > server > > > > > > @ port > > > > > > > > 25. The connection is of course the RMI listener running for > > > > > > > > the JMeter > > > > slave > > > > > > @ > > > > > > > > port 1099. However, when I run the Test Plan all I get is > > > > > > > > Connection > > refused. > > > > > > I > > > > > > > > applied the Sergey Ten tips (from the JMeter remote test doco) > > > > > > > > in the > > jmeter > > > > > > shell > > > > > > > > script but it affords no change. Googling for this problem > > > > > > > > returns > > very > > > > few > > > > > > useful > > > > > > > > tips. Any and all suggestions, advice, rants or raves welcomed. > > > > > > > > Please > > > > advise, > > > > > > > > David. > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > 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] > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > 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] > > > > > > --------------------------------------------------------------------- > > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

