node-http-perf
node-http-perf copied to clipboard
Post method
I love this package, but what about make a post method?
How do you envision it being used? Specifically, how do you think that PUT/POST data should be specified?
Ideally can be useful indicate the method with -m <METHODNAME>
and use GET
by default.
For de data just -d
and in the config similar convert the command in the verbose mode:
{
method: "POST",
data: "{'hello':'world`}"
}
common CLI for test load use -P option for indicate that is a POST
method (https://www.npmjs.com/package/loadtest) or use -M parameter and later specify the method (like -M POST
)