Auto save and Back Up of the scripts

Forgot to save the script or Jmeter closed accidentally? 



When Jmeter is closed, It will automatically takes the backup of the scripts since your last save.

By default, It will copy 10 duplicates of the script to backups folder.

To control auto-backup, add the following properties to user.properties

To enable/disable auto-backup - jmeter.gui.action.save.backup_on_save=false

The backup directory can also be set to a different location - jmeter.gui.action.save.backup_directory=/path/to/backups/dir

You can also configure the maximum time (in hours) that backup files should be preserved since the most recent save time - jmeter.gui.action.save.keep_backup_max_hours=0

You can set the maximum number of backup files that should be preserved. By default 10 backups will be kept - jmeter.gui.action.save.keep_backup_max_count=10


No comments:

Post a Comment