diff --git a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue index c883b85358..9ff0c1afcb 100644 --- a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue +++ b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue @@ -178,8 +178,11 @@ export default { }, methods: { calculateLoadConfiguration: function (data) { - for (let i = 0; i < data.length; i++) { + for (let i = 0; i < this.threadGroups.length; i++) { let d = data[i]; + if (!d) { + return; + } d.forEach(item => { switch (item.key) { case TARGET_LEVEL: @@ -225,7 +228,7 @@ export default { default: break; } - }) + }); this.calculateChart(this.threadGroups[i]); }