目录

1、使用场景

2、相关参数


  1、使用场景,用来处理请求前的准备工作,如参数设置、环境变量设置等。

  2、相关参数

BeanShell PreProcessor

参数项:参考BeanShell Timer

实例:上图BeanShell脚本,调用Java类BeanShellEg,然后建两个变量“userName”、“address”,然后用BeanShellEg来赋值。

           可在其他取样器中引用这两个变量,${userName}、${address}。

详细请参考:https://blog.csdn.net/lykangjia/article/details/79651040

相关文章:

  • 2022-12-23
  • 2021-10-27
  • 2021-10-19
  • 2021-10-09
  • 2021-06-05
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-16
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案