.isRunningVersion());
Arguments vars =
(Arguments) plan
.getProperty(TestPlan.USER_DEFINED_VARIABLES)
.getObjectValue();
PropertyIterator iter =
((CollectionProperty) vars.getProperty(Arguments.ARGUMENTS))
.iterator();
while (iter.hasNext())
{
JMeterProperty argProp = iter.next();
assertTrue(!argProp.isRunningVersion());
assertTrue(argProp.getObjectValue() instanceof Argument);
Argument arg = (Argument)argProp.getObjectValue();
arg.setValue("yahoo");
assertEquals("yahoo",arg.getValue());
}
vars =
(Arguments) clonedTestPlan
.getProperty(TestPlan.USER_DEFINED_VARIABLES)
.getObjectValue();
iter = vars.propertyIterator();
while (iter.hasNext())
{
assertTrue(iter.next().isRunningVersion());
}
}