The Loop Controller should indeed provide it's value in a variable. Great idea and by far the easiest way to do it. Any JMeter component can implement the "org.apache.jmeter.testelement.ThreadListener" interface, and if you do, you get access to a "JMeterVariables" object, in which variables and their values can be stored.
There is also a handy "org.apache.jmeter.testelement.VariablesCollecttion" helper class which makes all of this pretty easy. I think you would find it pretty easy to do this for yourself, Scott, and it would make a nice little patch. You can find examples of how to use the VariablesCollection class in "org.apache.jmeter.modifiers.CounterConfig". -Mike On 13 Dec 2002 at 17:19, Scott Eade wrote: > [Sorry for making so much noise lately... ...here is another one] > > In my script I have a page that I need to request multiple times. It would > appear that a Loop Controller is the ideal logic controller to use for this > purpose. An additional requirement however is that the pages within the > loop need to pass a parameter whose value increases sequentially (this being > the "_session_access_counter" that a turbine application uses to ensure that > a page is not reposted). I would have thought that either the Loop > Controller would provide its value in a variable or that a Counter within > the Loop Controller could be used to provide this parameter, however it > seems that neither of these is the case. > > Can someone suggest a way I can achieve the desired result? > > > Thanks, > > Scott > -- > Scott Eade > Backstage Technologies Pty. Ltd. > http://www.backstagetech.com.au > .Mac Chat/AIM: seade at mac dot com > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 AIM: mstover777 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
