|
안녕하세요.
nGrinder 공부 중인 사람입니다.
같은 인스턴스에서 컨트롤러와 에이전트를 실행했을경우에는 잘 됩니다.
하지만 다른 인스턴스에 에이전트를 설치 후 실행하면 아래와같은 오류가 발생합니다.
에이전트를 실행하면 잘 연결된걸로 나오는데.
막상 테스트를 시작하면 엉뚱한 포트로 연결됩니다.
[테스트 전 에이전트 시작 후 로그]
2013-12-30 06:33:58,966 INFO org.ngrinder.NGrinderStarter: - Passing mode agent
2013-12-30 06:33:58,966 INFO org.ngrinder.NGrinderStarter: - nGrinder version 3.2.3
2013-12-30 06:33:58,980 INFO org.ngrinder.NGrinderStarter: ***************************************************
2013-12-30 06:33:58,980 INFO org.ngrinder.NGrinderStarter: Start nGrinder Agent ...
2013-12-30 06:33:58,982 ERROR org.ngrinder.NGrinderStarter: Hey!! JAVA_HOME env var was not provided. Please provide JAVA_HOME env var before running agent.Otherwise you can not execute the agent in the security mode.
2013-12-30 06:33:58,982 INFO org.ngrinder.NGrinderStarter: with console: 10.123.45.67:16001
2013-12-30 06:33:58,982 INFO org.ngrinder.NGrinderStarter: JVM server mode is disabled. If you turn on ngrinder.servermode in agent.conf. It will provide the better agent performance.
2013-12-30 06:33:59,001 INFO agent controller daemon: The agent controller daemon is started.
2013-12-30 06:33:59,595 INFO agent controller: connected to agent controller server at /10.123.45.67:16001
2013-12-30 06:33:59,596 INFO agent controller: waiting for agent controller server signal
[테스트 시작 후 에이전트 로그]
2013-12-30 06:34:35,936 INFO agent controller: received a start agent message
2013-12-30 06:34:35,937 INFO agent controller: agent start message is revcieved from console net.grinder.messages.agent.StartGrinderMessage@51a8344f
2013-12-30 06:34:35,937 INFO agent controller: starting agent... for test_70
2013-12-30 06:34:35,938 INFO net.grinder.AgentDaemon: Agent Daemon Agent conntected to port : 12000 is started.
2013-12-30 06:34:35,940 INFO agent controller: agent is started. waiting for agent controller signal
2013-12-30 06:34:35,947 INFO net.grinder.AgentDaemon: The Grinder 3.9.1
2013-12-30 06:35:39,080 ERROR net.grinder.AgentDaemon: Failed to connect to '/10.123.45.67:12000'
2013-12-30 06:35:39,081 INFO net.grinder.AgentDaemon: finished
컨트롤러, 에이전트 버전 모두 최신입니다.
답변 부탁드립니다.
감사합니다.
|