fix(性能测试): 不显示已经禁用的csvdataset

This commit is contained in:
Captain.B 2021-07-14 14:38:23 +08:00 committed by 刘瑞斌
parent c6793630e1
commit f21bcacca1
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ export function findThreadGroup(jmxContent, handler) {
let csvFiles = []; let csvFiles = [];
relateFiles.forEach(f => { relateFiles.forEach(f => {
if (f.attributes.enabled === 'false') {
return;
}
f.elements.forEach(e => { f.elements.forEach(e => {
if (e.attributes.name === 'filename') { if (e.attributes.name === 'filename') {
let filename = e.elements[0].text; let filename = e.elements[0].text;