diff --git a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue index 5b6475e955..57db4e43f3 100644 --- a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue +++ b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue @@ -48,11 +48,11 @@
+ :disabled="true" + v-model="threadGroup.duration" + :min="1" + @change="calculateTotalChart()" + size="mini"/> @@ -66,31 +66,31 @@   + :disabled="true" + v-model="threadGroup.rpsLimit" + @change="calculateTotalChart()" + :min="1" + size="mini"/>
+ :disabled="true" + :min="1" + :max="threadGroup.duration" + v-model="threadGroup.rampUpTime" + @change="calculateTotalChart()" + size="mini"/> + :disabled="true" + :min="1" + :max="Math.min(threadGroup.threadNumber, threadGroup.rampUpTime)" + v-model="threadGroup.step" + @change="calculateTotalChart()" + size="mini"/>
@@ -110,31 +110,31 @@
+ :disabled="true" + v-model="threadGroup.iterateNum" + :min="1" + @change="calculateTotalChart()" + size="mini"/>
  + :disabled="true || !threadGroup.rpsLimitEnable" + v-model="threadGroup.rpsLimit" + @change="calculateTotalChart()" + :min="1" + size="mini"/>
+ :disabled="true" + :min="1" + v-model="threadGroup.iterateRampUp" + @change="calculateTotalChart()" + size="mini"/>
@@ -256,7 +256,7 @@ export default { break; } }); - this.calculateTotalChart(this.threadGroups[i]); + this.calculateTotalChart(); } }, getLoadConfig() { @@ -340,7 +340,9 @@ export default { for (let i = 0; i < handler.threadGroups.length; i++) { - if (handler.threadGroups[i].enabled === 'false' || handler.threadGroups[i].deleted === 'true') { + if (handler.threadGroups[i].enabled === 'false' || + handler.threadGroups[i].deleted === 'true' || + handler.threadGroups[i].threadType === 'ITERATION') { continue; } let seriesData = {