Performance testing
The crux of this book has been to ensure our Java applications perform at the highest possible level. Several strategies, tools, and techniques have been presented to help us achieve our goal of high performance. In the previous section, we covered unit testing to help us ensure proper functionality. With performance testing, we will test our applications to see whether they can perform under various conditions and loads. This testing strategy involves evaluating the following characteristics of our applications: efficiency (speed), stability, responsiveness, reliability, and scalability.
There are several primary objectives of performance testing, including the determination of whether performance criteria have been met. We also want to identify performance bottlenecks so that we can refine our code. An additional objective is to ensure that our application can handle anticipated system and user loads.
Types and tools
The five primary types of performance...