public ConsoleProperties createConsoleProperties(PerfTest perfTest) {
		ConsoleProperties consoleProperties = ConsolePropertiesFactory.createEmptyConsoleProperties();
		try {
			consoleProperties.setAndSaveDistributionDirectory(new Directory(getDistributionPath(perfTest)));
			consoleProperties.setConsoleHost(config.getCurrentIP());
			consoleProperties.setIgnoreSampleCount(getSafe(perfTest.getIgnoreSampleCount()));
			consoleProperties.setSampleInterval(1000 * getSafe(perfTest.getSamplingInterval()));
		} catch (Exception e) {
			throw processException("Error while setting console properties", e);
		}
		return consoleProperties;
	}
Create {@link ConsoleProperties} based on given {@link PerfTest} instance.

@param perfTest perfTest
@return {@link ConsoleProperties}
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java