I suspected that would be the case. In which case, the problem is most
like in your use of the regular expression extractor, either placement,
syntax of the regex, or naming of the resulting variables.
As I said, you'll have to post your test plan with the details to get
some advice on all this.
-Mike
On Wed, 2004-05-12 at 13:24, Ryo Sode wrote:
> Good point. Yes, I can use variables from the user defined variables in the
> root test plan. However, what I was trying to do was to use the Regex
> Extractor to assign a dynamic value to a reference name and try using it in
> the HTTP Header Manager (which I hoped would look up the variable before
> every HTTP sampler execution and refresh the value).
>
> Ryo
>
> > Can you verify that you can add a variable to the Header Manager via a
> > user-defined variable (ala from the Test Plan root element)?
> >
> > If so, then it would seem likely that the value you were using was
> > faulty, maybe a bad regular expression. Hard to say since you didn't
> > say how where your dynamic value comes from.
> >
> > Post your test plan is the best way to get help.
> >
> > -Mike
> >
> > On Tue, 2004-05-11 at 19:34, Ryo Sode wrote:
> >> No one's got a clue?
> >>
> >> Ryo
> >>
> >>> Hi guys,
> >>>
> >>> I am a bit stuck here. Is there a way to using a dynamic value in HTTP
> >>> Header Manager or is that impossible according to the spec?
> >>>
> >>> I am trying to dynamically specify the Value in a particular HTTP header
> >>> that I added in HTTP header manager, based on the response coming back from
> >>> the previous request. I tried inserting ${[my-value} expression in the Value
> >>> field under HTTP Header Manager. but looking at actual request that gets
> >>> sent out, I see that the ${xxx} expression isn't calculated.
> >>>
> >>> Any help is appreciated. Thanks.
> >>>
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>
> >> --------
> >> Ryo Sode
> >> SQA Lead Engineer
> >> Internet Division
> >> FileMaker Inc.
> >> TEL 408.987.7500
> >> AIM ScreenName: ryosode
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --------
> Ryo Sode
> SQA Lead Engineer
> Internet Division
> FileMaker Inc.
> TEL 408.987.7500
> AIM ScreenName: ryosode
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Stover <[EMAIL PROTECTED]>
Apache Software Foundation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]