fix: 修复接口测试处理参数转义的问题

This commit is contained in:
Captain.B 2020-11-25 19:21:07 +08:00
parent e440d36ead
commit 3843f0b420

View File

@ -161,7 +161,9 @@ public class JmeterDocumentParser {
break;
case "Argument.value":
String textContent = ele.getTextContent();
ele.setTextContent(ScriptEngineUtils.calculate(textContent));
if (StringUtils.startsWith(textContent, "@")) {
ele.setTextContent(ScriptEngineUtils.calculate(textContent));
}
break;
default:
break;