Created
May 17, 2019 20:30
-
-
Save phouverneyuff/38d5cc51996d43a5c218c5a72a115e0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
time for ((i=1;i<=300;i++)); do \ | |
curl --silent -X POST \ | |
--happy-eyeballs-timeout-ms \ | |
-d'{"numero_conta": 1, "cpf": "12000", "valor_saldo": 1000000000.0, "nome_titular": "Zé pilintra"}' \ | |
-H "Content-Type: application/json" \ | |
http://localhost:8080/exemplo/contacorrente > /dev/null 2>&1 ; \ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment