model.reset();
while(model.next())
{
if(((Boolean)model.getColumnValue(ENCODE_OR_NOT)).booleanValue())
{
args.addArgument(new HTTPArgument((String)model.getColumnValue(Arguments.COLUMN_NAMES[0]),
model.getColumnValue(Arguments.COLUMN_NAMES[1])));
}
else
{
HTTPArgument arg = new HTTPArgument();
arg.setAlwaysEncode(false);
arg.setName((String)model.getColumnValue(Arguments.COLUMN_NAMES[0]));
arg.setValue(model.getColumnValue(Arguments.COLUMN_NAMES[1]));
args.addArgument(arg);
}
}
this.configureTestElement(args);
return (TestElement)args.clone();