Commit | Line | Data |
---|---|---|
a8706532 JB |
1 | #!/usr/bin/env bash |
2 | ||
3 | set -e | |
4 | ||
5 | for ((request=1;request<=60;request++)) | |
6 | do | |
7 | time curl -i -H "Content-Type: application/json" -X POST -d '{"key1":"value1", "key2":"value2"}' http://localhost:8080/api/echo | |
8 | done | |
16100564 JB |
9 | |
10 | ||
11 | for ((request=1;request<=60;request++)) | |
12 | do | |
13 | time curl -i http://localhost:8080/api/factorial/30 | |
14 | done |