diff --git a/backend/src/main/java/io/metersphere/api/parse/JmeterDocumentParser.java b/backend/src/main/java/io/metersphere/api/parse/JmeterDocumentParser.java index efa1771c8c..15b6f198bf 100644 --- a/backend/src/main/java/io/metersphere/api/parse/JmeterDocumentParser.java +++ b/backend/src/main/java/io/metersphere/api/parse/JmeterDocumentParser.java @@ -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;