启动不了ngrinder-agent

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

启动不了ngrinder-agent

bill
2017-02-21 17:43:24,406 INFO  agent config: NGRINDER_AGENT_HOME : C:\Documents a
nd Settings\billxu\.ngrinder_agent
Exception in thread "main" org.ngrinder.common.exception.NGrinderRuntimeExceptio
n: nGrinder agent home directory "C:\Documents and Settings\billxu\.ngrinder_age
nt" should not contain space.Please set NGRINDER_AGENT_HOME env var in the diffe
rent location
        at org.ngrinder.common.util.ExceptionUtils.processException(ExceptionUti
ls.java:38)
        at org.ngrinder.infra.AgentHome.<init>(AgentHome.java:48)
        at org.ngrinder.infra.AgentConfig.resolveHome(AgentConfig.java:263)
        at org.ngrinder.infra.AgentConfig.init(AgentConfig.java:73)
        at org.ngrinder.NGrinderAgentStarter.createAgentConfig(NGrinderAgentStar
ter.java:75)
        at org.ngrinder.NGrinderAgentStarter.init(NGrinderAgentStarter.java:65)
        at org.ngrinder.NGrinderAgentStarter.main(NGrinderAgentStarter.java:205)

Press any key to continue . . .
Reply | Threaded
Open this post in threaded view
|

Re: 启动不了ngrinder-agent

waituntil
把路径中的所有空格都去掉,你的agent的路径中不能有空格
Reply | Threaded
Open this post in threaded view
|

Re: 启动不了ngrinder-agent

lianyadong
In reply to this post by bill
windows下执行脚本?命令中的路径用引号扩起来再执行试试