private Map<String, Object> getDefaultAttributes(User user) {
		Map<String, Object> attributes = new HashMap<>();

		Map<String, Object> testConfig = new HashMap<>();
		Map<String, MutableInt> agentCountMap = agentService.getAvailableAgentCountMap(user.getUserId());
		testConfig.put(PARAM_REGION_AGENT_COUNT_MAP, agentCountMap);
		testConfig.put(PARAM_REGION_LIST, regionService.getAllVisibleRegionNames());

		testConfig.put(PARAM_AVAILABLE_RAMP_UP_TYPE, RampUp.values());
		testConfig.put(PARAM_MAX_RUN_COUNT, agentManager.getMaxRunCount());
		testConfig.put(PARAM_MAX_RUN_HOUR, agentManager.getMaxRunHour());
		testConfig.put(PARAM_MAX_VUSER_PER_AGENT, agentManager.getMaxVuserPerAgent());

		attributes.put("config", testConfig);

		if (config.isSecurityEnabled()) {
			attributes.put(PARAM_SECURITY_LEVEL, config.getSecurityLevel());
		}
		attributes.put(PARAM_SAFE_FILE_DISTRIBUTION,
			config.getControllerProperties().getPropertyBoolean(ControllerConstants.PROP_CONTROLLER_SAFE_DIST));
		String timeZone = userContext.getCurrentUser().getTimeZone();
		int offset;
		if (StringUtils.isNotBlank(timeZone)) {
			offset = TimeZone.getTimeZone(timeZone).getOffset(System.currentTimeMillis());
		} else {
			offset = TimeZone.getDefault().getOffset(System.currentTimeMillis());
		}
		attributes.put(PARAM_TIMEZONE_OFFSET, offset);

		return attributes;
	}
Add the various default configuration values on the model.

@param user user to get default attributes
ngrinder-controller/src/main/java/org/ngrinder/perftest/controller/PerfTestApiController.java