@PutMapping(value = "/{id}", params = "action=status")
	public PerfTest updateStatus(User user, @PathVariable Long id, @RequestBody Status status) {
		PerfTest perfTest = getOneWithPermissionCheck(user, id, false);
		checkNotNull(perfTest, "no perftest for %s exits", id).setStatus(status);
		validate(user, null, perfTest);
		return perfTestService.save(user, perfTest);
	}
Update the given perf test's status.

@param user   user
@param id     perf test id
@param status Status to be moved to
@return json message
ngrinder-controller/src/main/java/org/ngrinder/perftest/controller/PerfTestApiController.java