use a Beanshell pre processor under your http sampler
Untested code
import org.apache.jmeter.protocol.http.control.Cookie;
Cookie c = new
Cookie(name,vars.get("csvconfigvariablename"),domain,path,secure,expires);
sampler.getCookieManager().add(c);

regards
deepak

On Mon, Jan 10, 2011 at 3:27 PM, Paul Rogers <[email protected]> wrote:

> jmeter 2.4 on Mac
>
> I have a text file that has a list of cookie ids.
>
> It seemed the easiest way to send these with a request was to just use
> the Header manager and a csv config.
>
> However, after much trial and error, it seems that a header called
> cookie ( or Cookie ) never gets reported in the request section of the
>  View Results Tree, even when a simple value like Cookie  and 123 is
> put directly into the header manager.
>
> I havent had a chance to see if the header gets sent unfortunaly.
>
> Other headers, like User-Agent or foo seem to work fine, just Cookie,
> so Im guessing there is some interference from the internal cookie
> manager.
>
> Many thanks
>
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to