jmeter if controller

if the controller in two ways

1. uncheck "interpret condition as variable expression"

We need to direct input expression determination, it is determined the expression is true, the execution of the request if the controller

 

2.勾选“interpret condition as variable expression”

At this expression can not fill out the conditional expression, the function required by the condition expression evaluates to true / false, can make use of functions and has _jexl3 _groovy

Expression support:

== is equal, such as $ {__ jexl3 ($ {VAR } == 1,)}, is determined $ {VAR} variable is equal to 1
! = Not equal, such as $ {__ jexl3 ($ {VAR }! = 1,)} , it is determined whether the variable $ {VAR} is not equal to 1
! Non as $ {__ jexl3 (! ($ {VAR}! = 1),)} of $ {VAR}! = 1 results negated
&& and || and with or as $ {__ jexl3 ($ {VAR } = . 1 && $ {name =}! = "Heima",)}
> or> == or greater, such as $ {__ jexl3 ($ {count }> = 10,)}

Guess you like

Origin www.cnblogs.com/zddwork/p/11316177.html