refactor(性能测试): 处理jmx使用原始的方式删除dom
This commit is contained in:
parent
e63fd6b1e3
commit
2e86fdc46b
|
@ -1127,6 +1127,9 @@ public class JmeterDocumentParser implements EngineSourceParser {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void removeChildren(Element node) {
|
private void removeChildren(Element node) {
|
||||||
node.setText("");
|
List<Element> elements = node.elements();
|
||||||
|
for (Element ele : elements) {
|
||||||
|
node.remove(ele);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue