开发者

Jmeter dynamic random variable

Is it possible to开发者_JAVA技巧 limit maximum value with ${varible} in the Random variable?

Or limit the maximum value in Random variable with other variable?


You'll have to write a BSH post-processor to give a dynamic value for Maximum Value.

This link has an example.


I had a similar problem and __Random function helped me. I've used it as a value for a HTTTP request that way:

${__Random(min,${variable})}

So I have random value with variable maximum for each thread.

Here is the screenshot.


Couldn't you use the evaluate function within the Random function?

${__Random(min, ${__eval(${MAX})}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜