On 07/04/2008, Santosh Reddy <[EMAIL PROTECTED]> wrote:
> I tried to do the first step by adding a regexp extractor as child.
>  i want to extract a header say "ABCD"
>  so i selected "Headers" radio button and put the regular exp as
>  ABCD:
>

You need to capture the header value:

ABCD:\s+(.+)

will capture everything after the leading spaces.

>  and given a ref. name

You then need to use the template $1$  to set the ref. name contents.

>  so how do i use it in the next request, i tried to use the HTTP header
>  manager. but it is sending the variable as it is.

${REFNAME}

should work, assuming you used REFNAME as the reference name.

>  an example would be of great help
>
>  Thanks.
>
>
>  On Mon, Apr 7, 2008 at 7:19 PM, Grzegorz Kończyk
>  <[EMAIL PROTECTED]> wrote:
>
>  > 1. add a Regular Expression Extractor as a child for that http request,
>  > 2. set all fields of that element according to JMeter documentation.
>  >
>  > GK
>  >
>  >
>
>
>  --
>
> Thanks & Regards,
>
> Santosh Reddy.
>

Reply via email to