@GetMapping("/{id}/detail")
	public Map<String, Object> getOneDetail(User user, @PathVariable Long id) {
		Map<String, Object> result = new HashMap<>();
		PerfTest test = getOneWithPermissionCheck(user, id, true);

		result.put(PARAM_TEST, test);
		if (test == null) {
			return result;
		}

		// Retrieve the agent count map based on create user, if the test is
		// created by the others.
		user = test.getCreatedBy();
		result.putAll(getDefaultAttributes(user));
		return result;
	}
Get the perf test detail on the given perf test id.

@param user  user
@param id    perf test id
@return attributes for perftest detail
ngrinder-controller/src/main/java/org/ngrinder/perftest/controller/PerfTestApiController.java