5 lines
186 B
Bash
5 lines
186 B
Bash
#!/bin/bash
|
|
|
|
echo '{"username":"f01","password":"f01f01"}' > temp.json
|
|
ab -n 100 -c 10 -T application/json -p temp.json -v 4 http://ravenclaw.hogwarts.f01.com/api/auth/login
|
|
rm temp.json |