@Test public void testNext() throws InvalidVariableException { System.out.println("next"); Arguments args = new Arguments(); args.addArgument("var2", "${var1}"); args.addArgument("var3", "${var2}"); instance.setUserDefinedVariables(args); ValueReplacer replacer = new ValueReplacer(); replacer.replaceValues(instance); args.setRunningVersion(true); instance.next(); JMeterVariables vars = JMeterContextService.getContext().getVariables(); assertEquals("${var2}", vars.get("var3")); assertEquals("val1", vars.get("var2")); instance.next(); assertEquals("val1", vars.get("var3")); }
@Override public Sampler next() { processVariables(); return super.next(); }
ParameterizedController extends GenericController implements Serializable { @Override public Sampler next() { processVariables(); return super.next(); } }
ParameterizedController extends GenericController implements Serializable { @Override public Sampler next() { processVariables(); return super.next(); }  }
ParameterizedController extends GenericController implements Serializable { @Override public Sampler next() { processVariables(); return super.next(); }  @Override Sampler next(); void setUserDefinedVariables(Arguments vars); JMeterProperty getUserDefinedVariablesAsProperty(); }
ParameterizedController extends GenericController implements Serializable { @Override public Sampler next() { processVariables(); return super.next(); }  @Override Sampler next(); void setUserDefinedVariables(Arguments vars); JMeterProperty getUserDefinedVariablesAsProperty();  }