11 Load-Testing to Find and Fix Scalability Problems - TechTarget
Load-Testing to Find and Fix Scalability Problems 11 IN THIS CHAPTER “Software bugs are impossible to detect by anybody except the end user.” Murphy’s Technology Laws The Importance of Load-Testing Server-side applications have service-level requirements that specify the availability, scalability, and failover: . The Importance of Load-Testing 105 . Load-Testing RMI-Based Servers with JUnit 107 . Load-Testing with JMeter 110 . Quick Quiz 119 . In Brief 120 . Availability—Specifies the up-time requirements that describe how long the application needs to be capable of running without restarting . Scalability—Specifies the capability of the application to provide the same level of service as the number of requests increases . Failover—Specifies the capability of the application to continue providing the same level of service when one of the application components fails A typical development cycle allocates time for unit testing and integration testing, which generally focuses on functionality, but it does not always provide time for loadtesting. The purpose of load-testing is to assess how the system performance meets service-level requirements under load. Obviously, every system’s response time degrades as the load increases, but as long as it meets the specified requirements, the system is considered to be scalable.