Saturday, February 20, 2016

Jmeter - Recycle On Eof? Utilisation Inwards Csv Information Ready Config

| Saturday, February 20, 2016
Recycle On EOF? is 1 of the multiple parameters of CSV Data Set Config configuration element. CSV Data Set Config is config chemical component subdivision of apache jmeter together with yous tin live it inward your software charge evidence excogitation if yous wants to read information from csv file. You tin READ MORE virtually CSV Data Set Config if yous wants to know how it plant together with when to live it inward your software charge evidence plan. Here nosotros volition larn virtually utilization of Recycle On EOF? parameter.

Use Of Recycle On EOF?
Recycle On EOF? flag allows yous to educate your preference to read/don't read information from showtime of file 1 time accomplish on destination of file. If educate it to true, It volition read information from showtime of file 1 time accomplish on destination of file. Else It volition halt reading information from file 1 time accomplish on destination of file.

Example On Usage Of Recycle On EOF?
We volition live same CSV Data Set Config.jmx software charge evidence instance and Test.csv file to encounter actual utilization of Recycle On EOF? parameter inward CSV Data Set Config.

You tin encounter at that topographic point are exclusively five rows of information in Test.csv file.


And thread grouping has Loop Count = fifteen together with Number of Threads = 1.
(Note : In this case, It volition plant same for Loop Count = 1 together with Number of Threads = 15)


Now set Recycle On EOF? = False.


In this configuration, Thread volition read together with become information from csv file for 1st five loop count only. When thread volition come inward in sixth loop count, It volition non become information from csv file every bit nosotros accept set Recycle On EOF? = False. It volition demo message EOF. View number inward tree information for fifth together with sixth debug sampler volition looks similar bellow.

fifth debug sampler number : 

sixth debug sampler number :

Now if yous volition set Recycle On EOF? = True together with run your test, sixth sampler's number volition looks similar bellow.



Thread volition become information from beginning(1st row of csvfile) of file 1 time accomplish on EOF if educate Recycle On EOF? = True. You tin educate it every bit per your requirement inward software charge evidence plan.

Related Posts