public Map<String, List<Float>> getReportData(long testId, String key, boolean onlyTotal, int interval) {
		Map<String, List<Float>> resultMap = new TreeMap<>();
		List<File> reportDataFiles = onlyTotal ? Lists.newArrayList(getReportDataFile(testId, key)) : getReportDataFiles(testId, key);
		reportDataFiles.forEach(each -> resultMap.put(removeExtension(each.getName()), getFileDataAsList(each, interval)));
		return resultMap;
	}
Get list that contains test report data as a string.

@param testId   test id
@param key      report key
@param onlyTotal true if only total show be passed
@param interval interval to collect data
@return list containing label and tps value list
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java