Hi,
I am trying to create variable throughput using throughput controller with a 
variable like this


but it keeps throwing the following exception, just wonder if it's not designed 
to be used like that? But using variable with a loop controller works without 
any problem.



Following is how I set the variable:import java.util.Random

int iRand = new Random().nextInt(3);
vars.putObject('sRandomThroughput', (float)iRand);


Thanks,Jun

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to