Skip to main content

Stress Testing

Stress Testing is the testing to verify the response/output of the software beyond the breaking point of the system. In Stress Testing, Test team focus on robustness, availability and the error handling under the heavy load rather then correct behavior under normal circumstances. It is the type of non functional testing.

Stress Testing is also the type of Performance Testing. The goal of Stress Testing to identify the issues which can be generated in the extreme conditions. To check the performance of the system in extreme and unfavorable conditions ( heavy load, Heavy Network Traffic, underclocking, overlocking and maximum request of resources utilization) is called Stress Testing.

Basically in Stress Testing, Test team try to break the system with overwhelming its resources or some resources are taking away from it. The reason to do this to check when the system fail then how system will recover the data gracefully.

In Web Application following are the example for Stress Testing
  • Double the HTTP connections
  • Resource Reduction such as a dick drive failure
  • Unexpected Sequencing
  • Unexpected Concurrent requests
  • Randomly shut down the Network that connect to the servers
  • Take the Database offline and then restart it
  • Run the processes that consume resources(CPU, Memory, network) on the Web and Database servers.
Observe how the system react over these changes that showing above
  • Does it save its state?
  • Does the application hang or Freeze?
  • Does it Fail gracefully?
  • On restart does it recover from the last good state?
  • does the system output error free?
  • is the security of the system compromised due to unexpected failure of system?
Reasons of Stress Testing
  • Identify the braking point of the system and safe usage limit
  • to confirm mathematical model to is accurate enough  in predicting breaking point of the software
  • To verify the intendant specifications are met
  • to determine how the system will fail

Comments

Popular posts from this blog

What is API?

In general way, API (Application Programming Interface) is the intermediate software which is useful for two applications to communicate. API is the tool which is used for interaction of two applications. If developer developing any software which have multiple blocks (Modules) than developer use APIs to put them together.

How to Put Load on a Script in JMeter

In last post we discussed about how to record a test script and Firefox settings to run the script. In this post we will discuss about how the Thread Group will work, how can we put n number of users to perform load testing, In JMeter by using Thread Group, we can create virtual users. Thread Group is a set of thread which work in same scenario. There are multiple thread group are available which is use to configure how the virtual users interest with the application, How much load maintain and till how much time load maintain.

Why testing is necessary?

Before start learning of Testing i would like to ask one thing - why testing is necessary? In each and every field 'Testing' is the important phase of product development cycle. Without testing no one ensure the quality of the product. The product can be anything it may be a Car, a Machine, a Medicine , a Software etc, it need to fully tested. Only after testing you can say the product that you build have good quality. Only after testing you can release your product in market. if you release your product in market without testing then it may be possible that your product have serious issue that cause the negative effect on your business. So Testing on important. Now we talk about the Testing importance in Software Development. Testing is necessary because everyone makes mistakes and sometimes these errors are expensive or dangerous. Testing is required to test every part because things can always go wrong. Today is the market of Internet and if you leave any mist...