In the last topic, we learned about Load Testing. In this topic, we will learn Stress Testing. Now, we will see Stress Testing Introduction, example and difference between Load and Stress. Now, we will see Introduction. Stress Testing is a non-functional testing and it is a part of performance testing. How will the behavior of the application be in normal and peak condition, to see that we do Stress Testing. During high load how our application is handling, that we lock or note after Stress Testing. Mostly these issues are related to synchronization, memory leaks or race conditions. Let’s take an example of banking. The maximum user load is 20,000 concurrent users. Now we are increasing the load and making it 21,000. And, 21,000 users are doing various transactions together such as, depositing, withdrawal, etc. As soon as the users are doing the transactions, the database of the ATM is constantly getting in sync with the server. That these many users are doing the transactions. Now we will check that when there were 21,000 users, how the system performed. Was the system easily handling it or was it getting crashed? We will see it later with 22,000 users. I am giving you a similar example, again which we took for Load Testing. It is for shopping sites. During festivals many people will visit the shopping sites and will shop from there. So, that time what will happen is that the users will increase. Imagine that in normal times the users are 1 lakh and in shopping time they become 5 lakhs. So, will the system be able to handle it or not? Now, you people must be thinking that Load and Stress are somewhere similar. Come let’s differentiate it easily. Load testing is conducted to understand the behavior of the application on the particular load. I am explaining it again. In load testing, we will see how our application is behaving on a particular load? On the other hand, we will see in the Stress that how much is the capacity of our system. For how many users the system is handling and then it is crashing. In load we will see that concurrent number of users, how they are performing the transaction in a particular time duration. And what will we see in stress Testing? How robust is the system to handle that particular load? There are 2 main purposes of load testing, 1st is that we will see the characteristics of performance in our system under test and second is that on which load in particular is the system breaking. Is it breaking or not? And what is in stress testing? In Stress Testing there are very common types of testing like system resources we have reduced, CPU Testing, internal memory and external disk space. All these come in particular Stress Testing. Now, it must be clear. In one line if you are asked what is the difference between load and stress testing, you will be able to answer. We studied Stress Testing. We saw an example of Stress Testing and we saw the difference between load and Stress Testing. Our next topic is Performance Testing.
Share a personalized message with your friends.