JMeter BeanShellSampler的Parameters之应用
疑问:
BeanShellSampler页面中的Parameters到底有啥用,怎么应用它?一直困惑着我。
实践验证:
1、测试计划中的variables变量,在BeanShellSampler中直接被运用,也可以通过BeanShellSampler中的Parameters来获取变量后,再运用

执行的结果为:

故parameters 是个桥梁,可以将初始化的值,放到一个数组中,在BeanShellSampler的脚本中使用

浙公网安备 33010602011771号