Hi it sounds as if you are trying to run some sort of spider. >if controller that checks if last variable from foreach != last used variable from foreach not exactly , its not just the last sample it's any sample so far, right.
a. If you are planning to do this one page only then after the extractor, run some beanshell that iterates through the variable and makes a unique set and then sets it back into JMeter's variable format. If you need help with this code , reply! b. If you are planning on doing this recursively then I wrote about this here http://theworkaholic.blogspot.com/2009/11/randomly-clicking-links-in-jmeter.html http://theworkaholic.blogspot.com/2009/10/spidering-site-with-jmeter.html regards deepak On Sat, Feb 19, 2011 at 8:39 AM, Andrei Valentin Muresanu < [email protected]> wrote: > Hi all, > > i am trying the following: > > insert bunch of links into variable "a" (via regexp extractor looking for > links in a web page) > > using for each controller to do things on each link found in variable "a" > > want to use an if controller that checks if last variable from foreach != > last used variable from foreach (goes on only if they differ - i am trying > to avoid duplication) > > how can i achieve this ? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

