@Transactional
	public PerfTest markAbnormalTermination(PerfTest perfTest, String reason) {
		// Leave last status as test error cause
		perfTest.setTestErrorCause(cast(perfTest.getStatus()));
		return markStatusAndProgress(perfTest, Status.ABNORMAL_TESTING, reason);
	}
Mark test error on {@link PerfTest} instance.

@param perfTest {@link PerfTest}
@param reason   stop reason
@return perftest with updated data
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java