public void saveStatistics(SingleConsole singleConsole, Long perfTestId) {
		String runningSample = getProperSizeRunningSample(singleConsole);
		String agentState = getProperSizedStatusString(singleConsole);
		hazelcastService.put(DIST_MAP_NAME_SAMPLING, perfTestId, new SamplingModel(runningSample, agentState));
	}
To save statistics data when test is running and put into cache after that. If the console is not available, it
returns null.

@param singleConsole single console.
@param perfTestId    perfTest Id
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java