From da003a997d78a2eda0aa22c357f93bfc72e5444e Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Fri, 4 Apr 2025 22:01:00 +0700 Subject: [PATCH] fix: update base URL and reduce concurrent users for load test --- backend/loadtest/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/loadtest/main.go b/backend/loadtest/main.go index b39c3e0..5c7c240 100644 --- a/backend/loadtest/main.go +++ b/backend/loadtest/main.go @@ -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{}