You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sidd darko <si...@gmail.com> on 2009/08/13 20:29:06 UTC

Re: Using the regex extractor values as http headers -- GOT IT !!

hi ..

I needed to check TRUE on the User Parameters, update once per iteration.


sidd darko wrote:
> Hi.
> 
> I am trying to capture a parameter to my samplers and use it as a
> value in the HTTP Header Manager.
> 
> I have a User Parameter that uses a bean shell script.  The beanshell
> script sets the variable GUID to a random number.  I have two samplers 
> and I only see my value set for the second sample.  My layout looks like 
> this:
> 
> UserParameters -- calls the script, which sets the variable GUID.
> MyThreadGroup
> --- {$GUID}-MySample1         (GUID is always set)
> ------HTTP Header Manager    (GUID is Never Set)
> --- {$GUID}-MySample2         (GUID is always set)
> ------HTTP Header Manager    (GUID is only set when both are enabled)
> 
> 
> Does anyone have any insight as to what might be going on ?  Alternative 
> approaches are welcome.
> 
> Thanks,
> --sidd.
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org