Link Search Menu Expand Document

Summary

Gotchas

  • include trailing ‘/’
  • TODO: verify
    • its a http/1.0 client, won’t work w/keep alive of pages w/dynamic content
    • can’t used chunked encoding

Synopsis

Options

-c Number of concurrent requests to perform at a time

-n Number of request

  • type -k : Enable HTTP Keep alive -f [SSL2|SSL3|TLS1|ALL] Specify protocol -H ```
    • colon separated field value pair e-> “Accept-Encoding: zip/zop;8bit” ```

Cook

ab -n 1000 -c 5 $url
ab -n 10000000000 -c 25 $url

ab -c 5 -n 100 $url

# ping in a loop
while [ true ]; do ab -c 2 -n 100 $url; done

Copyright © 2020 Thence LLC