apache / apache/jmeter

resultcollector.action_if_file_exists=DELETE don't work

Open
#5,205 16 comments 0 reactions 0 assignees View on GitHub
os: All P2 regression
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**vrithner** ([Bug 63974](https://bz.apache.org/bugzilla//show_bug.cgi?id=63974&redirect=false)):
Hello,
I'm documenting how to test web applications on one of my customer's PC.

Each time I start a test, I need to delete manually the csv result file and I'm not even prompted the file exist.
It's annoying so I found a post to delete it automatically.

-I have uncommented the line in jmeter.properties
resultcollector.action_if_file_exists and set it like that:
resultcollector.action_if_file_exists=DELETE*

-I restarted JMeter and started a new test but the result file wasn't deleted; data are added to the previous one.

Any idea what this is happening ?
Thanks in advance for any help

Created attachment [JMeter_2019-11-28_10h00_05.png](https://apache.github.io/jmeter-bugzilla-attachments/74/63974/36903/JMeter_2019-11-28_10h00_05.png): Sample Data Writer Csv file path

Sample Data Writer Csv file path

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.