rampUsersPerSec函数的作用是什么? [英] What does rampUsersPerSec function really do?

查看:155
本文介绍了rampUsersPerSec函数的作用是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现加特林(Gatling)文档对特定功能rampUsersPerSec不太清楚.

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

在给定的时间内每秒注入随机数量的用户 (dur单位)期间从(rate1)到(rate2)

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

从起始速率1注入用户 在给定持续时间内定位到以用户每秒定义的rate2. 例如:在(10分钟)内将rampUsersPerSec(10)降至(20)

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)

例如,使用rampUsersPerSec(1) to 100 during 10,我可能在第二个1上再增加41个用户,然后在第二个2上再增加99个用户,然后在第二个3上又增加8个用户,等等?

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.?

谢谢.

推荐答案

rampUsersPerSec是开放工作负载模型中的虚拟用户注入方案:您定义新虚拟用户的到达率.系统内部并发用户数是模拟场景和服务响应时间的结果.

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.

这篇关于rampUsersPerSec函数的作用是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆