Thanks for the reply deepak...

I am calling Jmeter jmx plan from ant  with loop count value of 1000. The
requests in test plan reads request from csv file. 

Now after 1000 cycles I again call the same plan through ant (to avoid long
runs). But now again plan starts reading from start of the file. As you said
this is as designed behavior, I wall call a java function after each jMeter
test plan Run through ant, which will backup the existing file, reshuffles
the link by placing first 1000 links at the end of the original file. If
some error comes in between then backup file will replace the original file.
Otherwise we will have file with non-visited or LRU links at the top of
file. Now when plan will run again it will cal LRU links from the start of
file. 

If there is any other simple/clean way of achieving this do let me know.

Hope you get what I am saying...

Regards


Deepak Shetty wrote:
> 
> No direct way to do this, you could ofcourse code BSH/Java for Jmeter to
> work this way (you'd have to have a master CSV file of all records , a way
> to specify what the last processed record is and a way to create a new CSV
> file/skip rows from that point onwards)
> Test runs ideally shouldnt be stateful, Im not sure what you are trying to
> accomplish by this technique
> 
> regards
> deepak
> 
> 
> On Tue, Nov 10, 2009 at 10:30 AM, Harry_ <[email protected]> wrote:
> 
>>
>> In a Test Plan, I am referring csv file in HTTP request sampler.
>>
>> I am running this plan through ant.
>>
>> After some time I have to stop the test.
>>
>> But now when I restart the test again, I want that csv file should be
>> read
>> from the point where it was left earlier. But I dont find any option to
>> achieve this. So it starts reading from first line.
>>
>> Please help if there is any way to achieve this. (Like if we can pass
>> start
>> parameter to CSV Data Set Config, we can do this).
>>
>> Regards
>> --
>> View this message in context:
>> http://old.nabble.com/Any-way-to-start-reading-csv-from-particular-position-tp26287369p26287369.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Any-way-to-start-reading-csv-from-particular-position-tp26287369p26306700.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to