Simple example of sending parallel CURL requests
Installation
# apt-get install parallel
Usage
// Execute 4 parallel requests in total (seq4) with -j2(2 concurrency)
# seq 4 | parallel -n0 -j2 \
"curl -H 'Content-Type: application/json' \
-X GET http://127.0.0.1/~jxiang/response_GET.php"
No comments:
Post a Comment