Chapter 3

Designing a Test Case

Introduction

It is important to perform load tests, but it is even more important to test with the right scenarios. In this chapter, we will see some tips for designing the most realistic test scenario.

Warning

It's important to understand that a load test is only a simulation. This implies that despite all the possible and imaginable tests, you don't have a 100% guarantee that everything will proceed smoothly in production. There will always be an unplanned case (failure of a part of the system, unanticipated customer action, and so on).

To increase the chances of success, it's important to also work on the architecture (design for failure and so on) and the deployment process (canary release and so on). ...

Get Master Apache JMeter - From Load Testing to DevOps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.