0

I have jmx file that I have saved in a folder in downloads, I have opened it on JMeter did some changes and when I click on save I get a error in log viewer panel as:

ERROR o.a.j.g.a.Save: Could not backup file! Backup directory does not exist, is not a directory or could not be created!  <C:\Program Files\apache-jmeter-5.4.3\backups>

How to overcome this error?

1 Answers1

0

JMeter's default backup directory is backups located inside JMeter Home, in order to be able to get benefits from backups you need to have write access to this folder.

So either make sure that the user has write permissions to C:\Program Files\apache-jmeter-5.4.3\backups

or change the backup folder location to the folder where your user has write access (normally it's home folder) by adding the next line to user.properties file:

jmeter.gui.action.save.backup_directory=C:/Users/your-user-name-here/jmeter/backups

JMeter restart will be required to pick the property up.

More information:

Dmitri T
  • 159,985
  • 5
  • 83
  • 133