8 lines
200 B
Bash
8 lines
200 B
Bash
#!/bin/bash
|
|
|
|
if [ "$1" ]; then
|
|
ab -n 100 -c 10 -T application/json -H "Authorization: Bearer $1" -v 4 http://10.67.6.4/api/me
|
|
else
|
|
echo "Please provide authorization token as the argument"
|
|
fi
|