From 1f1c1a7d0cbe721f5938e2c22ac759eb263ece2b Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 14 Jul 2022 11:20:13 +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=E7=94=9F=E6=88=90JMX=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=8F=90=E5=8F=96=E6=AD=A5=E9=AA=A4=E9=BB=98=E8=AE=A4=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E5=A4=9A=E6=9D=A1=E8=A2=AB=E5=8B=BE=E9=80=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1014849 --user=赵勇 【接口测试】github#15751,场景导出JMX或者转成性能测试后,提取默认勾选上了 “匹配多条” https://www.tapd.cn/55049933/s/1201389 --- .../api/dto/definition/request/extract/MsExtract.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/dto/definition/request/extract/MsExtract.java b/backend/src/main/java/io/metersphere/api/dto/definition/request/extract/MsExtract.java index 98471ab444..d88eed1ab7 100644 --- a/backend/src/main/java/io/metersphere/api/dto/definition/request/extract/MsExtract.java +++ b/backend/src/main/java/io/metersphere/api/dto/definition/request/extract/MsExtract.java @@ -165,7 +165,7 @@ public class MsExtract extends MsTestElement { extractor.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass("JSONPostProcessorGui")); extractor.setRefNames(extractJSONPath.getVariable()); extractor.setJsonPathExpressions(extractJSONPath.getExpression()); - extractor.setComputeConcatenation(true); + extractor.setComputeConcatenation(extractJSONPath.isMultipleMatching()); if (extractJSONPath.isMultipleMatching()) { extractor.setMatchNumbers("-1"); }