fix(性能测试): 不显示已经禁用的csvdataset
This commit is contained in:
parent
b616130a19
commit
0a56df37fc
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue