From ba6e5c0434030a71e188d9db68056128b8e3849e Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 24 Nov 2021 18:45:47 +0800 Subject: [PATCH] =?UTF-8?q?fix=20(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E6=8F=90=E5=8F=96=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=8F=98=E9=87=8F=5FALL=E7=9A=84=E5=86=99?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1008331 --user=赵勇 【github#7849】Json 提取出数组,用${XX_ALL} 无法引用 https://www.tapd.cn/55049933/s/1074634 --- .../api/dto/definition/request/extract/MsExtract.java | 1 + 1 file changed, 1 insertion(+) 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 1cfd86c207..3eca2e7a45 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 @@ -125,6 +125,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); if (extractJSONPath.isMultipleMatching()) { extractor.setMatchNumbers("-1"); }