Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JMeter remote test fails with error message "Engine is busy - please try later"

I get an error when using jmeter with one master and one remote node. I did this steps:

  • Java & JMeter versions are the same (whith JMeter plugins)
  • I started the JMeter Server in the remote node
  • I added the remote node IP to the properties file of the master
  • I startet JMeter on the master and started the test script via remote start (the command line of the master contains "Using remote object …" with the correct IP

After that JMeter freezes and after 7 minutes I get the error Message "Engine is busy - please try later".

The Log of the master is:

2014/05/06 14:17:33 INFO  - jmeter.gui.action.RemoteStart: Initialising remote engine: 172.19.147.41 
2014/05/06 14:17:33 INFO  - jmeter.engine.ClientJMeterEngine: running clientengine run method 
2014/05/06 14:17:33 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: [] 
2014/05/06 14:17:33 INFO  - jmeter.samplers.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000 
2014/05/06 14:17:33 INFO  - jmeter.samplers.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 
2014/05/06 14:17:33 INFO  - jmeter.samplers.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000 
2014/05/06 14:17:33 INFO  - jmeter.samplers.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 
2014/05/06 14:25:50 ERROR - jmeter.engine.ClientJMeterEngine: Error in rconfigure() method java.lang.IllegalStateException: Engine is busy - please try later 
2014/05/06 14:25:50 INFO  - jmeter.engine.ClientJMeterEngine: Interrupting RMI Reaper 

The log of the remote node:

2014/05/06 14:17:33 INFO  - jmeter.samplers.BatchSampleSender: Using batching for this run. Thresholds: num=100, time=60000 
2014/05/06 14:17:33 INFO  - jmeter.samplers.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 
2014/05/06 14:17:33 INFO  - jmeter.samplers.BatchSampleSender: Using batching for this run. Thresholds: num=100, time=60000 
2014/05/06 14:17:33 INFO  - jmeter.samplers.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 
2014/05/06 14:25:50 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating JMeter engine on host 172.19.147.41 base '.' 
2014/05/06 14:25:50 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Remote client host: 172.19.147.38
2014/05/06 14:25:50 WARN  - jmeter.engine.RemoteJMeterEngineImpl: Engine is busy - cannot create JMeter engine

Did I forget to add some configuration or where is the problem?

Thanke in regards...

like image 477
SLo Avatar asked May 06 '14 12:05

SLo


1 Answers

This error is because of the slaves are still executing previous test plan.

i would suggest.

  1. while stopping the jmeter tests , use 'Remote Stop all' option from master, which kills the running threads on remote/slave machine process.

2.Restart[relaunch the "jmeter-server.bat"] on the slave/remote jmeter process and start the test.

like image 121
Ashoka Avatar answered Oct 06 '22 19:10

Ashoka