§1
Defining performance goals
Performance testing starts with clear goals, not tools. How many users or requests must the system handle at peak? How fast must key pages and APIs respond? What error rate is acceptable under load? Without agreed targets, test results become interesting numbers rather than evidence for a decision about whether a release is ready.
Base targets on real data where possible. Analytics, server logs and business forecasts show current traffic patterns, peak hours and expected growth from campaigns, seasonal events or new customers. A festival sale, an exam result announcement or a payroll date can create very different load shapes than an average day.
Focus on user journeys rather than isolated endpoints. Users search, browse, add to cart and pay in sequence, and the system's behavior depends on that mix. Realistic workload models combine these journeys in proportions that match actual or expected usage.
Agree service level objectives for the most important journeys, such as checkout completing within a defined time for most users. These objectives become pass criteria for testing and later guide production monitoring, so performance remains a measured quality rather than an afterthought.


