If the TestPlan is missing from a JMX file (e.g. is a fragment such as a Workbench only), this is detected by the run method of StandardJMeterEngine. This works OK for ordinary non-GUI mode - though the code should not call System.exit(). However, in the case of non-GUI client-server mode, the error causes the server to exit, and the client just hangs. The JMX file should be checked earlier (to prevent useless engine startup), and the code should not call System.exit() if at all possible.
URL: http://svn.apache.org/viewvc?rev=1178380&view=rev Log: Bug 51937 - JMeter does not handle missing TestPlan entry well Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java jakarta/jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2574