I appreciate your effort, Flavio. I also created a new minimal Test Plan yesterday, using the same JMeter logic/elements I'd flagged, but using different, fixed values for the 'Fields' variable (still coming from a CSV source). It exhibited similar behaviour to what was happening in my 'real' Test Plan: the Loop Controller was never working beyond the first iteration in any Thread Group.
Cutting my losses, I reworked the Test Plan by replacing the If / Loop / Counter trinity with a BeanShell Sampler / ForEach Controller duo. Functionality is now what I expect, in that _all_ iterations in _all_ Thread Groups now correctly 'loop over' their respective number of fields. Nige > -----Original Message----- > From: Flavio Cysne [mailto:[email protected]] > Sent: Monday, 18 May 2015 11:11 PM > To: JMeter Users List > Subject: RE: Loop controller behaviour > > Nigel, > > I published a script in pastebin, > http://pastebin.com/download.php?i=bL7kwXjA, using a Thread Group with > the logic you mentioned and another Thread Group using a Test Fragment as > well. > ATM it is not using a CSV dataset nor the dynamic values per user, as you > said. > > Hope it helps. > Em 18/05/2015 00:39, "Nigel Donaldson" <[email protected]> > escreveu: > > > Hello, Flavio. > > > > I have to admit I didn't comprehend your statement per se, given that > > my CSV > > entries _are_ being used correctly. However, it eventually lead me to > > revisit the documentation for Loop Controller, and I've just realised > > that > > it doesn't function how I understood it would. (Why only once per > > thread-group?!) > > > > I need to reassess my approach : a BeanShell Sampler producing > > something for a ForEach Controller looks likely. > > > > Thanks again. > > > > Nige > > > > -----Original Message----- > > From: Flavio Cysne [mailto:[email protected]] > > Sent: Friday, 15 May 2015 8:31 PM > > To: JMeter Users List > > Subject: Re: Loop controller behaviour > > > > Nice, > > > > I forgot to mention that CSV Dataset config don't go to the next > > line when using loop controller. In your case, just when using Test > > Plan's Loop count. > > > > Hope it helps. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
