什么是jexl
以及为什么它比JavaScript
JMeter 执行得更快?
${__jexl3("${checkResponse}" != "")}
这段代码在 Jmeter 的 while 控制器中运行良好,而"${checkResponse}" != "" or "${checkResponse}" != "\${checkResponse}"
.
1836 次
1 回答
2
要查找差异,请参阅 Jexl 3 changes list,例如
添加了范围运算符 (x .. y)
__jexl2
JMeter 允许您通过调用或__jexl3
函数来选择任一版本
Jexl 有更多您可以使用的功能,例如:
Jexl 还可以创建类并在其上调用方法:
Systemclass = log.class.forName("java.lang.System");
now = Systemclass.currentTimeMillis();
于 2017-06-23T11:52:41.943 回答