On 18 April 2012 21:55, Jomebrew <[email protected]> wrote: > I have a Random Variable config item in a while loop is set to a value > between 1 and 100 per thread. The loop has a > - Sleep 10 seconds > - Random variable > - Three If Controllers. Two of the If Controllers test the random > variable value; e.g. ( ("${GR}" == "2") ) and if it is 1 or 2 it will > execute sub components of the IF controller. > > The odd thing is the random number comes up with 1 or 2 way too > frequently. Somewhere around 50% of the time. > > However, if I enable a debug sampler after the random variable, the > random number distribution will be along the lines of the expected 1%. > > Any thoughts?
Try using the Switch Controller instead. > /Joe > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
