I'll answer my own question:

sampler = ctx.getCurrentSampler();
sampler.addArgument("hello","you");
args = sampler.getArguments();
print(args);

-- 
View this message in context: 
http://www.nabble.com/Add-request-to-a-HttpRequestSampler-using-Beanshell-tf4192071.html#a11944851
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to