From 6533c456236e3685d18698fb8469c12c54af0b5f Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 12 Apr 2024 13:17:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A2=AB=E7=A6=81=E7=94=A8=E7=9A=84=E6=96=AD?= =?UTF-8?q?=E8=A8=80=E8=BF=98=E5=8F=AF=E4=BB=A5=E6=89=A7=E8=A1=8C=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039000 --user=王孝刚 【接口测试】场景-创建场景-添加响应头断言多个,保存后再禁用所有断言不生效 https://www.tapd.cn/55049933/s/1495749 --- .../processor/assertion/ResponseHeaderAssertionConverter.java | 3 ++- .../jmeter/processor/assertion/VariableAssertionConverter.java | 3 ++- .../project/api/assertion/body/MsJSONPathAssertionItem.java | 3 ++- .../project/api/assertion/body/MsRegexAssertionItem.java | 2 +- .../project/api/assertion/body/MsXPathAssertionItem.java | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/processor/assertion/ResponseHeaderAssertionConverter.java b/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/processor/assertion/ResponseHeaderAssertionConverter.java index d847ca4251..57508e9425 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/processor/assertion/ResponseHeaderAssertionConverter.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/processor/assertion/ResponseHeaderAssertionConverter.java @@ -34,7 +34,8 @@ public class ResponseHeaderAssertionConverter extends AssertionConverter