안녕하세요.
nGrinder를 실행 중에 아래와 같은 에러가 발생되면서 테스트가 실행되지 않습니다.
- PerfTestRunnable.java:218 : Error while executing test: perftest_44_admin - Connection is not completed until 10 sec
동일한 환경 및 설정인데도 정상적으로 수행될 때도 있고 안될 때도 있는데, 어떤 부분을 확인해야 하는 지 알 수 있을까요?
관련 내용은 아래와 같습니다.
[환경]
- Version : nGrinder v3.4
- Google Kubernetes Engine
- Controller 1대, agent 1대
[실행 시나리오]
1. Main Page에서 Quick Start를 통해 Test 생성
- url :
http://www.google.com- Script : Groovy
2. 해당 Test 실행(또는 복제 및 실행)
[Log Monitoring 내용]
2019-11-07 01:07:37,924 INFO ScriptHandler.java:153 : www.google.com/src/main/java/TestRunner.groovy is being written in /opt/ngrinder-controller/perftest/0_999/44/dist/ for test 44
2019-11-07 01:07:38,713 INFO GroovyMavenProjectScriptHandler.java:158 : Dependencies in www.google.com/pom.xml is copied into /opt/ngrinder-controller/perftest/0_999/44/dist/lib folder
2019-11-07 01:07:38,713 INFO PerfTestService.java:656 : File write is completed in /opt/ngrinder-controller/perftest/0_999/44/dist
2019-11-07 01:07:38,722 INFO PerfTestService.java:629 : Grinder Properties : {grinder.threads=1, grinder.numberOfOldLogs=1, grinder.jvm.classpath=., grinder.test.id=test_44, grinder.duration=60000, grinder.sleepTimeVariation=0.2, grinder.runs=0, grinder.useConsole=true, grinder.script=TestRunner.groovy, grinder.jvm=java, grinder.security=false, grinder.processIncrement=0, grinder.sleepTimeFactor=1, ngrinder.etc.hosts=www.google.com, grinder.user=admin, grinder.reportTimesToConsole=true, grinder.debug.singleprocess=false, grinder.processes=1, grinder.ignoreSampleCount=0, grinder.reportToConsole.interval=500, grinder.agents=1, grinder.dcrinstrumentation=true, grinder.logProcessStreams=true}
2019-11-07 01:07:38,737 INFO AgentManager.java:405 : 1 agents are starting for user admin
2019-11-07 01:07:38,737 INFO AgentManager.java:407 : - Agent ngrinder-agent-596579bdf9-42jsl
2019-11-07 01:07:47,739 ERROR PerfTestRunnable.java:218 : Error while executing test: perftest_44_admin - Connection is not completed until 10 sec
2019-11-07 01:07:47,740 INFO PerfTestService.java:961 : Total Statistics for test 44 is {}
2019-11-07 01:07:51,958 INFO Home.java:241 : /opt/ngrinder-controller/perftest/0_999/44/report is created.
2019-11-07 01:07:51,959 WARN PerfTestService.java:713 : Report TPS for test 44 does not exist.
2019-11-07 01:07:51,959 INFO Home.java:241 : /opt/ngrinder-controller/perftest/0_999/44/logs is created.
도움 부탁드리겠습니다.
감사합니다.