The -X command option results in the following warning in the log: 2016/04/30 22:16:18 WARN - jmeter.engine.ClientJMeterEngine: Could not perform remote exit: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.EOFException This is because RemoteJMeterEngineImpl.rexit() processes the exit request synchronously. The rexit() RMI call never returns because the server exits first. The rexit() method should return having scheduled the exit code in a separate thread.
Created attachment 33816 [details] Stop backing engine asynchronously
+1 for commiting the patch
Date: Sun Jun 12 13:18:41 2016 New Revision: 1747998 URL: http://svn.apache.org/viewvc?rev=1747998&view=rev Log: Get rid of UnmarshalException on stopping when -X option is used. Bugzilla Id: 59400 Modified: jmeter/trunk/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java jmeter/trunk/xdocs/changes.xml