jmeter逻辑控制器之if控制器
jmeter逻辑控制器之if控制器
场景:参数dateUnit取值为
1、取值为DAY时执行baidu
2、取值为WEEK时执行sina.com
3、取值为MONTH时执行taobao.com
勾选Interpret Condition as Variable Expression:需借助__jexl3或__jgroovy函数,eg: KaTeX parse error: Expected group after '_' at position 2: {_̲_jexl3("{dateUnit}" == “DAY”,)}
不勾选Interpret Condition as Variable Expression: 可直接填入表达式,eg:“KaTeX parse error: Expected 'EOF', got '#' at position 233: …lor_FFFFFF,t_70#̲pic_center) ![在…{count} > 2