public Page<PerfTest> getPagedAll(User user, String query, String tag, String queryFilter, Pageable pageable) {
		Specification<PerfTest> spec = Specification.where(idEmptyPredicate());
		// User can see only his own test
		if (user.getRole().equals(Role.USER)) {
			spec = spec.and(createdBy(user));
		}

		if (StringUtils.isNotBlank(tag)) {
			spec = spec.and(hasTag(tag));
		}
		if ("F".equals(queryFilter)) {
			spec = spec.and(statusSetEqual(Status.FINISHED));
		} else if ("R".equals(queryFilter)) {
			spec = spec.and(statusSetEqual(Status.TESTING));
		} else if ("S".equals(queryFilter)) {
			spec = spec.and(statusSetEqual(Status.READY));
		} else if ("RS".equals(queryFilter) || "SR".equals(queryFilter)) {
			spec = spec.and(statusSetEqual(Status.TESTING, Status.READY));
		}
		if (StringUtils.isNotBlank(query)) {
			spec = spec.and(likeTestNameOrDescription(query));
		}
		return perfTestRepository.findAll(spec, pageable);
	}
Get {@link PerfTest} list for the given user.

@param user        user
@param query       query string on test name or description
@param tag         search tag.
@param queryFilter "S" for querying scheduled test, "F" for querying finished test
@param pageable    paging info
@return found {@link PerfTest} list
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java