Bug 63081 - Command line Option '-f' does not delete report folder when using generation only (-g)
Summary: Command line Option '-f' does not delete report folder when using generation ...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.0
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER_5.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2019-01-16 22:31 UTC by Philippe Mouawad
Modified: 2019-01-16 22:34 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2019-01-16 22:31:29 UTC
Run:
./jmeter -g /data/jmeter/recording-ulp-blog.csv -o /data/jmeter/recording-ulp-blog-2

Run then:
./jmeter -g /data/jmeter/recording-ulp-blog.csv -o /data/jmeter/recording-ulp-blog-2 -f 


KO Result:
An error occurred: Cannot write to '/data/jmeter/recording-ulp-blog-2' as folder is not empty

Expected result:
Webreport is overwritten
Comment 1 Philippe Mouawad 2019-01-16 22:34:09 UTC
Author: pmouawad
Date: Wed Jan 16 22:33:47 2019
New Revision: 1851489

URL: http://svn.apache.org/viewvc?rev=1851489&view=rev
Log:
Bug 63081 - Command line Option '-f' does not delete report folder when using generation only (-g)

Contributed by UbikLoadPack
Bugzilla Id: 63081

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
    jmeter/trunk/xdocs/changes.xml