============================================================ MEDICAL AI PLATFORM - MONITORING LOAD TEST ============================================================ Target: http://localhost:7860 Started: 2025-10-29T15:13:52.917235 ============================================================ Testing: /health Requests: 50 ============================================================ Progress: 10/50 Progress: 20/50 Progress: 30/50 Progress: 40/50 Progress: 50/50 Results for /health: Total Requests: 50 Successful: 50 (100.0%) Failed: 0 (0.0%) Latency Statistics: Mean: 1.40 ms Median: 1.32 ms Min: 1.28 ms Max: 3.31 ms Std Dev: 0.35 ms ============================================================ Testing: /health/dashboard Requests: 30 ============================================================ Progress: 10/30 Progress: 20/30 Progress: 30/30 Results for /health/dashboard: Total Requests: 30 Successful: 30 (100.0%) Failed: 0 (0.0%) Latency Statistics: Mean: 1.45 ms Median: 1.44 ms Min: 1.43 ms Max: 1.60 ms Std Dev: 0.03 ms ============================================================ Testing: /admin/cache/statistics Requests: 20 ============================================================ Progress: 10/20 Progress: 20/20 Results for /admin/cache/statistics: Total Requests: 20 Successful: 20 (100.0%) Failed: 0 (0.0%) Latency Statistics: Mean: 1.68 ms Median: 1.32 ms Min: 1.29 ms Max: 8.32 ms Std Dev: 1.56 ms ============================================================ VERIFYING MONITORING ACCURACY ============================================================ Initial request count: 102 Making 20 test requests... Final request count: 123 Monitoring Accuracy: Expected increase: 20 Actual increase: 21 Accuracy: 105.0% PASS: Monitoring is accurately tracking requests ============================================================ TESTING CACHE EFFECTIVENESS ============================================================ Initial cache state: Hits: 12 Misses: 20 Hit Rate: 37.5% Making 30 requests to test caching... Final cache state: Hits: 22 Misses: 41 Hit Rate: 34.9% Cache Performance: Hit increase: 10 Miss increase: 21 Current hit rate: 34.9% ============================================================ COMPREHENSIVE LOAD TEST REPORT ============================================================ Generated: 2025-10-29T15:13:55.152365 Overall Statistics: Total Requests: 100 Successful: 100 (100.0%) Failed: 0 (0.0%) Global Latency Statistics: Mean: 1.47 ms Median: 1.34 ms Min: 1.28 ms Max: 8.32 ms Breakdown by Endpoint: /admin/cache/statistics: Requests: 20 Success Rate: 100.0% Avg Latency: 1.68 ms /health: Requests: 50 Success Rate: 100.0% Avg Latency: 1.40 ms /health/dashboard: Requests: 30 Success Rate: 100.0% Avg Latency: 1.45 ms Load testing complete! ============================================================ ALL TESTS COMPLETED SUCCESSFULLY ============================================================