fix (接口测试): 修复提取参数支持变量_ALL的写法

--bug=1008331 --user=赵勇 【github#7849】Json 提取出数组,用${XX_ALL} 无法引用 https://www.tapd.cn/55049933/s/1074634
This commit is contained in:
fit2-zhao 2021-11-24 18:45:47 +08:00 committed by fit2-zhao
parent 4e80e2485f
commit ba6e5c0434
1 changed files with 1 additions and 0 deletions

View File

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