|
安装时选择的JDK为1.7
本机JAVA_HOME配置的为JDK1.8
Jython版本为2.5.4rc1
执行GET www.baidu.com提示错误:exceptions.SyntaxError
2016-08-15 15:42:24,820 ERROR Aborting process - Jython exception: <type 'exceptions.SyntaxError'>: ("mismatched input '&' expecting RPAREN", ('C:\\Users\\WeLab\\.ngrinder\\script\\admin\\session.py', 22, 16, 'test1 = Test(1, "www.baidu.com")\n')) [initialising test script]
net.grinder.scriptengine.jython.JythonScriptExecutionException: <type 'exceptions.SyntaxError'>: ("mismatched input '&' expecting RPAREN", ('C:\\Users\\WeLab\\.ngrinder\\script\\admin\\session.py', 22, 16, 'test1 = Test(1, "www.baidu.com")\n'))
2016-08-15 15:42:24,821 ERROR validation-0: aborting process - Jython exception: <type 'exceptions.SyntaxError'>: ("mismatched input '&' expecting RPAREN", ('C:\\Users\\WeLab\\.ngrinder\\script\\admin\\session.py', 22, 16, 'test1 = Test(1, "www.baidu.com")\n')) [initialising test script]
net.grinder.scriptengine.jython.JythonScriptExecutionException: <type 'exceptions.SyntaxError'>: ("mismatched input '&' expecting RPAREN", ('C:\\Users\\WeLab\\.ngrinder\\script\\admin\\session.py', 22, 16, 'test1 = Test(1, "www.baidu.com")\n'))
|