我是靠谱客的博主 聪明雪糕,这篇文章主要介绍JMeter BeanShellSampler 报错Error invoking bsh method: eval Sourced file: inline evaluation of,现在分享给大家,希望可以做个参考。
问题:
使用Jmeter BeanShellSampler导入java class文件后,运行,报如下错误
解决问题
1、如下为java源文件和class文件所在的位置
2、BeanShellSampler采取器的配置信息如下
3、经过各种查询得知,addClassPath 目录不能包含类的包名,修改addClassPath的值后再次运行,正常。
最后
以上就是聪明雪糕最近收集整理的关于JMeter BeanShellSampler 报错Error invoking bsh method: eval Sourced file: inline evaluation of的全部内容,更多相关JMeter内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复