private List<PerfTest> getAll(User user, String region, Status[] statuses) {
		Specification<PerfTest> spec = Specification.where(idEmptyPredicate());
		// User can see only his own test
		if (user != null) {
			spec = spec.and(createdBy(user));
		}

		if (statuses.length != 0) {
			spec = spec.and(statusSetEqual(statuses));
		}

		if (config.isClustered()) {
			spec = spec.and(regionStartsWith(region));
		}

		return perfTestRepository.findAll(spec);
	}
Get {@link PerfTest} list on the user.

@param user user
@return found {@link PerfTest} list
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java