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"); }