DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24076>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24076

Loop #2 threads read incorrect lines from file using __CSVRead()

           Summary: Loop #2 threads read incorrect lines from file using
                    __CSVRead()
           Product: JMeter
           Version: 1.9
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have the following JMeter Test Plan:

-Test Plan1
 -Thread Group1
  *Number of Threads =3
  *Ramp-up =1
  *Loop Count=3
  -User Parameters (1-User, multi-Variable)
    *Update Once Per Iteration (checked)
    *var1=${__CSVRead(file,0)}
    *var2=${__CSVRead(file,1)}
    *var3=${__CSVRead(file,next)}
  -HTTP Request1
  -HTTP Request2
  -HTTP Cookie Manager

__CSVRead() reads from the following file:
1,line1
2,line2
3,line3
4,line4
5,line5
6,line6
7,line7
8,line8
9,line9

In Loop#1, Thread-1 reads "1,line1", Thread-2 reads "2,line2", Thread-3 
reads "3,line3".
In Loop#2 Thread-1 reads "2,line2", Thread-2 reads "3,line3", Thread-3 
reads "4,line4".
In Loop#3 Thread-1 reads "5,line5", Thread-2 reads "6,line6", Thread-3 
reads "7,line7".

First thread of Loop#2 goes back to the second line of the file even if the 
last line read by Loop#1 was the third line.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to