/** * Called when a test is ended on the remote system. This implementation * stops the running indicator and closes the stopping message dialog. * * @param host * the host where the test is ending */ @Override public void testEnded(String host) { hosts.remove(host); if (hosts.isEmpty()) { runningIndicator.setIcon(stoppedIcon); JMeterContextService.endTest(); computeTestDurationTimer.stop(); } menuBar.setRunning(false, host); if (LOCAL.equals(host)) { toolbar.setLocalTestStarted(false); } else { toolbar.setRemoteTestStarted(false); } if (stoppingMessage != null) { stoppingMessage.dispose(); stoppingMessage = null; } }
JMeterContextService.endTest(); if (JMeter.isNonGUI() && SYSTEM_EXIT_FORCED) { log.info("Forced JVM shutdown requested at end of test");