Jmeter dynamic random variable
Is it possible to开发者_JAVA技巧 limit maximum value with ${varible}
in the Random 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})}
精彩评论