UDVs are configuration elements, and they are processed as the test plan is started.
They should only be used for variables that don't change during a run. They are also shared between all threads in all groups - see the note at the end of the section: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#User_Defined_Variables On 12/05/2008, Steve Kapinos <[EMAIL PROTECTED]> wrote: > Parent test plan is setup as > > Testplan > + threadgroupPTP > + + include controller > + threadgroupMPS > + + include controller > + threadgroupVCS > + + include controller > + threadgroupmonitor > + (bunch of stuff) > > Each include controller inserts a free-standing testplan, that each work > independantly and test out fine on their own. > > Each testplan as a UDV where a variable logdir is defined as > ${__P(p_logs-out,ptp-out)} where 'ptp-out' changes for each testplan: > mps-out, vcs-out, etc. ${logdir} is then used to define the listener's > output directory for each test. Currently no p_logs-out property is > defined, so each test should use its default assigned value, and this > works fine when each test is ran on its own. > > However, when the tests are included as shown above, each included test > executes using the same value for ${logdir} so all log files go into the > same directory. Since variables are thread-specific this should not > happen. They all manage to use 'vcs-out' as their value, so the last > read in UDV for some reason is overwriting the variable definition for > all threads, not just its own. > > Steve Kapinos > Solution Developer - R&D > TANDBERG > > Phone: +1 703 7094272 > Video: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] > > 1860 Michael Faraday Dr > Reston, VA 20190, USA > > www.tandberg.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]

