fix(性能测试): --bug=1007710 --user=刘瑞斌 【性能测试】-创建性能测试-压力配置压测时间默认是空 https://www.tapd.cn/55049933/s/1063824
This commit is contained in:
parent
cec4d32449
commit
52e4c2ffa8
|
@ -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