From 204ffbb024ca82f07a8375b156859cc74c962886 Mon Sep 17 00:00:00 2001 From: n0nag0n Date: Sun, 17 Aug 2025 11:22:00 -0600 Subject: [PATCH] Update tests/performance/performance_tests.sh Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- tests/performance/performance_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/performance/performance_tests.sh b/tests/performance/performance_tests.sh index 4b277d9..12978f5 100644 --- a/tests/performance/performance_tests.sh +++ b/tests/performance/performance_tests.sh @@ -1,6 +1,7 @@ #!/bin/bash -URL="http://firefly74.com/flight-test/test-static" +# Allow URL to be set via environment variable or first command-line argument, default to localhost for safety +URL="${URL:-${1:-http://localhost:8080/test-static}}" REQUESTS=1000 CONCURRENCY=10 ITERATIONS=10