public synchronized void runAgent(User user, final SingleConsole singleConsole,
									  final GrinderProperties grinderProperties, final Integer agentCount) {
		final Set<AgentInfo> allFreeAgents = getAllAttachedFreeApprovedAgentsForUser(user.getUserId(), "");
		final Set<AgentInfo> necessaryAgents = selectAgent(user, allFreeAgents, agentCount);

		hazelcastService.put(DIST_MAP_NAME_RECENTLY_USED_AGENTS, user.getUserId(), necessaryAgents);

		LOGGER.info("{} agents are starting for user {}", agentCount, user.getUserId());
		for (AgentInfo agentInfo : necessaryAgents) {
			LOGGER.info("- Agent {}", agentInfo.getName());
		}
		agentManager.runAgent(singleConsole, grinderProperties, necessaryAgents);
	}
Assign the agents on the given console.

@param user              user
@param singleConsole     {@link SingleConsole} to which agents will be assigned
@param grinderProperties {@link GrinderProperties} to be distributed.
@param agentCount        the count of agents.
ngrinder-controller/src/test/java/org/ngrinder/agent/service/MockAgentService.java