jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walker, Russell" <>
Subject RE: Easy way to test If file exists
Date Wed, 07 Nov 2012 20:16:34 GMT
Thank you Sebb, Mark and Peter.
Between your suggestions I think I have to come up with a nice solution.
Thank you again for your suggestions.

-----Original Message-----
From: Peter Peterse [] 
Sent: Wednesday, November 07, 2012 2:55 PM
To: JMeter Users List
Subject: Re: Easy way to test If file exists

Hello Russell,

as Sebb wrote, I also using the timestamp in my testresult name like:


Op 7-11-2012 20:12, sebb schreef:
> On 7 November 2012 16:23, Walker, Russell <> wrote:
>> I have what I think should be a simple question, however, its one I've been unable
to find a solution to anywhere.
>> I'm super  very familiar with JMeter so perhaps I'm trying to solve this the wrong
>> My primary issue is that I often forget to remove old collector logs after a test
run and when I restart a new test the data gets appended to the old log and creates a graph
that is nearly impossible to understand.  I was unable to find a setting in either the GUI
or properties files which configured these counters to truncate old data.
>> My solution to this problem was to create a OS process sampler which zips up the
old logs with a time stamp and then deletes them.  This works fine, however, I'd like to be
able to check the following:
>> a)      The log files exist before zipping.
>> b)      The zip was successful before deleting the logs.
>> Any help would be greatly appreciated.
> I would probably create the log files with a timestamp in the name,
> then you can use an OS shell script to tidy things up as a separate
> job.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message