fix(性能测试): 使用本地计算的时候禁用jmx里的backend listener
This commit is contained in:
parent
5bf3a8272c
commit
7631cf31b5
|
@ -558,6 +558,8 @@ public class JmeterDocumentParser implements EngineSourceParser {
|
|||
String resourcePoolId = context.getResourcePoolId();
|
||||
TestResourcePool resourcePool = CommonBeanFactory.getBean(TestResourcePoolService.class).getResourcePool(resourcePoolId);
|
||||
if (!BooleanUtils.toBoolean(resourcePool.getBackendListener())) {
|
||||
// 禁用现有的backend listener
|
||||
backendListener.addAttribute("enabled", "false");
|
||||
return;
|
||||
}
|
||||
KafkaProperties kafkaProperties = CommonBeanFactory.getBean(KafkaProperties.class);
|
||||
|
|
Loading…
Reference in New Issue