diff --git a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue index 6ef4fc1ef0..ee9ebb5d74 100644 --- a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue +++ b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue @@ -1,16 +1,25 @@ - - - - - - - - + + + + + + + {{ threadGroup.attributes.testname }} + + + {{ $t('load_test.thread_num') }}{{ threadGroup.threadNumber }}, + {{ $t('load_test.duration') }}: {{ threadGroup.duration }} {{ getUnitLabel(threadGroup) }} + + + {{ $t('load_test.thread_num') }} {{ threadGroup.threadNumber }}, + {{ $t('load_test.iterate_num') }} {{ threadGroup.iterateNum }} + + @@ -51,7 +60,7 @@ @@ -63,7 +72,7 @@ :min="1" :max="threadGroup.duration" v-model="threadGroup.rampUpTime" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> @@ -72,7 +81,7 @@ :min="1" :max="Math.min(threadGroup.threadNumber, threadGroup.rampUpTime)" v-model="threadGroup.step" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> @@ -96,7 +105,7 @@ :disabled="true" v-model="threadGroup.iterateNum" :min="1" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> @@ -106,7 +115,7 @@ @@ -116,19 +125,18 @@ :disabled="true" :min="1" v-model="threadGroup.iterateRampUp" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> - - - {{ $t('load_test.pressure_prediction_chart') }} - - - - + + + + + + @@ -240,8 +248,7 @@ export default { break; } }); - this.calculateChart(this.threadGroups[i]); - + this.calculateTotalChart(this.threadGroups[i]); } }, getLoadConfig() { diff --git a/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue b/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue index ee4f21d433..7b4db96d6f 100644 --- a/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue +++ b/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue @@ -14,21 +14,33 @@ - - - - + + + + + + {{ threadGroup.attributes.testname }} + + + {{ $t('load_test.thread_num') }}{{ threadGroup.threadNumber }}, + {{ $t('load_test.duration') }}: {{ threadGroup.duration }} {{ getUnitLabel(threadGroup) }} + + + {{ $t('load_test.thread_num') }} {{ threadGroup.threadNumber }}, + {{$t('load_test.iterate_num')}} {{threadGroup.iterateNum}} + + @@ -47,7 +59,7 @@ v-model="threadGroup.duration" :min="1" :max="9999" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> @@ -64,7 +76,7 @@ @@ -77,7 +89,7 @@ :min="1" :max="threadGroup.duration" v-model="threadGroup.rampUpTime" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> @@ -86,7 +98,7 @@ :min="1" :max="Math.min(threadGroup.threadNumber, threadGroup.rampUpTime)" v-model="threadGroup.step" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> @@ -98,7 +110,7 @@ :disabled="isReadOnly" :min="1" v-model="threadGroup.rampUpTime" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> @@ -112,7 +124,7 @@ v-model="threadGroup.iterateNum" :min="1" :max="9999999" - @change="calculateChart(threadGroup)" + @change="calculateTotalChart(threadGroup)" size="mini"/> @@ -137,13 +149,12 @@ - - - {{ $t('load_test.pressure_prediction_chart') }} - - - - + + + + + + @@ -303,8 +314,6 @@ export default { this.$set(this.threadGroups[i], "enabled", this.threadGroups[i].enabled || 'true'); this.$set(this.threadGroups[i], "deleted", this.threadGroups[i].deleted || 'false'); }) - this.calculateChart(this.threadGroups[i]); - } this.calculateTotalChart(); }