private boolean isTestFinishCandidate(PerfTest perfTest, SingleConsole singleConsoleInUse) {
		// Give 5 seconds to be finished
		if (perfTest.isThresholdDuration()
				&& singleConsoleInUse.isCurrentRunningTimeOverDuration(perfTest.getDuration())) {
			LOG.debug(format(perfTest,
					"Test is ready to finish. Current : {}, Planned : {}",
				singleConsoleInUse.getCurrentRunningTime(), perfTest.getDuration()));
			return true;
		} else if (perfTest.isThresholdRunCount()
				&& singleConsoleInUse.getCurrentExecutionCount() >= perfTest.getTotalRunCount()) {
			LOG.debug(format(perfTest, "Test is ready to finish. Current : {}, Planned : {}",
				singleConsoleInUse.getCurrentExecutionCount(), perfTest.getTotalRunCount()));
			return true;
		} else if (singleConsoleInUse instanceof NullSingleConsole) {
			LOG.debug(format(perfTest, "Test is ready to finish. Current : {}, Planned : {}",
				singleConsoleInUse.getCurrentExecutionCount(), perfTest.getTotalRunCount()));
			return true;
		}
		return false;
	}
Check if the given {@link PerfTest} is ready to finish.

@param perfTest           perf test
@param singleConsoleInUse singleConsole
@return true if it's a finish candidate.
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestRunnable.java