Purpose of a stress test
The purpose of the stress test is to design and execute extreme testing scenarios that will cause the application to violate its Service Level Objectives. This is accomplished by increasing the workload on the application for both online and background transactions. The workload for the stress test is well above the normal workload day. A key outcome of the stress test; it allows you to find out how much headroom there is in the system before the user experience is severely impacted or the background processes slow down.
- For online transactions, the response time will start to increase under the workload as more users are added and as the transaction arrival rate increases.
- For background transactions, the component throughput will decrease as the workload increases. For example, starting at 10 Orders per second, it will slow down to three Orders per second.
Ultimately the workload is increased until the application breaks.
Stress test entry criteria
A large application stress test requires a large amount of preparation in order to get ready to run the tests and maximize the value from it. To successfully execute a Stress test, the starting performance of the application is critical to know. Is the application performing well under a normal workload? Otherwise, what is the value derived from the test if the application has not achieved the service level objectives before you start the stress test? Here is a sample checklist you can use to help determine if your application is ready for a stress test.
|1||Passed performance test scenarios and achieved the performance goals|
|2||Critical business transactions have met the service level objectives (list critical transactions)|
|3||Meeting current online transaction service level objectives|
|4||Meeting the background or batch service level objectives|
|5||Meeting the real-time messaging requirements, at or better than the desired throughput|
|6||Application is at the expected Release Level or version for production|
|7||At normal load, it is fitting within the Batch window|
|8||The Stress testing system and application configuration is like production configuration|
|9||Data in the database is at the expected production size.|