50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
|
|
╔═══════════════════════════════════════════════════════════════╗
|
|
║ ECHOES OF THE ASHES - API LOAD TESTING TOOL ║
|
|
╚═══════════════════════════════════════════════════════════════╝
|
|
|
|
Loading game data...
|
|
Loaded 14 locations, 28 items, 0 NPCs
|
|
|
|
Populating database with test data...
|
|
Creating 50 test users...
|
|
Created 50 test users
|
|
Spawning 140 dropped items...
|
|
Spawning 70 wandering enemies...
|
|
Database population complete!
|
|
|
|
|
|
============================================================
|
|
Starting load test with 50 concurrent users
|
|
Each user will make 20 requests
|
|
Total requests: 1000
|
|
============================================================
|
|
|
|
|
|
============================================================
|
|
LOAD TEST RESULTS
|
|
============================================================
|
|
|
|
Total Requests: 1000
|
|
Successful: 564 (56.4%)
|
|
Failed: 436 (43.6%)
|
|
Total Time: 7.68s
|
|
Requests/Second: 130.18
|
|
|
|
Response Time Statistics (successful requests):
|
|
Min: 2.48ms
|
|
Max: 301.39ms
|
|
Mean: 28.52ms
|
|
Median: 10.74ms
|
|
95th percentile: 167.92ms
|
|
99th percentile: 283.83ms
|
|
|
|
Breakdown by endpoint:
|
|
/game/inventory - 263 requests, 100.0% success, 19.27ms avg
|
|
/game/location - 221 requests, 100.0% success, 35.28ms avg
|
|
/game/move - 278 requests, 28.8% success, 40.27ms avg
|
|
/game/player - 238 requests, 0.0% success, 0.00ms avg
|
|
|
|
============================================================
|
|
|