# post.json contains the json you want to post
# -p means POST
# -T sets the Content-Type
# -c is concurrent clients
# -n is the number of requests to run in the test
#!/bin/bash
ab -n 200 -c 10 -T 'application/json' -p post.json http://127.0.0.1:8002/webapi/
post.json
{
"jsonrpc": "2.0",
"method": "test_method",
"params": [1442885518, 1442892718,"testDomain_80"],
"id": "1"
}