Created
August 6, 2018 12:48
-
-
Save albovieira/8446db6aae7cb9e5fe3e4ed5eea43dc9 to your computer and use it in GitHub Desktop.
while loop
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/sh | |
a=0 | |
while [ $a -lt 100000 ] | |
do | |
curl -X POST \ | |
http://localhost:3000/auth/login \ | |
-H 'Cache-Control: no-cache' \ | |
-H 'Content-Type: application/json' \ | |
-H 'Postman-Token: d268322e-137b-485d-9cc8-ae1af3121a0b' \ | |
-d '{ | |
"email":"albovieira@gmail.com", | |
"password": "Al1032299" | |
}' | |
a=`expr $a + 1` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment