fix(性能测试): --bug=1007710 --user=刘瑞斌 【性能测试】-创建性能测试-压力配置压测时间默认是空 https://www.tapd.cn/55049933/s/1063824
This commit is contained in:
parent
34785fa124
commit
3709c85f4c
|
@ -49,6 +49,9 @@ export default {
|
|||
threadGroups.forEach(tg => {
|
||||
tg.threadNumber = tg.threadNumber || 10;
|
||||
tg.duration = tg.duration || 10;
|
||||
tg.durationHours = Math.floor(tg.duration / 3600);
|
||||
tg.durationMinutes = Math.floor((tg.duration / 60 % 60));
|
||||
tg.durationSeconds = Math.floor((tg.duration % 60));
|
||||
tg.rampUpTime = tg.rampUpTime || 5;
|
||||
tg.step = tg.step || 5;
|
||||
tg.rpsLimit = tg.rpsLimit || 10;
|
||||
|
|
Loading…
Reference in New Issue