File size: 3,086 Bytes
fceb168 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
============================================================
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
============================================================
|