问题:

使用Jmeter BeanShellSampler导入java class文件后,运行,报如下错误

 

JMeter BeanShellSampler 报错Error invoking bsh method: eval	Sourced file: inline evaluation of

 

解决问题

1、如下为java源文件和class文件所在的位置

JMeter BeanShellSampler 报错Error invoking bsh method: eval	Sourced file: inline evaluation of

JMeter BeanShellSampler 报错Error invoking bsh method: eval	Sourced file: inline evaluation of

2、BeanShellSampler采取器的配置信息如下

JMeter BeanShellSampler 报错Error invoking bsh method: eval	Sourced file: inline evaluation of

3、经过各种查询得知,addClassPath 目录不能包含类的包名,修改addClassPath的值后再次运行,正常。

JMeter BeanShellSampler 报错Error invoking bsh method: eval	Sourced file: inline evaluation of

JMeter BeanShellSampler 报错Error invoking bsh method: eval	Sourced file: inline evaluation of

相关文章:

  • 2021-12-01
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2022-01-11
猜你喜欢
  • 2021-06-23
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
相关资源
相似解决方案