You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2015/06/05 22:15:36 UTC

svn commit: r1683855 - /jmeter/trunk/bin/jmeter.properties

Author: pmouawad
Date: Fri Jun  5 20:15:35 2015
New Revision: 1683855

URL: http://svn.apache.org/r1683855
Log:
Bug 57913 - Automated backups of last saved JMX files
Add related properties to jmeter.properties
Bugzilla Id: 57913

Modified:
    jmeter/trunk/bin/jmeter.properties

Modified: jmeter/trunk/bin/jmeter.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.properties?rev=1683855&r1=1683854&r2=1683855&view=diff
==============================================================================
--- jmeter/trunk/bin/jmeter.properties (original)
+++ jmeter/trunk/bin/jmeter.properties Fri Jun  5 20:15:35 2015
@@ -192,6 +192,33 @@ gui.quick_7=JSR223PreProcessor
 gui.quick_8=DebugSampler
 gui.quick_9=ViewResultsFullVisualizer
 
+
+#---------------------------------------------------------------------------
+# JMX Backup configuration
+#---------------------------------------------------------------------------
+#Enable auto backups of the .jmx file when a test plan is saved.
+#When enabled, before the .jmx is saved, it will be backed up to the directory pointed
+#by the jmeter.gui.action.save.backup_directory property (see below). Backup file names are built
+#after the jmx file being saved. For example, saving test-plan.jmx will create a test-plan-000012.jmx
+#in the backup directory provided that the last created backup file is test-plan-000011.jmx.
+#Default value is true indicating that auto backups are enabled
+#jmeter.gui.action.save.backup_on_save=true
+
+#Set the backup directory path where JMX backups will be created upon save in the GUI.
+#If not set (what it defaults to) then backup files will be created in
+#a sub-directory of the JMeter base installation. The default directory is ${JMETER_HOME}/backups
+#If set and the directory does not exist, it will be created.
+#jmeter.gui.action.save.backup_directory=
+
+#Set the maximum time (in hours) that backup files should be preserved since the save time.
+#By default no expiration time is set which means we keep backups for ever.
+#jmeter.gui.action.save.keep_backup_max_hours=0
+
+#Set the maximum number of backup files that should be preserved. By default 10 backups will be preserved.
+#Setting this to zero will cause the backups to not being deleted (unless keep_backup_max_hours is set to a non zero value)
+#jmeter.gui.action.save.keep_backup_max_count=10
+
+
 #---------------------------------------------------------------------------
 # Remote hosts and RMI configuration
 #---------------------------------------------------------------------------