I cannot reproduce this error. I set-up my test plan exactly like yours and was able to send the files 'myfile0.txt','myfile1.txt',...,'myfile9.txt' along with the HTTP Request. Like you, I had done this...
+ Thread Group ++ Loop Controller +++ Counter +++ HTTP Request +++ Debug Sampler ++ View Results Tree ...except I threw on a Debug Sampler and View Results Tree to see what was going on. You do have the most recent version of JMeter, correct? > -----Original Message----- > From: Nadav Samet [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2008 3:24 PM > To: jmeter-user@jakarta.apache.org > Subject: Counter within a loop > > Hi there, > > I am trying to create a loop that each iteration would initiate a request. > One field in the request (the file to send) varies with each iteration. > > This is how I set it up: > > + ThreadGroup > ++ Loop controller (Loop Count = 10) > +++ Counter (Start=0, increment=1, max=100000, reference name=index) > +++ Request (Send files with the request: myfile${index}).txt) > > It turns out that it does loop 10 times, but it sends myfile0.txt on all > iterations, instead of the different 10 files I've prepared. Does it do > the > string interpolation on the file name too early? What's the right way to > do > it? > > -- > Thanks, > Nadav --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]