diff --git a/frontend/src/business/components/performance/test/EditPerformanceTest.vue b/frontend/src/business/components/performance/test/EditPerformanceTest.vue index 978b3595b3..c2ac2220b0 100644 --- a/frontend/src/business/components/performance/test/EditPerformanceTest.vue +++ b/frontend/src/business/components/performance/test/EditPerformanceTest.vue @@ -463,8 +463,14 @@ export default { return true; }, durationValidate(intervalTime) { - let duration = this.$refs.pressureConfig.duration * 60 * 1000; - if (intervalTime < duration) { + let duration = 0; + this.$refs.pressureConfig.threadGroups.forEach(tg => { + let d = this.$refs.pressureConfig.getDuration(tg); + if (duration < d) { + duration = d; + } + }); + if (intervalTime < duration * 1000) { return { pass: false, info: this.$t('load_test.schedule_tip') diff --git a/frontend/src/business/components/performance/test/PerformanceTestList.vue b/frontend/src/business/components/performance/test/PerformanceTestList.vue index cbd0f33c26..485e262fbf 100644 --- a/frontend/src/business/components/performance/test/PerformanceTestList.vue +++ b/frontend/src/business/components/performance/test/PerformanceTestList.vue @@ -33,18 +33,9 @@ - - + width="100"> {{ scope.row.name }} + + +