Merge branch 'v1.5' into master

This commit is contained in:
Captain.B 2020-11-25 19:25:49 +08:00
commit 7184d551f6
1 changed files with 3 additions and 1 deletions

View File

@ -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;