mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-18 21:44: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. |
||
|---|---|---|
| .. | ||
| cmd/forfarm | ||
| internal | ||
| loadtest | ||
| migrations | ||
| .air.toml | ||
| .gitignore | ||
| go.dockerfile | ||
| go.mod | ||
| go.sum | ||
| makefile | ||