Deploy load_test_results.txt to backend/ directory
Browse files- backend/load_test_results.txt +136 -0
backend/load_test_results.txt
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
============================================================
|
| 2 |
+
MEDICAL AI PLATFORM - MONITORING LOAD TEST
|
| 3 |
+
============================================================
|
| 4 |
+
Target: http://localhost:7860
|
| 5 |
+
Started: 2025-10-29T15:13:52.917235
|
| 6 |
+
|
| 7 |
+
============================================================
|
| 8 |
+
Testing: /health
|
| 9 |
+
Requests: 50
|
| 10 |
+
============================================================
|
| 11 |
+
Progress: 10/50
|
| 12 |
+
Progress: 20/50
|
| 13 |
+
Progress: 30/50
|
| 14 |
+
Progress: 40/50
|
| 15 |
+
Progress: 50/50
|
| 16 |
+
|
| 17 |
+
Results for /health:
|
| 18 |
+
Total Requests: 50
|
| 19 |
+
Successful: 50 (100.0%)
|
| 20 |
+
Failed: 0 (0.0%)
|
| 21 |
+
|
| 22 |
+
Latency Statistics:
|
| 23 |
+
Mean: 1.40 ms
|
| 24 |
+
Median: 1.32 ms
|
| 25 |
+
Min: 1.28 ms
|
| 26 |
+
Max: 3.31 ms
|
| 27 |
+
Std Dev: 0.35 ms
|
| 28 |
+
|
| 29 |
+
============================================================
|
| 30 |
+
Testing: /health/dashboard
|
| 31 |
+
Requests: 30
|
| 32 |
+
============================================================
|
| 33 |
+
Progress: 10/30
|
| 34 |
+
Progress: 20/30
|
| 35 |
+
Progress: 30/30
|
| 36 |
+
|
| 37 |
+
Results for /health/dashboard:
|
| 38 |
+
Total Requests: 30
|
| 39 |
+
Successful: 30 (100.0%)
|
| 40 |
+
Failed: 0 (0.0%)
|
| 41 |
+
|
| 42 |
+
Latency Statistics:
|
| 43 |
+
Mean: 1.45 ms
|
| 44 |
+
Median: 1.44 ms
|
| 45 |
+
Min: 1.43 ms
|
| 46 |
+
Max: 1.60 ms
|
| 47 |
+
Std Dev: 0.03 ms
|
| 48 |
+
|
| 49 |
+
============================================================
|
| 50 |
+
Testing: /admin/cache/statistics
|
| 51 |
+
Requests: 20
|
| 52 |
+
============================================================
|
| 53 |
+
Progress: 10/20
|
| 54 |
+
Progress: 20/20
|
| 55 |
+
|
| 56 |
+
Results for /admin/cache/statistics:
|
| 57 |
+
Total Requests: 20
|
| 58 |
+
Successful: 20 (100.0%)
|
| 59 |
+
Failed: 0 (0.0%)
|
| 60 |
+
|
| 61 |
+
Latency Statistics:
|
| 62 |
+
Mean: 1.68 ms
|
| 63 |
+
Median: 1.32 ms
|
| 64 |
+
Min: 1.29 ms
|
| 65 |
+
Max: 8.32 ms
|
| 66 |
+
Std Dev: 1.56 ms
|
| 67 |
+
|
| 68 |
+
============================================================
|
| 69 |
+
VERIFYING MONITORING ACCURACY
|
| 70 |
+
============================================================
|
| 71 |
+
Initial request count: 102
|
| 72 |
+
|
| 73 |
+
Making 20 test requests...
|
| 74 |
+
Final request count: 123
|
| 75 |
+
|
| 76 |
+
Monitoring Accuracy:
|
| 77 |
+
Expected increase: 20
|
| 78 |
+
Actual increase: 21
|
| 79 |
+
Accuracy: 105.0%
|
| 80 |
+
PASS: Monitoring is accurately tracking requests
|
| 81 |
+
|
| 82 |
+
============================================================
|
| 83 |
+
TESTING CACHE EFFECTIVENESS
|
| 84 |
+
============================================================
|
| 85 |
+
Initial cache state:
|
| 86 |
+
Hits: 12
|
| 87 |
+
Misses: 20
|
| 88 |
+
Hit Rate: 37.5%
|
| 89 |
+
|
| 90 |
+
Making 30 requests to test caching...
|
| 91 |
+
|
| 92 |
+
Final cache state:
|
| 93 |
+
Hits: 22
|
| 94 |
+
Misses: 41
|
| 95 |
+
Hit Rate: 34.9%
|
| 96 |
+
|
| 97 |
+
Cache Performance:
|
| 98 |
+
Hit increase: 10
|
| 99 |
+
Miss increase: 21
|
| 100 |
+
Current hit rate: 34.9%
|
| 101 |
+
|
| 102 |
+
============================================================
|
| 103 |
+
COMPREHENSIVE LOAD TEST REPORT
|
| 104 |
+
============================================================
|
| 105 |
+
Generated: 2025-10-29T15:13:55.152365
|
| 106 |
+
|
| 107 |
+
Overall Statistics:
|
| 108 |
+
Total Requests: 100
|
| 109 |
+
Successful: 100 (100.0%)
|
| 110 |
+
Failed: 0 (0.0%)
|
| 111 |
+
|
| 112 |
+
Global Latency Statistics:
|
| 113 |
+
Mean: 1.47 ms
|
| 114 |
+
Median: 1.34 ms
|
| 115 |
+
Min: 1.28 ms
|
| 116 |
+
Max: 8.32 ms
|
| 117 |
+
|
| 118 |
+
Breakdown by Endpoint:
|
| 119 |
+
/admin/cache/statistics:
|
| 120 |
+
Requests: 20
|
| 121 |
+
Success Rate: 100.0%
|
| 122 |
+
Avg Latency: 1.68 ms
|
| 123 |
+
/health:
|
| 124 |
+
Requests: 50
|
| 125 |
+
Success Rate: 100.0%
|
| 126 |
+
Avg Latency: 1.40 ms
|
| 127 |
+
/health/dashboard:
|
| 128 |
+
Requests: 30
|
| 129 |
+
Success Rate: 100.0%
|
| 130 |
+
Avg Latency: 1.45 ms
|
| 131 |
+
|
| 132 |
+
Load testing complete!
|
| 133 |
+
|
| 134 |
+
============================================================
|
| 135 |
+
ALL TESTS COMPLETED SUCCESSFULLY
|
| 136 |
+
============================================================
|