标签:
基本公式:
--------
English:
Total Transations = TPS * Vuser
==>
Vuser = Total Transations / TPS
=====================================
中文:
高峰时段的访问量 = Vuser数量 * 访问频率(由平均访问时长计算)
==>
Vuser数量 = 高峰时段的访问量 / 访问频率(由平均访问时长计算)
------------------------------------
说明:访问频率是平均访问时长的倒数
------------------------------------
比如:
Peak visit rate (visits/hour) : 20000
Average visit length (minutes/visit) : 3
计算 Virtual Users required ?
----------------------------------
访问频率 = 1 / (3 minutes/visit) = 1/3 visit/minutes = 20 visits/hour
Vuser = (20000 visits/hour ) / (20 visits/hour) = 1000
----------------------------------
参考:
http://www.webperformance.com/library/tutorials/CalculateNumberOfLoadtestUsers/
How many virtual users do I need? 计算需要的vuser
标签:
原文地址:http://www.cnblogs.com/shengs/p/4725049.html