private PerfTest getOneWithPermissionCheck(User user, Long id, boolean withTag) {
		PerfTest perfTest = withTag ? perfTestService.getOneWithTag(id) : perfTestService.getOne(id);
		if (user.getRole().equals(Role.ADMIN) || user.getRole().equals(Role.SUPER_USER)) {
			return perfTest;
		}
		if (perfTest != null && !user.equals(perfTest.getCreatedBy())) {
			throw processException("User " + user.getUserId() + " has no right on PerfTest " + id);
		}
		return perfTest;
	}
Create a new test from quick start mode.

@param user       user
@param testName   test name
@param targetHost target host
@return test    {@link PerfTest}
ngrinder-controller/src/main/java/org/ngrinder/perftest/controller/PerfTestApiController.java