diff --git a/backend/src/main/java/io/metersphere/api/dto/scenario/Scenario.java b/backend/src/main/java/io/metersphere/api/dto/scenario/Scenario.java index 654689f7ff..e2c8ac1e50 100644 --- a/backend/src/main/java/io/metersphere/api/dto/scenario/Scenario.java +++ b/backend/src/main/java/io/metersphere/api/dto/scenario/Scenario.java @@ -15,4 +15,5 @@ public class Scenario { private List headers; private List requests; private DubboConfig dubboConfig; + private Boolean enable; } diff --git a/backend/src/main/java/io/metersphere/api/dto/scenario/request/DubboRequest.java b/backend/src/main/java/io/metersphere/api/dto/scenario/request/DubboRequest.java index c8202d07b6..33bdc7c3be 100644 --- a/backend/src/main/java/io/metersphere/api/dto/scenario/request/DubboRequest.java +++ b/backend/src/main/java/io/metersphere/api/dto/scenario/request/DubboRequest.java @@ -49,4 +49,6 @@ public class DubboRequest implements Request { private BeanShellPreProcessor beanShellPreProcessor; @JSONField(ordinal = 13) private BeanShellPostProcessor beanShellPostProcessor; + @JSONField(ordinal = 14) + private Boolean enable; } diff --git a/backend/src/main/java/io/metersphere/api/dto/scenario/request/HttpRequest.java b/backend/src/main/java/io/metersphere/api/dto/scenario/request/HttpRequest.java index efe616f29f..c5cfac764d 100644 --- a/backend/src/main/java/io/metersphere/api/dto/scenario/request/HttpRequest.java +++ b/backend/src/main/java/io/metersphere/api/dto/scenario/request/HttpRequest.java @@ -41,4 +41,6 @@ public class HttpRequest implements Request { private BeanShellPreProcessor beanShellPreProcessor; @JSONField(ordinal = 12) private BeanShellPostProcessor beanShellPostProcessor; + @JSONField(ordinal = 13) + private Boolean enable; } diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml index 0a12287a65..17cbd5dfd5 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml @@ -115,7 +115,7 @@