What does rampUsersPerSec function really do?

扶醉桌前 提交于 2019-12-24 01:26:17

问题


I find Gatling documentation a bit unclear about a specific function: rampUsersPerSec.

Injects a random number of users per second over a given duration (rate1) to (rate2) during(dur unit)

Injects users from starting rate1 to target rate2, defined in users per second, during a given duration. Eg : rampUsersPerSec(10) to(20) during(10 minutes)

For instance, with rampUsersPerSec(1) to 100 during 10, I may have 41 more users on second 1, then 99 more users on second 2, then 8 more users on second 3, etc.?

Thanks in advance.


回答1:


rampUsersPerSec is virtual user injection scheme in an open workload model: you define the arrival rate of new virtual users. Number of concurrent users inside the system is a consequence of the simulation scenario and service response times.



来源:https://stackoverflow.com/questions/51739593/what-does-rampuserspersec-function-really-do

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!