jmeter BeanShell预处理程序:报错JSONObject not found in namespace

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,即可

相关推荐
学无止境w11 小时前
高并发系统性能测试:JMeter_Gatling 压测实战,测试场景设计与结果分析
jmeter
测试199820 小时前
Jmeter是如何实现接口关联的?
自动化测试·软件测试·python·测试工具·jmeter·职场和发展·接口测试
CesareCheung2 天前
QPS、TPS、RPS 详解
jmeter
qq_4924484463 天前
Jmeter跨线程组获取参数
jmeter
tq023 天前
Jmeter接口的负载测试概念
jmeter
张永清-老清4 天前
每周读书与学习->初识JMeter 元件(五)
学习·jmeter·性能调优·jmeter性能测试·性能分析·干货分享·每周读书与学习
低音钢琴4 天前
【从零开始构建性能测试体系-02】 Apache JMeter 取样器指南:从入门到精通
学习·jmeter·apache
向测开进阶4 天前
jmeter使用之--MD5加密
jmeter
qq_4924484464 天前
Jmeter设置负载阶梯式压测场景(详解教程)
开发语言·python·jmeter
卷子的笔记~4 天前
jmeter中使用正则表达式提取器传递参数
jmeter