若是你想查看更多 Jmeter 经常使用函数能够在这篇文章找找哦html
https://www.cnblogs.com/poloyy/p/13291704.htmdom
执行 BeanShell 脚本,并返回结果函数
${__BeanShell(123*456,name)}
字段 | 含义 | 是否必传 |
---|---|---|
BeanShell | BeanShell 脚本 | yes |
Variable Name | 存储脚本返回结果的变量名 | no |
${__BeanShell(vars.put("yytest"\,"${__Random(1000,5555)}"),)}
${__BeanShell(vars.get("yytest"),)}
${__BeanShell(props.put("yytest"\,"1234"),)}
${__BeanShell(props.get("yytest"),)}
BeanShell 能写啥,这里也能写啥,不过要记住这是简化版的 BeanShell,是为了方便而已,不是彻底可代替哦spa