diff --git a/README.md b/README.md index 42a9fb0..f0a92f3 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,31 @@ Arguments: The request url,like http://www.google.com Options: - -t, --threads The thread count [default: 20] - -s, --sleep-seconds The thread count [default: 3] - -h, --help Print help - -V, --version Print version + -c, --threads + Number of workers to run concurrently. Total number of requests cannot be smaller than the concurrency level. Default is 50.. [default: 50] + -z, --sleep-seconds + Duration of application to send requests. When duration is reached,application stops and exits [default: 5] + -h, --help + Print help + -V, --version + Print version +``` + +## The report +``` +kt -c 100 -z 5 http://127.0.0.1:80 +``` +Run the above command to generate the following report: +``` +Summary: + Total: 5000 millisecond + Slowest: 15 millisecond + Fastest: 0 millisecond + Average: 0 millisecond + Requests/sec: 156344 + Total data: 44558040 bytes + Size/request: 57 bytes + +Status code distribution: + [200] 781720 responses ``` \ No newline at end of file