fix(接口测试): 修复导入jmx格式解析不准确问题
--bug=1012795 --user=赵勇 【接口测试】有一个场景批量执行-选择node资源池,不显示报告 https://www.tapd.cn/55049933/s/1150387
This commit is contained in:
parent
ecf03da28f
commit
0f0db0025a
|
@ -80,7 +80,7 @@ public class MsJmeterElement extends MsTestElement {
|
|||
// 取出导入的测试计划中变量
|
||||
if (scriptWrapper instanceof TestPlan) {
|
||||
TestPlan testPlan = (TestPlan) scriptWrapper;
|
||||
if (testPlan.getArguments() != null) {
|
||||
if (testPlan.getArguments() != null && StringUtils.isNotEmpty(testPlan.getArguments().getName())) {
|
||||
elementTree.add(testPlan.getArguments());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue