This commit is contained in:
yanweidong 2024-12-06 17:21:10 +08:00
parent 8ceee9659b
commit 0bbabb37ee
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import http from 'k6/http'; import http from 'k6/http';
export let options = { export let options = {
vus: 10, // 指定要同时运行的虚拟用户数量 vus: 100, // 指定要同时运行的虚拟用户数量
duration: '10s', // 指定测试运行的总持续时间 duration: '60s', // 指定测试运行的总持续时间
summaryTrendStats: ['avg', 'min', 'med', 'max', 'p(90)','p(95)', 'p(99)'] summaryTrendStats: ['avg', 'min', 'med', 'max', 'p(90)','p(95)', 'p(99)']
}; };
// default 默认函数 // default 默认函数