验证脚本报错 " 变成"

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

验证脚本报错 " 变成"

小虎
net.grinder.engine.common.EngineException: Error while initialize test runner
        at net.grinder.scriptengine.groovy.GroovyScriptEngine.<init>(GroovyScriptEngine.java:71) ~[ngrinder-groovy-3.4.jar:na]
        at net.grinder.scriptengine.groovy.GroovyScriptEngineService.createScriptEngine(GroovyScriptEngineService.java:109) ~[ngrinder-groovy-3.4.jar:na]
        at net.grinder.engine.process.ScriptEngineContainer.getScriptEngine(ScriptEngineContainer.java:105) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:330) ~[ngrinder-runtime-3.4.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
${NGRINDER_HOME}\script\admin\getUserIdCardInfo.groovy: 46: unexpected token: & @ line 46, column 23.
    test = new GTest(1, "getUserCardInfo")
                         ^
Reply | Threaded
Open this post in threaded view
|

Re: 验证脚本报错 " 变成&quot;

小虎
在线等...
Reply | Threaded
Open this post in threaded view
|

Re: 验证脚本报错 " 变成&quot;

veryyoung
脚本贴出来
Reply | Threaded
Open this post in threaded view
|

Re: 验证脚本报错 " 变成&quot;

veryyoung
In reply to this post by 小虎
引号用英文的吧
Reply | Threaded
Open this post in threaded view
|

Re: 验证脚本报错 " 变成&quot;

小虎
In reply to this post by veryyoung
知道怎么回事了,是3.4版本的一个bug,我用3.4.1就没有这个问题了
Reply | Threaded
Open this post in threaded view
|

Re: 验证脚本报错 " 变成&quot;

yu.zhai
我的3.4.1,也这样啊