In this section, we are going to understand recovery testing, which is an important part of Non-functional testing and used to test how soon the application is recovered from the hardware crashed or fails.
And we also learn about its process, why we need to perform the recovery testing, who perform the recovery testing, example, advantage and disadvantage.
Introduction of Recovery Testing
Recovery testing is testing where the test engineer will test the application to check how well the Software or the application recovers from disasters or crashes.
It is one of the most important types of non-functional testing categorized under performance testing.
In other words, we can say that the recovery testing is done to verify how fast and better the application can improve or learn the capability of the software after it has gone through any software, hardware crashes or network failures etc.
It is the software's required failure in a diversity of ways to confirm that recovery is properly performed.
While executing the recovery testing, we should first take the backup and save it to a secured location to keep away from any data loss if the data is not recovered successfully.
The software/ hardware is forcefully failed to verify the following aspects while executing the recovery testing:
Note: A good software application is the one that recovers in no time from crashes, hardware failures or other such types of failures.
Example of Recovery testing
Let us see a scenarios where we can understand how the recovery testing is performed:
Suppose we are using the browser, let say Google Chrome, and the power goes off. When we switch on the system again and re-open Google Chrome, we get a message window that displays whether we want to start a new session or restore the previous session.
So, in this situation, while we are restarting the system while a browser has a definite number of sessions and check if the browser can recover all of them or not.
Some of the most common failures which need to test for recovery:
Here, we list out some of the most frequent failures which needs to test, while performing the recovery testing:
Why recovery testing is important?
The recovery testing is significant if we are developing the application for a user who will decides the difference between success and failure for our organization. T
Therefore, we need to develop software, which has enough consistency and recoverability.
When do we need to perform the recovery testing?
Who implements Recovery testing?
The Recovery testing is a part of Business Continuity Planning (BCP) and involves a host of roles. The following concerned persons can perform the recovery testing:
Recovery testing life cycle
The recovery testing life cycle includes the various phase, which is as follows:
Let's understand them one by one in details:
In the standard operations phase, we will establish the system according to the Software and hardware requirements, where the particular system can execute as expected. It is used to define the way system is planned to work.
In the next phase of recovery testing, we can identify the several failures of the system and those failures are as follows:
It leads us to losses in terms of business, financial losses, relations with the client, reputation in the market, etc.
In recovery testing, the recovery process is used to keep away from the most important losses in companies and have backup plans with minimal impact on the interruption system.
The last phase of the recovery testing process is the rebuild process, which contains the already specified documents and processes that have to be followed. And in this phase, all configuration files and folders are restored to retrieve the lost data.
Steps to be performed before implementing a Recovery Testing:
The following steps need to be performed before executing the recovery testing process to ensure the performance of recovery testing:
Step1: Appropriate recovery analysis
Before implementing the recovery testing, we should make sure that the proper analysis has to be done to verify the possibility of recovery. The recovery analysis is necessary for our better understanding of the recovery-related modification, which can impact the system's working.
To complete the appropriate analysis, we can observe the below aspects:
Step2: Preparation of Test Plan
In the next step, we will prepare the Test cases according to the analysis results, which we discussed in the above step.
Step3: Preparation of Test environment
After preparing the test cases, we moved to our next step to design the test environment as per the recovery analysis results.
Step4: Keeping the Back-up of the data
After the preparing the test cases and test environment, we can go to our next step to keep the back-up data related to the software, for example, several states of the software and database.
Similarly, if the data is significant, then we can keep the backup data depending upon the criticality, with the help of the below strategies:
Step5: Recovery personnel Allocation
Once the backup of data is sustained successfully, we will have enough knowledge for the recovery testing being conducted and allocate the recovery personnel.
In the last step, we will document all the steps performed before and throughout the recovery testing because, in case of a failure, the system can be tested for its performance.
Advantages and Disadvantages of Recovery testing
Some of the major benefits of performing the recovery testing are as follows:
Following are the disadvantages of recovery testing:
In the above recovery testing tutorial, we have understood the numerous recovery testing characteristics, which helps to learn whether the system or program meets its requirements after a failure.
Recovery testing is necessary if we have any project that overhauls business processes or technology. In case of failures it helps us to validate that recovery.
The occurrence of executing recovery testing is in reverse proportional to the impact of failure on the system. Therefore, recurrent testing plays an important role in minimizing the impact.
As we know that the failures can happen anytime due to many common reasons, such as recovery testing removes critical bugs, which makes the system ready to recover from those failures.
Next TopicExploratory Testing