Saravanan, 

As far as I can see, there are no errors with reading line by line and
assigning variables (i.e. for each item you get corresponding name, category
and other attributes), what you see as messed up is order in which you get
responses. 

If I'm not mistaken: 
- when you choose Number of threads = 10, this won't necessarily return you
responses in the same order specified in the input file
- when you choose Loop Counter = 10 (Number of threads = 1), you should get
all requests/responses in the same order as in input file. Try this as a
quick test

Nermin


-----Original Message-----
From: Saravanan [mailto:sasrava...@gmail.com] 
Sent: 12. srpanj 2011 15:09
To: jmeter-user@jakarta.apache.org
Subject: RE: Datas inserted unordered while using CSV file for load testing
in J Meter.

first of all tans for ur reply nermin..i ve created few datas on notepad and
saved with extensions of .csv..
My csv file datas are as follows

IT100001,fancy,Gold Ornaments,Silver,1000,500
IT100002,Cufflinks,Gold Ornaments,Gold,1001,501
IT100003,Unknown,Gold Ornaments,Gold,1002,502
IT100004,Ladies Ring,Gold Ornaments,Gold,1003,503
IT100005,Bali,Gold Ornaments,Gold,1004,504
IT100006,Thali,Gold Ornaments,Gold,1005,505
IT100007,Chain necklace set,Gold Ornaments,Gold,1006,506
IT100008,Bangel,Gold Ornaments,Gold,1007,507
IT100009,Broach/pin,Gold Ornaments,Gold,1008,508
IT100010,Nosepin,Gold Ornaments,Gold,1009,509

AND I CONFIGURED J METER "CSV DATA SET CONFIG" AS FOLLOWS

Configure the CSV Data source:

Filename :C:\Documents and Settings\Admin\Desktop\New Folder\Test1.csv
File Encoding :
Variable Names(comma-delimited):A,B,C,D,E,F
Delimiter(use '\t' for tab):,
Allow quoted data ?:False
Recycle on EOF ?:True
Stop Thread on EOF ?:False
Sharing mode:All Threads

Also i have run the script for 10 threads(ie:given No of Threads=10 in the
Thread Group Element)

The output is displayed as follows

IT100004,Ladies Ring,Gold Ornaments,Gold,1003,503
IT100005,Bali,Gold Ornaments,Gold,1004,504
IT100006,Thali,Gold Ornaments,Gold,1005,505
IT100007,Chain necklace set,Gold Ornaments,Gold,1006,506
IT100001,fancy,Gold Ornaments,Silver,1000,500
IT100002,Cufflinks,Gold Ornaments,Gold,1001,501
IT100003,Unknown,Gold Ornaments,Gold,1002,502
IT100008,Bangel,Gold Ornaments,Gold,1007,507
IT100009,Broach/pin,Gold Ornaments,Gold,1008,508
IT100010,Nosepin,Gold Ornaments,Gold,1009,509

is it correct?does tis o/p contains no error?


--
View this message in context:
http://jmeter.512774.n5.nabble.com/Datas-inserted-unordered-while-using-CSV-
file-for-load-testing-in-J-Meter-tp4563502p4578806.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to