IT WORKED ON YOUR MACHINE.
NOT ON OURS.
Grafana k6 harness for Rinha de Backend 2024/Q1. Run debit, credit, statement, validation, and missing-client checks with source-backed VU targets.
TEST SCENARIOS
validacoes
Five VUs, one per configured client, verify initial limits, credit/debit consistency, recent transaction order, and invalid payload handling.
cliente_nao_encontrado
One VU keeps missing-client behavior visible by asserting the non-existent client statement route returns 404.
debitos
Ramps debit transactions to 220 VUs, accepts 200 or overdraft 422 responses, and checks successful balances against the client limit.
creditos
Ramps credit transactions to 110 VUs and expects successful responses that preserve the same balance-limit contract.
extratos
Ten VUs fetch account statements and verify that the reported total still respects the configured negative limit.
⚡ Stress Test Results
Built from the checked-in k6 script and bundled with xk6-output-influxdb. The suite measures latency, status handling, and balance consistency across the Rinha banking API endpoints.