From cf56c752c17611b8279ea98ffe1d6d8e2d72823e Mon Sep 17 00:00:00 2001 From: CaptainB Date: Sat, 12 Feb 2022 12:51:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95=E8=BE=93?= =?UTF-8?q?=E5=87=BAjmx=E6=97=B6=E8=87=AA=E5=AE=9A=E4=B9=89=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E4=BD=8D=E7=BD=AE=E4=B8=8D=E5=AF=B9=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010212 --user=刘瑞斌 【接口测试】github#10431,在性能测试中添加自定义参数后执行,检查结果报错 https://www.tapd.cn/55049933/s/1103322 Closes #10431 --- .../performance/parse/xml/reader/JmeterDocumentParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");