diff --git a/backend/src/main/java/io/metersphere/performance/parse/xml/reader/JmeterDocumentParser.java b/backend/src/main/java/io/metersphere/performance/parse/xml/reader/JmeterDocumentParser.java index 2a5c083996..27c0502310 100644 --- a/backend/src/main/java/io/metersphere/performance/parse/xml/reader/JmeterDocumentParser.java +++ b/backend/src/main/java/io/metersphere/performance/parse/xml/reader/JmeterDocumentParser.java @@ -393,7 +393,7 @@ public class JmeterDocumentParser implements EngineSourceParser { */ - Element element = ele.addElement(ARGUMENTS); + Element element = hashTree.addElement(ARGUMENTS); element.addAttribute("guiclass", "ArgumentsPanel"); element.addAttribute("testclass", "Arguments"); element.addAttribute("testname", "User Defined Variables");