Katalon tests with changing data

I am currently implementing the Katalon platform for testing a web application. Within this application, there is lots of data that needs to be handled. I want the data to be consistent. That means that I always want to have the same initial data when executing the tests, even if the tests may change or delete data for testing purposes.
Thus, I have come up with two approaches:

  1. I undo all the changes that have been done in the tests (for example deleting data that has been created)
  2. I load a backup every time a test has finished its execution
    I would appreciate it if you could give me any information on how this issue is usually solved in the industry.
    Thanks a lot in advance.
1 Like


Welcome to our Community. There are a lot of people who are willing to help you. Pump to let others know.

Deploy the web application in a VM and use snapshots. Revert to the snapshot each time you want to run.