Dynamic random variable Jmeter

Is it possible to limit the maximum value with ${varible} in a random variable?
Or limit the maximum value in a random variable to another variable?

+6
java jmeter
source share
3 answers

You will need to write a BSH post processor to give a dynamic value for the maximum value.

This link contains an example.

+3
source share

Can't use the grading function in the Random function?

 ${__Random(min, ${__eval(${MAX})} 
+1
source share

I had a similar problem and the __Random function helped me. I used it as a value for an HTTTP request like this:

$ {__ Random (min, $ {variable})}

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

Here is a screenshot.

+1
source share

All Articles