fix: 修复接口测试处理参数转义的问题
This commit is contained in:
parent
e440d36ead
commit
3843f0b420
|
@ -161,7 +161,9 @@ public class JmeterDocumentParser {
|
||||||
break;
|
break;
|
||||||
case "Argument.value":
|
case "Argument.value":
|
||||||
String textContent = ele.getTextContent();
|
String textContent = ele.getTextContent();
|
||||||
ele.setTextContent(ScriptEngineUtils.calculate(textContent));
|
if (StringUtils.startsWith(textContent, "@")) {
|
||||||
|
ele.setTextContent(ScriptEngineUtils.calculate(textContent));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue