jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: The value extracted through regular expression is not available for all the requests
Date Thu, 30 Sep 2004 23:20:31 GMT
OK, I see now. 

This shouldn't make a difference to the behaviour of variables when
the recorded test is run, so if it does, it's a bug.

S.
On Thu, 30 Sep 2004 16:05:18 -0700, Senthil Subbiah <ssubbiah@ketera.com> wrote:
> In v2.0.1,
> When you add a HTTP Proxy Server....There is a Combo Box named
> 'Grouping', in which there are four options whether to group the
> samplers or not, to add seperators between groups, or to store only the
> first sampler of every group.
> 
> I am not sure if it is grouping that is causing the problem...in not
> making it available for the rest...
> But by not grouping and making all the samplers available in a single
> branch solved the problem for me....
> 
> I shall try to compare and then update more on it..
> 
> Thanks
> senthil
> 
> 
> 
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, September 30, 2004 4:01 PM
> To: Senthil Subbiah; jmeter-user@jakarta.apache.org
> Subject: Re: The value extracted through regular expression is not
> available for all the requests
> 
> Not sure what you mean by grouping the samplers, but if the variable is
> not available when it should be, that could be a bug.
> 
> To track this down we'd need a test case and jmeter.log and
> jmeter.properties., plus details of any console error messages (these
> are all supposed to go to the log, but sometimes some of them escape)
> 
> S
> 
> On Thu, 30 Sep 2004 15:51:29 -0700, Senthil Subbiah
> <ssubbiah@ketera.com> wrote:
> > Thanks a lot.
> >
> > I don't know whatz the issue but it is working now....let me analyze
> > the issue and update the bug # 28600.
> >
> > The version used is v2.0.1
> >
> > And the diff is this time I tried with...not grouping the samplers.
> >
> > When I group the samplers and try...i am not able to access the value.
> >
> > But when I don't group the samplers and I am able to access the
> > extracted value.
> >
> > Thanks for the interest taken sebb.
> >
> > -senthil
> >
> >
> >
> >
> > -----Original Message-----
> > From: sebb [mailto:sebbaz@gmail.com]
> > Sent: Thursday, September 30, 2004 2:50 PM
> > To: Senthil Subbiah
> > Subject: Re: The value extracted through regular expression is not
> > available for all the requests
> >
> > Would you like to send me the test plan privately?
> > [Remove any confidential entries first]
> >
> > On Thu, 30 Sep 2004 14:45:35 -0700, Senthil Subbiah
> > <ssubbiah@ketera.com> wrote:
> > > Hmmm....Thanks for the response....
> > >
> > > But I am not re-writing anything to the safe referrence.... Infact
> > > the
> >
> > > regular expression extractor is available only once....in the thread
> 
> > > group.
> > >
> > > Although silly....i don't catch up any clue.....or a quick
> > > fix....for this.
> > >
> > > Thanks
> > > Senthil
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: sebb [mailto:sebbaz@gmail.com]
> > > Sent: Thursday, September 30, 2004 2:41 PM
> > > To: JMeter Users List
> > > Subject: Re: The value extracted through regular expression is not
> > > available for all the requests
> > >
> > > The Regex Extractor saves its output in a JMeter variable, which is
> > > available to *all* test elements in the same thread, whether at the
> > > same level or not.
> > >
> > > There is only one set of variables for each thread.
> > >
> > > Once set, the variable remains set until the end of the test, or
> > > until
> >
> > > something else resets it.
> > >
> > > I suspect some other test element is re-using the same variable and
> > > changing it.
> > >
> > > S.
> > > On Thu, 30 Sep 2004 14:02:59 -0700, Senthil Subbiah
> > > <ssubbiah@ketera.com> wrote:
> > > > What is the default scope of the value stored in a Reference
> > > > varaible...extracted through the Regular Expression Extractor?
> > > >
> > > > Is it global(available for the Thread group) by default?
> > > >
> > > > Does it has any scope issue when added inside a controller and
> > > > makes
> >
> > > > it not available for the other controllers?
> > > >
> > > > The extracted value is available for the first request after the
> > > > regular expression extractor...but not for the next. And there is
> > > > no
> >
> > > > other regular expression extractor also to override the value that
> 
> > > > I
> >
> > > > hv extracted.
> > > >
> > > > So please suggest...
> > > >
> > > > Thanks
> > > > Senthil
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Senthil Subbiah
> > > > Sent: Thursday, September 30, 2004 1:51 PM
> > > > To: JMeter Users List
> > > > Subject: RE: The value extracted through regular expression is not
> 
> > > > available for all the requests
> > > >
> > > > Controller1
> > > >         Request1
> > > >                 - Regular Expression Extractor
> > > >         HTML  .. (The ref from the extractor is available here)
> > > >         HTML  .. (The ref from the extractor is not available
> here)
> > > >         Images..
> > > >         Images..
> > > > Controller2
> > > >         Request2 - (The ref from the extractor is not available
> > > > here)
> > > >
> > > > Suggest me....
> > > >
> > > > Thanks
> > > > Senthil
> > > >
> > > > -----Original Message-----
> > > > From: Kevin.Lafferty@Lawson.com [mailto:Kevin.Lafferty@Lawson.com]
> > > > Sent: Thursday, September 30, 2004 1:18 PM
> > > > To: JMeter Users List
> > > > Subject: Re: The value extracted through regular expression is not
> 
> > > > available for all the requests
> > > >
> > > > You have to scope the Regular Expression Extractor under the
> > > > request
> >
> > > > that you pull it from.  Otherwise, it will apply to every request
> > > > in
> >
> > > > the context.
> > > >
> > > > For example, you want:
> > > >
> > > > - Request1
> > > >         - Regular Expression Extractor
> > > > - Request2
> > > >
> > > > And not:
> > > >
> > > > - Request1
> > > > - Regular Expression Extractor
> > > > - Request2
> > > >
> > > > In this case, Request2 would replace the value supplied by
> > > > Request1.
> > > >
> > > > -Kevin
> > > >
> > > > "Senthil Subbiah" <ssubbiah@ketera.com>
> > > > 09/30/2004 01:09 PM
> > > > Please respond to
> > > > "JMeter Users List" <jmeter-user@jakarta.apache.org>
> > > >
> > > > To
> > > > "JMeter Users List" <jmeter-user@jakarta.apache.org>
> > > > cc
> > > >
> > > > Subject
> > > > The value extracted through regular expression is not available
> > > > for all the requests
> > > >
> > > > Hi,
> > > >
> > > > I have added a regular expression extractor...
> > > >
> > > > Is the reference name that I am using to store the value....will
> > > > be available for all the requests below in that Thread Group?
> > > >
> > > > If yes....then I have added a regular expression extractor to get
> > > > a userid value and trying to pass it in the rest of the
> > > > requests.... For
> > >
> > > > the first request after the extractor is added...I am able to
> > > > access
> >
> > > > the value in the variable...
> > > >
> > > > But for the rest of the requests its coming out empty...
> > > >
> > > > Please suggest..
> > > >
> > > > I don't know...for some reason...nothing is working for me @ first
> 
> > > > place.....i need to figure that out.... :)
> > > >
> > > > Thanks
> > > > Senthil
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > -
> > > > 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
> > > >
> > > >
> > >
> > >
> > >
> > > --------------------------------------------------------------------
> > > -
> > > 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
> > >
> > >
> >
>

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


Mime
View raw message