diff --git a/frontend/src/business/components/performance/report/PerformanceTestReportList.vue b/frontend/src/business/components/performance/report/PerformanceTestReportList.vue index 17a011975a..b29d547279 100644 --- a/frontend/src/business/components/performance/report/PerformanceTestReportList.vue +++ b/frontend/src/business/components/performance/report/PerformanceTestReportList.vue @@ -193,11 +193,15 @@ export default { this.tableData.forEach(report => { if (report.status === 'Completed' && !report.maxUsers) { - this.result = this.$get('/performance/report/content/testoverview/' + report.id, response => { - this.$set(report, 'maxUsers', response.data.maxUsers); - this.$set(report, 'avgResponseTime', response.data.avgResponseTime); - this.$set(report, 'tps', response.data.avgTransactions); - }); + this.result = this.$get('/performance/report/content/testoverview/' + report.id) + .then(response => { + let data = response.data.data; + this.$set(report, 'maxUsers', data.maxUsers); + this.$set(report, 'avgResponseTime', data.avgResponseTime); + this.$set(report, 'tps', data.avgTransactions); + }) + .catch(() => { + }); } }); });