Re: Script error in performance test
Posted by junoyoon on Dec 31, 2012; 2:41am
URL: http://ngrinder.373.s1.nabble.com/Script-error-in-performance-test-tp90p103.html
I'm describing the more detailed guide.
Several stuffs seems to be affected..
At first your .ngrinder and .ngrinder_agent folder which save the data should be located in the space-less path. However ngrinder create the them in the your account folder (which already has space)
In such a case, you should set the env var for them.
Please set env var in the following ways in advance. (Please don't forget to create c:\ngrinder folder in advance)
- NGRINDER_AGENT_HOME=c:\ngrinder\agent_home
- NGRINDER_HOME=c:\ngrinder\controller_home
- CATALINA_HOME=c:\ngrinder\controller
Then locate the tomcat in the following folder.
- c:\ngrinder\controller
Then place the ngrinder.war in the following folder
- c:\ngrinder\controller\webapps
If you're running agent in the same machine you should locate the agent in the folder
- c:\ngrinder\agent
Then start agent and controllers by running
- c:\ngrinder\agent\run_agent.bat and c:\ngrinder\controller\bin\startup.bat respectively.
If you're running Tomcat as Windows Service, you should set the env var in the system env var not user env var.
Tomcat running as Windows Service is only affected by the system env var. You may need restart the Windows to be system env var is affected.