20.18.0
sudo apt update
sudo apt install -y gnupg software-properties-common ca-certificates curl
curl -fsSL https://dl.k6.io/key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/k6-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/k6-archive-keyring.gpg] https://dl.k6.io/deb stable main" | sudo tee /etc/apt/sources.list.d/k6.list
sudo apt update
sudo apt install k6
choco install k6
brew install k6
k6 run scripts/load_test.js
k6 run scripts/capacity_planning.js
k6 run scripts/spike_test.js
k6 run scripts/resilience_test.js
k6 run scripts/stress_test.js
Durante o teste de performance, observe atentamente métricas de desempenho, como uso de CPU, memória, latência de resposta e taxa de erros.