JMETER 中的随机加速时间?

Randomised ramp-up time in JMETER?

JMeter 中是否有随机提升?我想为我的 JMX 脚本随机启动时间。

您可以在 Ramp Up Period 字段(秒)中使用 __Random 函数

例如在 1-100 秒之间随机:

${__Random(1,100,)}

The random function returns a random number that lies between the given min and max values.

您还可以使用 __P 函数

从 属性 获取动态值

Define the property value:

jmeter -Jgroup1.threads=7 -Jhostname1=www.realhost.edu

Fetch the values:

${__P(group1.threads)} - 

return the value of group1.threads