On 24 September 2010 16:31, sprozzy <[email protected]> wrote: > > Hi Sebb > > Ive created a UDP for two values and I want these values to be random. I > then enter into a screen for a check of the value which then defaults to a > name. > > On another screen I then want to use the same random value generated and > enter this value into a field.
Either use another UDV (because it cannot refer to variables created on the same UDV) or use: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#User_Parameters to define the following Name / Value StockId ${__V(Stock${__Random(1,2)})} Then use ${StockId} in the plan. But for larger numbers of random variables, it would be better to create a file and use CSV Dataset. > Hope this is helpful. > > Thanks > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Create-random-variable-then-use-same-variable-tp2852755p2852815.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > 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]

