성능 테스트 하면 오류가 납니다ㅜㅜ

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

성능 테스트 하면 오류가 납니다ㅜㅜ

최진영
This post was updated on .
안녕하세요^^

블로그를 보고 3.3버전을 설치하였습니다.

그리고 성능 테스트를 하는데 오류만 870개가 나고 빨간불이 되며 끝나버립니다ㅠ
groovy로 해도 그러고 jython으로 해도 그러네요ㅠ

로그는 이렇게 나옵니다.

java '-javaagent:../../../../ngrinder-agent/lib/grinder-dcr-agent-3.9.1.jar' '-Djna.library.path=/home1/irteam/.ngrinder_agent/file-store/admin/current/lib' '-Dpython.path=/home1/irteam/.ngrinder_agent/file-store/admin/current/lib' '-Dpython.cachedir=/tmp/jython' '-Dngrinder.etc.hosts=dev-da-jinyoung.ncl.nhnsystem.com:127.0.0.1,localhost:127.0.0.1,' '-Dsun.net.spi.nameservice.provider.1=dns,LocalManagedDns' '-Xms582m' '-Xmx582m' '-XX:PermSize=128m' '-XX:MaxPermSize=128m' -classpath '../../../../ngrinder-agent/lib/ngrinder-runtime-3.3.jar:../../../../ngrinder-agent/lib/grinder-patch-3.9.1-patch.jar:.:../../../../ngrinder-agent/lib/commons-io-2.0.1.jar:../../../../ngrinder-agent/lib/logback-core-1.0.0.jar:../../../../ngrinder-agent/lib/junit-dep-4.8.2.jar:../../../../ngrinder-agent/lib/ngrinder-runtime-3.3.jar:../../../../ngrinder-agent/lib/picocontainer-2.13.6.jar:../../../../ngrinder-agent/lib/commons-lang-2.6.jar:../../../../ngrinder-agent/lib/json-20090211.jar:../../../../ngrinder-agent/lib/jython-standalone-2.5.3.jar:../../../../ngrinder-agent/lib/grinder-http-3.9.1.jar:../../../../ngrinder-agent/lib/dnsjava-2.1.1.jar:../../../../ngrinder-agent/lib/slf4j-api-1.6.4.jar:../../../../ngrinder-agent/lib/logback-classic-1.0.0.jar:../../../../ngrinder-agent/lib/grinder-dcr-agent-3.9.1.jar:../../../../ngrinder-agent/lib/hamcrest-all-1.1.jar:../../../../ngrinder-agent/lib/grinder-core-3.9.1.jar:../../../../ngrinder-agent/lib/asm-3.3.1.jar:../../../../ngrinder-agent/lib/grinder-httpclient-3.9.1.jar' net.grinder.engine.process.WorkerProcessEntryPoint

2014-11-21 15:24:09,496 INFO  The Grinder version 3.9.1
2014-11-21 15:24:09,503 INFO  Java(TM) SE Runtime Environment 1.7.0_25-b15: Java HotSpot(TM) 64-Bit Server VM (23.25-b01, mixed mode) on Linux amd64 2.6.32-431.23.3.el6.x86_64
2014-11-21 15:24:09,509 INFO  time zone is KST (+0900)
2014-11-21 15:24:09,690 INFO  worker process 0 of agent number 0
2014-11-21 15:24:09,787 INFO  Instrumentation agents: byte code transforming instrumenter for Jython 2.5; byte code transforming instrumenter for Java
2014-11-21 15:24:13,006 INFO  registered plug-in net.grinder.plugin.http.HTTPPlugin
2014-11-21 15:24:13,105 INFO  Running "TestRunner.py" using Jython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:54:35)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]
2014-11-21 15:24:13,189 INFO  starting, will run forever
2014-11-21 15:24:13,190 INFO  Start time is 1416551053189 ms since Epoch
2014-11-21 15:24:13,265 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:13,269 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:13,273 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:13,278 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
(이게 엄청나게 많이 나와서 생략했습니다)
2014-11-21 15:24:27,058 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:27,058 INFO  received a stop message
2014-11-21 15:24:27,060 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:27,065 INFO  shut down
2014-11-21 15:24:27,065 INFO  finished 5176 runs
2014-11-21 15:24:27,068 INFO  elapsed time is 13878 ms
2014-11-21 15:24:27,068 INFO  Final statistics for this process:
2014-11-21 15:24:27,079 INFO  
             Tests        Errors       Mean Test    Test Time    TPS          Mean         Response     Response     Mean time to Mean time to Mean time to
                                       Time (ms)    Standard                  response     bytes per    errors       resolve host establish    first byte  
                                                    Deviation                 length       second                                 connection                
                                                    (ms)                                                                                                    

Test 1       0            5176         ?            0.00         0.00         ?            0.00         0            ?            ?            ?             "10.99.216.64"

Totals       0            5176         ?            0.00         0.00         ?            0.00         0            ?            ?            ?            

  Tests resulting in error only contribute to the Errors column.          
  Statistics for individual tests can be found in the data file, including
  (possibly incomplete) statistics for erroneous tests. Composite tests  
  are marked with () and not included in the totals.                      



아 그리고 리눅스 서버에서 agent와 모니터에서 각각
$ ./run_agent_bg.sh 이렇게 쉘을 실행하면
$ nohup: redirecting stderr to stdout 이렇게 뜨는데
여기서 뭔가 오류가 생긴걸까요??

감사합니다^^


------------------------------------------------------------------------------------

스크립트 사용법을 몰라 나는 오류였습니다 ㅠㅠ
해결했습니다~ 감사합니다!!
Reply | Threaded
Open this post in threaded view
|

RE: 성능 테스트 하면 오류가 납니다ㅜㅜ

jiwon jo

저 같으면 부하 성능 테스트 대상 웹페이지 응답이 잘 하는지 먼저 체크해 보겠습니다. 


 전체 테스트 횟수 중 30%가 넘게 테스트가 성공하지 못했을 경우 자동으로 테스트가 멈출겁니다.

 

 

이 메일은 나눔글꼴로 작성되었습니다. 설치하기

조지원  JIWON JO
플랫폼서비스팀
/ 대리

경기도 성남시 분당구 황새울로 359번길 11 미래에셋플레이스, 463-824
Email  [hidden email]  

-----Original Message-----
From: "최진영 [via ngrinder]"<[hidden email]>
To: "jiwon jo"<[hidden email]>;
Cc:
Sent: 2014-11-21 (금) 15:29:56
Subject: 성능 테스트 하면 오류가 납니다ㅜㅜ

안녕하세요^^

블로그를 보고 3.3버전을 설치하였습니다.

그리고 성능 테스트를 하는데 오류만 870개가 나고 빨간불이 되며 끝나버립니다ㅠ
groovy로 해도 그러고 jython으로 해도 그러네요ㅠ

로그는 이렇게 나옵니다.

java '-javaagent:../../../../ngrinder-agent/lib/grinder-dcr-agent-3.9.1.jar' '-Djna.library.path=/home1/irteam/.ngrinder_agent/file-store/admin/current/lib' '-Dpython.path=/home1/irteam/.ngrinder_agent/file-store/admin/current/lib' '-Dpython.cachedir=/tmp/jython' '-Dngrinder.etc.hosts=dev-da-jinyoung.ncl.nhnsystem.com:127.0.0.1,localhost:127.0.0.1,' '-Dsun.net.spi.nameservice.provider.1=dns,LocalManagedDns' '-Xms582m' '-Xmx582m' '-XX:PermSize=128m' '-XX:MaxPermSize=128m' -classpath '../../../../ngrinder-agent/lib/ngrinder-runtime-3.3.jar:../../../../ngrinder-agent/lib/grinder-patch-3.9.1-patch.jar:.:../../../../ngrinder-agent/lib/commons-io-2.0.1.jar:../../../../ngrinder-agent/lib/logback-core-1.0.0.jar:../../../../ngrinder-agent/lib/junit-dep-4.8.2.jar:../../../../ngrinder-agent/lib/ngrinder-runtime-3.3.jar:../../../../ngrinder-agent/lib/picocontainer-2.13.6.jar:../../../../ngrinder-agent/lib/commons-lang-2.6.jar:../../../../ngrinder-agent/lib/json-20090211.jar:../../../../ngrinder-agent/lib/jython-standalone-2.5.3.jar:../../../../ngrinder-agent/lib/grinder-http-3.9.1.jar:../../../../ngrinder-agent/lib/dnsjava-2.1.1.jar:../../../../ngrinder-agent/lib/slf4j-api-1.6.4.jar:../../../../ngrinder-agent/lib/logback-classic-1.0.0.jar:../../../../ngrinder-agent/lib/grinder-dcr-agent-3.9.1.jar:../../../../ngrinder-agent/lib/hamcrest-all-1.1.jar:../../../../ngrinder-agent/lib/grinder-core-3.9.1.jar:../../../../ngrinder-agent/lib/asm-3.3.1.jar:../../../../ngrinder-agent/lib/grinder-httpclient-3.9.1.jar' net.grinder.engine.process.WorkerProcessEntryPoint

2014-11-21 15:24:09,496 INFO  The Grinder version 3.9.1
2014-11-21 15:24:09,503 INFO  Java(TM) SE Runtime Environment 1.7.0_25-b15: Java HotSpot(TM) 64-Bit Server VM (23.25-b01, mixed mode) on Linux amd64 2.6.32-431.23.3.el6.x86_64
2014-11-21 15:24:09,509 INFO  time zone is KST (+0900)
2014-11-21 15:24:09,690 INFO  worker process 0 of agent number 0
2014-11-21 15:24:09,787 INFO  Instrumentation agents: byte code transforming instrumenter for Jython 2.5; byte code transforming instrumenter for Java
2014-11-21 15:24:13,006 INFO  registered plug-in net.grinder.plugin.http.HTTPPlugin
2014-11-21 15:24:13,105 INFO  Running "TestRunner.py" using Jython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:54:35)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]
2014-11-21 15:24:13,189 INFO  starting, will run forever
2014-11-21 15:24:13,190 INFO  Start time is 1416551053189 ms since Epoch
2014-11-21 15:24:13,265 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:13,269 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:13,273 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:13,278 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
(이게 엄청나게 많이 나와서 생략했습니다)
2014-11-21 15:24:27,058 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:27,058 INFO  received a stop message
2014-11-21 15:24:27,060 INFO  http://10.99.216.64/ -> 404 Not Found, 4737 bytes
2014-11-21 15:24:27,065 INFO  shut down
2014-11-21 15:24:27,065 INFO  finished 5176 runs
2014-11-21 15:24:27,068 INFO  elapsed time is 13878 ms
2014-11-21 15:24:27,068 INFO  Final statistics for this process:
2014-11-21 15:24:27,079 INFO  
             Tests        Errors       Mean Test    Test Time    TPS          Mean         Response     Response     Mean time to Mean time to Mean time to
                                       Time (ms)    Standard                  response     bytes per    errors       resolve host establish    first byte  
                                                    Deviation                 length       second                                 connection                
                                                    (ms)                                                                                                    

Test 1       0            5176         ?            0.00         0.00         ?            0.00         0            ?            ?            ?             "10.99.216.64"

Totals       0            5176         ?            0.00         0.00         ?            0.00         0            ?            ?            ?            

  Tests resulting in error only contribute to the Errors column.          
  Statistics for individual tests can be found in the data file, including
  (possibly incomplete) statistics for erroneous tests. Composite tests  
  are marked with () and not included in the totals.                      



아 그리고 리눅스 서버에서 agent와 모니터에서 각각
$ ./run_agent_bg.sh 이렇게 쉘을 실행하면
$ nohup: redirecting stderr to stdout 이렇게 뜨는데
여기서 뭔가 오류가 생긴걸까요??

감사합니다^^



If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/-tp1677.html
To start a new topic under ngrinder-user-kr, email [hidden email]
To unsubscribe from ngrinder, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: 성능 테스트 하면 오류가 납니다ㅜㅜ

junoyoon
Administrator
In reply to this post by 최진영
http://10.99.216.64/ -> 404 Not Found, 4737 bytes

에러가 난다는 것은..  아마도 에이전트에서 10.99.216.64 접근시에 쿠키나 헤더를 넣지 않아서 생기는 문제일것 같습니다.