Hi
I downloaded the new nGrinder controller version 3.1 WAR file and replaced it with the old WAR file in tomcat webapps folder. I still use nGrinder agent version 3.0.3, Apache Tomcat Version 6.0.36 and JDK version 1.7.0_10. I restarted the system and created the default script for a URL. The performance test stops (with 1 Vuser and 1 iteration) with error message "Stop By Error Test is finished. but contains a lot of errors". I don't see any error on validating the script and never received errors in nGrinder version 3.0 for the same URL. Could anyone please tell me how can I see the complete details of the runtime errors. Thanks Vij |
Administrator
|
Please update agent as well And show me the agent log in test report page 나의 iPhone에서 보냄
|
Hi Junoyoon
I upgraded the agent (ngrinder-core-3.1) and replaced the old agent folder. After restarting I ran a new test with default script. I received following error: "Stop By Error SCRIPT_ERROR" There was no error found while validating the script. The test report page did not have any log and only had the following text: "Logs Getting log data form agent, please wait and refresh again; or there is no log because of agent error." Thanks Vij |
Administrator
|
I need followings. - Could you try with duration not Run Count based? - Please send me the logs appearing right down side of report panel.
- Please send the validation panel output in the script editor.
JunHo Yoon Global Platform Development Lab / Senior Engineer 13th FL., Bundang First Tower, 266-1, Seohyeon-dong, Bundang-gu, Seongnam-si, Gyeonggi-do, 463-824, KOREA Tel 031-600-9071 Fax -- Mobile 010-6255-0559 Email [hidden email]
-----Original Message----- If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/Runtime-errors-in-nGrinder-3-1-tp181p183.html
To start a new topic under ngrinder-user-en, email [hidden email]
To unsubscribe from ngrinder-user-en, click here. NAML |
Hi
1. I ran performance test with following test configuration: a. Agent = 1 b. Vuser per agent = 1 c. Duration = 2mins 2. The test stopped before finishing the run duration. The test report did not have any log. Attached image: logs.JPG 3. I attached the validation panel output: validationPanelOutput.txt Thanks |
Administrator
|
You may not run agent with NGRINDER_AGENT_HOME env variable. NGRINDER_HOME as well for controller. Please check.
JunHo Yoon Global Platform Development Lab / Senior Engineer 13th FL., Bundang First Tower, 266-1, Seohyeon-dong, Bundang-gu, Seongnam-si, Gyeonggi-do, 463-824, KOREA Tel 031-600-9071 Fax -- Mobile 010-6255-0559 Email [hidden email]
-----Original Message----- If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/Runtime-errors-in-nGrinder-3-1-tp181p185.html
To start a new topic under ngrinder-user-en, email [hidden email]
To unsubscribe from ngrinder-user-en, click here. NAML |
Hi JunHo
I reinstalled the controller 3.1, agent 3.1 and tomcat 6.0.36 files. Made sure there are no spaces in the file path. I followed the steps as per the following installation guide link and the steps you mentioned earlier, http://www.cubrid.org/wiki_ngrinder/entry/installation-guide The env var settings are the same and made sure that correct paths are provided (for CATALINA_HOME, JAVA_HOME, NGRINDER_AGENT_HOME, NGRINDER_HOME). Restarted the system and ran a test on a default script for duration of 1minute. But, I am still not able to complete the test and I receive the same error message: "Stop By Error SCRIPT_ERROR" There was no validation error and no log file was created in the test report. Thanks Vij |
Administrator
|
Dear Viji.
I'm suspecting your HW is running out of memory? What's you memory size? after running Controller and Agent, What's the remained memory size?
JunHo Yoon Global Platform Development Lab / Senior Engineer 13th FL., Bundang First Tower, 266-1, Seohyeon-dong, Bundang-gu, Seongnam-si, Gyeonggi-do, 463-824, KOREA Tel 031-600-9071 Fax -- Mobile 010-6255-0559 Email [hidden email]
-----Original Message----- If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/Runtime-errors-in-nGrinder-3-1-tp181p187.html
To start a new topic under ngrinder-user-en, email [hidden email]
To unsubscribe from ngrinder-user-en, click here. NAML |
Administrator
|
In reply to this post by viji1188
nGrinder 3.1 agent needs at least 400m per agent to run the agent processes. It's to reduce gabage collection.
JunHo Yoon Global Platform Development Lab / Senior Engineer 13th FL., Bundang First Tower, 266-1, Seohyeon-dong, Bundang-gu, Seongnam-si, Gyeonggi-do, 463-824, KOREA Tel 031-600-9071 Fax -- Mobile 010-6255-0559 Email [hidden email]
-----Original Message----- Dear Viji.
I'm suspecting your HW is running out of memory? What's you memory size? after running Controller and Agent, What's the remained memory size?
JunHo Yoon Global Platform Development Lab / Senior Engineer 13th FL., Bundang First Tower, 266-1, Seohyeon-dong, Bundang-gu, Seongnam-si, Gyeonggi-do, 463-824, KOREA Tel 031-600-9071 Fax -- Mobile 010-6255-0559 Email [hidden email]
-----Original Message----- If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/Runtime-errors-in-nGrinder-3-1-tp181p187.html
To start a new topic under ngrinder-user-en, email [hidden email]
To unsubscribe from ngrinder-user-en, click here. NAML |
Administrator
|
In reply to this post by viji1188
One more stuff you should check is.. that
You correctly set up the JDK in the head of PATH. nGrinder 3.1 uses "-server" mode to stabilize the agent performance. If you mistakenly point JRE instead of JDK, the agent test processes will crash at the test execution. please type "SET" in the command line and check the PATH entry there. If you don't know how to interpret this, Please send it. |
Hi JunHo,
1. Even after running agent and controller, I have enough memory left. 2. The Java_Home is also pointing to JDK through right path: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_10 But I still receive error while running the performance test. Thanks, Vij |
Administrator
|
Dear vjjji
What I told you is PATH not JAVA_HOME. Could you share followings for better reproduction? After you run the test..
- ${NGRINDER_HOME}/logs/ngrinder.log - ngrinder agent log in the screen. - type "set" in the command line and send the result. - exact free memory size when you run controller and agent (not executing test)
Or... you can try the nGrinder 3.1.1 which is unveiled yet in public. You can download followings.
https://www.dropbox.com/s/al1ltlkxlzpjnin/ngrinder-controller-3.1.1.war https://www.dropbox.com/s/8euw3ra6awm6abo/ngrinder-core-3.1.1-agent-package.zip
Please following the instruction. - when you update the previous version, please delete previous versions first and locate these. - Backup ${NGRINDER_HOME}/db and ${NGRINDER_HOME}/perftest folder (You can restore to previous version just replace them into previuos one.)
Regards.
-----Original Message----- If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/Runtime-errors-in-nGrinder-3-1-tp181p195.html
To start a new topic under ngrinder-user-en, email [hidden email]
To unsubscribe from ngrinder-user-en, click here. NAML |
Hi JunHo,
I updgraded nGrinder to version 3.1.1 as per the instructions and path (for setup file) you mentioned earlier. I still face the same problem. 1. I have attached the NGRINDER_HOME (controller_home) log file. ngrinder.log 2. There is no agent log on the screen: "Getting log data form agent, please wait and refresh again; or there is no log because of agent error." But I still have attached the agent log file from NGRINDER_AGENT_HOME folder. agent.log 3. All the env variables (by typing "set" on cmd line) are as follows: C:\Documents and Settings\VijethaK>set ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\VijethaK\Application Data CATALINA_HOME=C:\ngrinder\controller CLIENTNAME=Console CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=KAI-DT34 ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Documents and Settings\VijethaK IS_NITRO_DIR=C:\Program Files\INTELLIGENT SYSTEMS\IS-NITRO-DEBUGGER\ JAVA_HOME=C:\Program Files\Java\jdk1.7.0_10 LOGONSERVER=\\KAI-ADS NGRINDER_AGENT_HOME=C:\ngrinder\agent_home NGRINDER_HOME=C:\ngrinder\controller_home NUMBER_OF_PROCESSORS=2 OS=Windows_NT Path=C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst em32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\ Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\D TS\Binn\;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files\Java\jdk 1.7.0_10\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=1706 ProgramFiles=C:\Program Files PROMPT=$P$G SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS 4. Physical memory: Total: 2061224K Available: 493852K 5. Validation panel for the script had following result: 2013-01-30 14:58:40,656 INFO The Grinder version 3.9.1 2013-01-30 14:58:40,656 INFO Java(TM) SE Runtime Environment 1.7.0_10-b18: Java HotSpot(TM) Server VM (23.6-b04, mixed mode) on Windows XP x86 5.1 2013-01-30 14:58:40,656 INFO time zone is IST (+0530) 2013-01-30 14:58:40,781 INFO worker process 0 2013-01-30 14:58:41,000 INFO instrumentation agents: byte code transforming instrumenter for Jython 2.5; byte code transforming instrumenter for Java 2013-01-30 14:58:46,000 INFO registered plug-in net.grinder.plugin.http.HTTPPlugin 2013-01-30 14:58:46,078 INFO running "General.py" using Jython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:54:35) [Java HotSpot(TM) Server VM (Oracle Corporation)] 2013-01-30 14:58:46,093 INFO starting, will do 1 run 2013-01-30 14:58:46,093 INFO start time is 1359538126102 ms since Epoch 2013-01-30 14:58:48,109 INFO http://www.jumpstart.com/ -> 200 OK, 46988 bytes 2013-01-30 14:58:48,125 INFO vij Hello World 2013-01-30 14:58:48,125 INFO finished 1 run 2013-01-30 14:58:48,125 INFO elapsed time is 2026 ms 2013-01-30 14:58:48,125 INFO Final statistics for this process: 2013-01-30 14:58:48,125 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 1 0 2008.00 0.00 0.49 46988.00 23192.50 0 0.00 247.00 1995.00 "Test1" Totals 1 0 2008.00 0.00 0.49 46988.00 23192.50 0 0.00 247.00 1995.00 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. 2013-01-30 14:58:46,078 INFO validation-0: starting threads 2013-01-30 14:58:48,125 INFO validation-0: finished Thanks Vij |
Administrator
|
I think I found the problem you have.
Your library path.. is... 2013-01-30 14:49:14,390 INFO org.ngrinder.NGrinderStarter : java.library.path : C:\WINDOWS\system32;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files\Java\jdk1.7.0_10\;.;C:\ngrinder\agent\.\native_lib Your path is.... Path=C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst em32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\ Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\D TS\Binn\;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files\Java\jdk 1.7.0_10\ Look this.. you have C:\WINDOWS\Sun\Java\bin; at the beginning of your library path and C:\Program Files\Java\jdk1.7.0_10\ in the path. You're thinking you run nGrinder with Java 1.7.0 .. but it doesn't seem like it. For example.. C:\Program Files\Java\jdk\1.7.0_10\ does not have any java.exe file.. C:\Program Files\Java\jdk\1.7.0_10\bin has java.exe.. Which means when you run the agent... it used the different java. (Maybe you're running JRE not JDK) Please locate C:\Program Files\Java\jdk1.7.0_10\bin in the head of PATH please. And run the agent again. |
Free forum by Nabble | Edit this page |