# Load & Performance Testing Plan ## Locust Load Test Scenarios --- ## 1. Catalog Browsing & Search Spike Test * Target: 5,000 concurrent users searching and filtering OpenSearch. * Goal: Verify P95 search latency stays under $80\text{ ms}$. ## 2. Concurrent Checkout & Stock Reservation Test * Target: 500 concurrent checkouts purchasing the exact same `variant_id`. * Goal: Verify Redis distributed locking prevents double-selling and stock balances remain exact. ## 3. POS Synchronization Batch Load Test * Target: 50 POS terminals posting 1,000 offline transactions simultaneously. * Goal: Verify zero duplicate invoice creation and sub-100ms response time per terminal batch.