Jmeter4.0+版本If Controller使用

最近需要混合压测, 需要按比例混压多个接口, 需要使用if controller, 直接写比较的函式就是不通, 关于if controller的使用, 网上找了一些资料, 发现在jmeter4.0+版本上面都不行, 只怪不喜欢看英文, 没仔细看提示, 见截图所示:

现在使用函数 __jexl3或者__groovy, 官网的文档也有介绍: http://jmeter.apache.org/usermanual/component_reference.html#If_Controller

正确的使用方法如下:

原文地址:https://www.cnblogs.com/andrew209/p/9864874.html