fix: update base URL and reduce concurrent users for load test

This commit is contained in:
THIS ONE IS A LITTLE BIT TRICKY KRUB 2025-04-04 22:01:00 +07:00
parent c0a8a8a6be
commit da003a997d

View File

@ -81,8 +81,8 @@ func hitEndpoint(wg *sync.WaitGroup, url string, metrics *Metrics) {
}
func main() {
baseURL := "http://localhost:8000/inventory/status"
concurrentUsers := 1000
baseURL := "http://localhost:8000/plant"
concurrentUsers := 200
var wg sync.WaitGroup
metrics := &Metrics{}