1、jmeter运行报错:
ERROR o.a.j.u.BeanShellInterpreter: Error invoking bsh method: eval Sourced file: inline evaluation of: ". . . '' : Typed variable declaration : Class: JSONObject not found in namespace
WARN o.a.j.m.BeanShellPreProcessor: Problem in BeanShell script. org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval Sourced file: inline evaluation of: ". . . '' : Typed variable declaration : Class: JSONObject not found in namespace
2、下载json.jar包
到官网,搜索json,点击JSON In Java进入
3、选择最新日期、使用人数最多
4、点击bundle下载
5、下载完成之后,把jar包放到jmeter路径lib目录
6、重启运行jmeter,即可