Develop/Linux

Json curl and a/b benchmark

시크라기 2018. 11. 13. 13:13

Send curl with json data from file.

curl -X POST -H "Content-Type: application/json" -d @ab_post_data.json {{url}}


a/b benchmark with json data from file.

ab  -n 10000 -c 100 -T application/json -p /home/rock/ab_post_data.json {{url}}