성능테스트시 오류에의한 중단~

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

성능테스트시 오류에의한 중단~

kang.s.h
This post was updated on .
에이전트쪽 로그파일이 다음과 같습니다.

무엇이 문제인지 모르겠습니다. 도와주세요~~


2013-02-04 17:53:32,513 INFO  org.ngrinder.NGrinderStarter  :  java.library.path : C:\WINDOWS\system32;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\QuickTime\QTSystem\;C:\Cygwin\bin;C:\Program Files\Java\jdk1.7.0_13\bin;C:\Program Files\ESTsoft\ALSee;.;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\.\native_lib
2013-02-04 17:53:32,513 INFO  org.ngrinder.NGrinderStarter  :  - Passing mode agent
2013-02-04 17:53:32,513 INFO  org.ngrinder.NGrinderStarter  :  - nGrinder version 3.1.1
2013-02-04 17:53:32,560 INFO  org.ngrinder.NGrinderStarter  :  *************************
2013-02-04 17:53:32,560 INFO  org.ngrinder.NGrinderStarter  :  Start nGrinder Agent ...
2013-02-04 17:53:32,576 INFO  org.ngrinder.NGrinderStarter  :  with console: 121.167.96.49:16001
2013-02-04 17:53:32,591 INFO  agent controller daemon  :  agent controller daemon : started.
2013-02-04 17:53:33,138 INFO  agent controller  :  connected to agent controller server at /121.167.96.49:16001
2013-02-04 17:53:33,138 INFO  agent controller  :  waiting for agent controller server signal
2013-02-04 17:54:00,982 INFO  agent controller  :  received a start agent message
2013-02-04 17:54:00,982 INFO  agent controller  :  agent start message is revcieved from console net.grinder.messages.agent.StartGrinderMessage@b1a0f9
2013-02-04 17:54:00,982 INFO  agent controller  :  starting agent... for test_26
2013-02-04 17:54:00,982 INFO  net.grinder.AgentDaemon  :  Agent Daemon Agent conntected to port : 12008 is started.
2013-02-04 17:54:00,982 INFO  agent controller  :  agent started. waiting for agent controller signal
2013-02-04 17:54:00,982 INFO  net.grinder.AgentDaemon  :  The Grinder 3.9.1
2013-02-04 17:54:00,997 INFO  net.grinder.AgentDaemon  :  connected to console at /121.167.96.49:12008
2013-02-04 17:54:00,997 INFO  net.grinder.AgentDaemon  :  waiting for console signal
2013-02-04 17:54:01,794 INFO  net.grinder.AgentDaemon  :  Clearing file store
2013-02-04 17:54:01,982 INFO  net.grinder.AgentDaemon  :  Updating file store: "script.py" (1734 bytes)
2013-02-04 17:54:03,497 INFO  net.grinder.AgentDaemon  :  received a start message
2013-02-04 17:54:03,513 INFO  net.grinder.AgentDaemon  :  grinder properties {grinder.security=false, grinder.ignoreSampleCount=0, grinder.numberOfOldLogs=1, grinder.script=script.py, grinder.consoleHost=121.167.96.49, grinder.runs=0, grinder.logProcessStreams=true, grinder.jvm=java, grinder.sleepTimeFactor=1, grinder.reportToConsole.interval=500, grinder.dcrinstrumentation=true, grinder.reportTimesToConsole=true, grinder.processes=2, grinder.threads=100, grinder.useConsole=true, grinder.test.id=test_26, grinder.debug.singleprocess=false, grinder.consolePort=12008, grinder.jvm.classpath=C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\.\lib\ngrinder-dns-3.1.1.jar;C:\Documents and Settings\Administrator\.ngrinder_agent\file-store\admin\current\, grinder.logDirectory=C:\Documents and Settings\Administrator\.ngrinder_agent\log\test_26, grinder.duration=60000, ngrinder.etc.hosts=www.exc.co.kr, grinder.sleepTimeVariation=0.2, grinder.processIncrement=0, grinder.user=admin}
2013-02-04 17:54:03,513 INFO  net.grinder.AgentDaemon  :  jvm arguments  -Dpython.path=C:\Documents and Settings\Administrator\.ngrinder_agent\file-store\admin\current\lib  -Dpython.cachedir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jython  -Dngrinder.etc.hosts=kangseonghui:127.0.0.1,localhost:127.0.0.1,www.exc.co.kr:1.234.42.145 -Dsun.net.spi.nameservice.provider.1=dns,LocalManagedDns  -server  -Xms511M -Xmx1023M
2013-02-04 17:54:03,513 INFO  net.grinder.AgentDaemon  :  Worker process command line: java '-javaagent:C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\grinder-dcr-agent-3.9.1.jar' '-Dpython.path=C:\Documents' 'and' 'Settings\Administrator\.ngrinder_agent\file-store\admin\current\lib' '-Dpython.cachedir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jython' '-Dngrinder.etc.hosts=kangseonghui:127.0.0.1,localhost:127.0.0.1,www.exc.co.kr:1.234.42.145' '-Dsun.net.spi.nameservice.provider.1=dns,LocalManagedDns' -server '-Xms511M' '-Xmx1023M' -classpath 'C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\ngrinder-dns-3.1.1.jar;.;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\grinder-3.9.1-patch.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\asm-3.2.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\dnsjava-2.1.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\grinder-3.9.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\grinder-core-3.9.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\grinder-dcr-agent-3.9.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\grinder-http-3.9.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\grinder-httpclient-3.9.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\grinder-xmlbeans-3.9.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\json-20090211.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\jsr173-1.0.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\jython-standalone-2.5.3.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\logback-classic-1.0.0.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\logback-core-1.0.0.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\ngrinder-dns-3.1.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\picocontainer-2.13.6.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\slf4j-api-1.6.4.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\stax-api-1.0.1.jar;C:\ngrinder-core-3.1.1-agent-package\ngrinder-core-3.1.1\lib\xmlbeans-2.5.0.jar' net.grinder.engine.process.WorkerProcessEntryPoint
2013-02-04 17:54:03,528 INFO  net.grinder.AgentDaemon  :  worker kangseonghui-0 started
2013-02-04 17:54:03,544 INFO  net.grinder.AgentDaemon  :  worker kangseonghui-1 started
2013-02-04 17:54:03,700 INFO  net.grinder.AgentDaemon  :  all workers are finished
2013-02-04 17:54:03,700 INFO  net.grinder.AgentDaemon  :  communication shut down
2013-02-04 17:54:03,700 INFO  net.grinder.AgentDaemon  :  finished
2013-02-04 17:54:03,700 INFO  agent controller  :  send log for test_26
Reply | Threaded
Open this post in threaded view
|

Re: 성능테스트시 오류에의한 중단~

junoyoon
Administrator
자바 설정을 잘못 하셔서 생긴 문제입니다.

http://ngrinder.642.n7.nabble.com/Runtime-errors-in-nGrinder-3-1-tp181p201.html

를 참고하세요.
Reply | Threaded
Open this post in threaded view
|

Re: 성능테스트시 오류에의한 중단~

kang.s.h
controller쪽에 자바 설정을 잘못했다는 말씀이신가요?
아니면 Agent쪽을 말씀하시는 건가요?

처음 설치해 봐서 잘 모르겠어요~~ ^^;
Reply | Threaded
Open this post in threaded view
|

Re: 성능테스트시 오류에의한 중단~

jiwon jo
agent 자바 설정이 잘못되었습니다.

보통 java home path 는 예를 들면 C:\Program Files\Java\jdk\1.7.0_10\bin 이런식으로 되어 있는데

C:\WINDOWS\Sun\Java\bin 여기에는 JDK가 아니라 JRE가 설정 되어 있는것 같아요.

물론 C:\Cygwin\bin;C:\Program Files\Java\jdk1.7.0_13\bin 이렇게 설정 되어 있지만 먼저 JRE를 찾는것 같습니다.