mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-19 22:14:08 +01:00
- Implemented a load testing utility in main.go to simulate concurrent requests to the inventory status endpoint. - Introduced a Metrics struct to track successes, failures, and response times. - Added functionality to calculate and print a summary of the load test results, including total requests, success rate, and response time statistics. - Utilized goroutines and a WaitGroup to handle concurrent HTTP requests efficiently. |
||
|---|---|---|
| .. | ||
| main.go | ||