fix (接口测试): 修复提取参数支持变量_ALL的写法
--bug=1008331 --user=赵勇 【github#7849】Json 提取出数组,用${XX_ALL} 无法引用 https://www.tapd.cn/55049933/s/1074634
This commit is contained in:
parent
4e80e2485f
commit
ba6e5c0434
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue