fix(接口测试): 脚本步骤添加断言不生效

This commit is contained in:
AgAngle 2024-08-12 15:58:08 +08:00 committed by jianxing
parent 9ecf6f939d
commit c1e69eeb3e
1 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,8 @@ public class MsScriptElementConverter extends AbstractJmeterElementConverter<MsS
Optional.ofNullable(ScriptProcessorConverter.getScriptArguments(scriptProcessor)) Optional.ofNullable(ScriptProcessorConverter.getScriptArguments(scriptProcessor))
.ifPresent(hashTree::add); .ifPresent(hashTree::add);
hashTree.add(scriptElement); HashTree scriptTree = hashTree.add(scriptElement);
parseChild(scriptTree, msScriptElement, config);
} }
} }