加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

如何在Jmeter中使用Bean Shell采样器?

发布时间:2020-12-16 01:28:47 所属栏目:安全 来源:网络整理
导读:我需要知道如何在Jmeter中使用bean shell脚本.例如:从文件夹读取文件的脚本. 我应该添加类路径到脚本吗?如果是这样,怎么添加? 这可以很容易地完成 – 它与编码 Java非常相似.这里有一些资源: http://jmeter.apache.org/usermanual/component_reference.h
我需要知道如何在Jmeter中使用bean shell脚本.例如:从文件夹读取文件的脚本.
我应该添加类路径到脚本吗?如果是这样,怎么添加?
这可以很容易地完成 – 它与编码 Java非常相似.这里有一些资源:

> http://jmeter.apache.org/usermanual/component_reference.html#BeanShell_Sampler
> http://jmeter.apache.org/usermanual/best-practices.html#bsh_scripting
> http://www.beanshell.org/manual/quickstart.html
> http://jmeter-kh.blogspot.com/2009/07/how-to-make-beanshell-work-in-jmeter.html
> http://jmeter.512774.n5.nabble.com/Help-Required-With-Bean-Shell-Sampler-td534426.html

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读