fix(性能测试): 修复固定节点或自定义分配用户数时最大并发数不能限制的问题

--bug=1020219 --user=刘瑞斌 [性能测试]github#20103性能测试设置完资源池中压力机的最大并发数,压测执行时,分配策略选固定节点、自定义策略 没限制住单个压力机的最大并发数 https://www.tapd.cn/55049933/s/1309593

Closes #20103
This commit is contained in:
CaptainB 2022-12-01 18:34:25 +08:00 committed by 刘瑞斌
parent cfd7cc6348
commit 1969f0dfdf
1 changed files with 4 additions and 0 deletions

View File

@ -720,6 +720,10 @@ export default {
} }
} }
if (tg.strategy === "specify") {
this.specifyNodeChange(tg);
}
if (!tg.threadNumber || !tg.duration if (!tg.threadNumber || !tg.duration
|| !tg.rampUpTime || !tg.step || !tg.iterateNum) { || !tg.rampUpTime || !tg.step || !tg.iterateNum) {
this.$warning(this.$t('load_test.pressure_config_params_is_empty')); this.$warning(this.$t('load_test.pressure_config_params_is_empty'));