51Testing软件测试论坛
标题:
Day5-5测试积点任务
[打印本页]
作者:
测试积点老人
时间:
2018-7-26 10:12
标题:
Day5-5测试积点任务
问题:
beanshell代码
String id=vars.get("pfid");
String ack=vars.get("access_token");
// vars.get("access_token")
vars.put("access_token",ack);
vars.put("pfid", id);
props.put("access_token",ack);
props.put("pfid", id));
复制代码
[attach]117605[/attach]
报错内容
ERROR o.a.j.u.BeanShellInterpreter: Error invoking bsh method: eval Sourced file: inline evaluation of: ``String id=vars.get("pfid"); String ack=vars.get("access_token"); // vars.get("ac . . . '' : Method Invocation props.put
WARN o.a.j.e.BeanShellPostProcessor: Problem in BeanShell script: org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval Sourced file: inline evaluation of: ``String id=vars.get("pfid"); String ack=vars.get("access_token"); // vars.get("ac . . . '' : Method Invocation props.put
ERROR o.a.j.u.BeanShellInterpreter: Error invoking bsh method: eval In file: inline evaluation of: ``String id=vars.get("pfid"); String ack=vars.get("access_token"); // vars.get("ac . . . '' Encountered ")" at line 9, column 22.
复制代码
作者:
qqq911
时间:
2018-7-27 10:44
对应方法未找到
作者:
libingyu135
时间:
2018-7-27 11:02
调用bsh方法时出错
作者:
jingzizx
时间:
2018-7-27 13:19
包引用对了吗?
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2