hi
use a BeanShell pre processor (remove these values from the sampler);
sampler.addArgument("var1","value1");
sampler.addArgument("var1","value2");

An example which uses the regex extractor and adds values
http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.html


regards
deepak

On Thu, Jan 13, 2011 at 7:47 PM, ellex3m <[email protected]> wrote:

>
> Hi Everyone,
>
> I need help with posting data using an http sampler.
>
> I recorded the post data using the http proxy server and i found out that
> when I select multiple <options> in a <select> tag, the variable is added
> twice in post data.
>
> ex.
> -----------------
> NAME    VALUE
>
> var1      1
> var1      2
> -----------------
>
> How can i do this dynamically? I can already extract the values using the
> RegEx Extractor but I how can i put it twice in post data?
>
> Thanks!
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/HTTP-Sampler-Post-Variables-same-name-with-multiple-values-tp3340805p3340805.html
> 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