diff --git a/aula-04/README.md b/aula-04/README.md index 13003ef..005d760 100644 --- a/aula-04/README.md +++ b/aula-04/README.md @@ -134,7 +134,7 @@ kubectl get pods -w # Ou manualmente: for i in {1..100}; do - curl -s -o /dev/null -w "%{http_code}\n" http://localhost/ + curl -s -o /dev/null -w "%{http_code}\n" http://localhost:3000/ sleep 0.1 done ``` diff --git a/aula-04/teste-stress.sh b/aula-04/teste-stress.sh index 8da00e1..cebed1e 100755 --- a/aula-04/teste-stress.sh +++ b/aula-04/teste-stress.sh @@ -3,7 +3,7 @@ # Teste de Stress para verificar resiliência do Ingress # Uso: ./teste-stress.sh [URL] [NUM_REQUESTS] -URL="${1:-http://localhost}" +URL="${1:-http://localhost:3000}" TOTAL="${2:-50}" TIMEOUT=120