@PostMapping("/save")
	public PerfTest saveOne(User user, @RequestBody PerfTest perfTest, @RequestParam(defaultValue = "false") boolean isClone) {
		validate(user, null, perfTest);

		perfTest.setTestName(StringUtils.trimToEmpty(perfTest.getTestName()));
		perfTest.prepare(isClone);
		perfTest = perfTestService.save(user, perfTest);
		return perfTest;
	}
Create a new test or cloneTo a current test.

@param user     user
@param perfTest {@link PerfTest}
@param isClone  true if cloneTo
@return saved perftest
ngrinder-controller/src/main/java/org/ngrinder/perftest/controller/PerfTestApiController.java