All IT Courses 50% Off
QA Tutorials

Endurance Testing

Endurance testing is non-functional type of testing where the software is tested with very high load which is extended over a significant amount of the time to verify the behaviour of software application under sustained use. The main goal of endurance testing is to make sure that the application is capable enough to handle extended load without any deterioration of response time. This sort of testing is performed at the last stage of the performance cycle. Endurance testing is a long process and sometimes lasts for even up to an year. This may include applying the external load such as internet traffic or may be user actions, this is what makes the endurance.

Main Goals of Endurance testing:

  • The prime goal of endurance testing is to check for memory leaks.
  • Discovers how system performs under the sustained usage.
  • To make sure that after a long period the system response time will remain the same or get better than the start of the test.
  • To decide the number of users /or transactions, if a given system will support and meets performance goals.
  • To handle the future loads: we need to understand how many additional resources are required to support usage in future.
  • Endurance testing is generally done by either overloading the system or may be by reducing certain system resources and verifying the consequences.

What we have to monitor in Endurance testing?

Endurance Testing image

In endurance testing the things that are tested 

  • Test memory leakage- constant checks are done to validate if there are any memory leakage in the application, which can cause crashing of the system or OS.
  • Test connection closure in between the layer of the system
  • Test database connection close successfully-If database connection isn’t closed, it may result in system crash.
  • Test response time- System is tested always for the response time because application becomes less efficient as a result of the long use of the system.

Jmeter in Endurance testing:

Consider an example where the endurance testing is performed in order to check the memory leakage by analyzing the heap memory used by the application.

  1. Add a dummy sample in the Apache Jmeter software
  2. some listeners
  3. create more number of threads, specify the thread  ramp up time and duration

and execute the test for 5 minutes

  1. we have to use the Visual VM which comes in JDK package to monitor the heap memory while starting the test.
  2. when we run the tests on the Java VM, we can get the reports of CPU memory usage etc.
Endurance Testing
  1. we can see the garbage collector which monitors the leakage of the heap
Endurance Testing

We will save the file. Now the test has been completed and the heap leakage has been reduced.

All IT Courses 50% Off
Facebook Comments

8 Comments

  1. Endurance testing is done to make sure the application is capable enough to handle extended load without any deterioration of response time. It mainly tests for memory leakage, Database connection close.
    It is a long process. External load like internet traffic and user actions are applied to check for working of software.

  2. As mentioned in the article about some advantages of endurance testing. There can be few drawback as well.

    It is often hard to define how much stress is worth applying.
    Endurance Testing could cause application and/or network failures that may result in significant disruption if Test Environment are not isolated. Permanent Data loss or corruption can occur by over-stressing the system.

  3. Endurance testing is non-functional type of testing where the software is tested with very high load which is extended over a significant amount of the time to verify the behavior of software application. The main goal of endurance testing is to make sure that the application is capable enough to handle extended load without compromising of response time and to check for memory leaks.

  4. Endurance testing is non-functional type of testing where the software is tested with very high load which is extended over a significant amount of the time to verify the behaviour of software application under sustained use. The main goal of endurance testing is to make sure that the application is capable enough to handle extended load without any deterioration of response time.

  5. Endurance testing is done to make sure the application is capable enough to handle extended load without any deterioration of response time. It mainly tests for memory leakage, Database connection close.
    It is a long process. External load like internet traffic and user actions are applied to check for working of software.

  6. Endurance testing is non-functional type of testing where the software is tested with very high load which is extended over a significant amount of the time to verify the behaviour of software application under sustained use. The main goal of endurance testing is to make sure that the application is capable enough to handle extended load without any deterioration of response time.

  7. Endurance testing is non-functional type of testing where the software is tested with very high load which is extended over a significant amount of the time to verify the behavior of software application under sustained use. The main goal of endurance testing is to make sure that the application is capable enough to handle extended load without any deterioration of response time. This sort of testing is performed at the last stage of the performance cycle. Endurance testing is a long process and sometimes lasts for even up to an year. This may include applying the external load such as internet traffic or may be user actions, this is what makes the endurance.
    Main Goals of Endurance testing:
    • The prime goal of endurance testing is to check for memory leaks.
    • Discovers how system performs under the sustained usage.
    • To make sure that after a long period the system response time will remain the same or get better than the start of the test.
    • To decide the number of users /or transactions, if a given system will support and meets performance goals.
    • To handle the future loads: we need to understand how many additional resources are required to support usage in future.
    • Endurance testing is generally done by either overloading the system or may be by reducing certain system resources and verifying the consequences.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Articles

Back to top button