添加rps参数

This commit is contained in:
haifeng414 2020-02-20 21:03:02 +08:00
parent b6e24a9644
commit f95b8420c8
1 changed files with 14 additions and 1 deletions

View File

@ -44,6 +44,17 @@
</el-input> </el-input>
<span>次增加并发用户</span> <span>次增加并发用户</span>
</div> </div>
<div class="small-input">
<span>RPS上限</span>
<el-input
type="number"
placeholder="请输入限制"
v-model="rpsLimit"
@click="convertProperty"
show-word-limit
>
</el-input>
</div>
</el-row> </el-row>
</div> </div>
</template> </template>
@ -58,6 +69,7 @@
duration: 3, duration: 3,
rampUpTime: 12, rampUpTime: 12,
step: 2, step: 2,
rpsLimit: 10,
} }
}, },
created() { created() {
@ -71,7 +83,8 @@
{key: "TargetLevel", value: this.threadNumber}, {key: "TargetLevel", value: this.threadNumber},
{key: "RampUp", value: this.rampUpTime}, {key: "RampUp", value: this.rampUpTime},
{key: "Steps", value: this.step}, {key: "Steps", value: this.step},
{key: "Hold", value: this.duration} {key: "duration", value: this.duration},
{key: "rpsLimit", value: this.rpsLimit}
]; ];
} }
} }