我想用不同的参数运行 apache ab test 更多次,这些参数将存储在一个数组中。例如。:
$array {10,50,100,500,1000}
for $i in $array
ab -A name:pass -n $i -c $i http://www.google.com/.... > file_$i.txt
虽然重要的是,要开始第 i 个测试,必须完成前一个测试。
我想用不同的参数运行 apache ab test 更多次,这些参数将存储在一个数组中。例如。:
$array {10,50,100,500,1000}
for $i in $array
ab -A name:pass -n $i -c $i http://www.google.com/.... > file_$i.txt
虽然重要的是,要开始第 i 个测试,必须完成前一个测试。