Install the webbentch stress testing tool in ubuntu 14.04 LTS, 14.04 webbentch

Source: Internet
Author: User
Tags cipher suite

Install the webbentch stress testing tool in ubuntu 14.04 LTS, 14.04 webbentch

1. Security AB command

[Plain]View plaincopy
  1. Sudo apt-get install apache2-utils

2. AB command parameter description

[Plain]View plaincopy
  1. Usage: AB [options] [http [s]: //] hostname [: port]/path
  2. Options are:
  3. // Total number of requests
  4. -N requests Number of requests to perform
  5. // Total number of concurrent requests (n) = count * Number of concurrent requests (c)
  6. -C concurrency Number of multiple requests to make
  7. -T timelimit Seconds to max. wait for responses
  8. -B windowsize Size of TCP send/receive buffer, in bytes
  9. -P postfile File containing data to POST. Remember also to set-T
  10. -U putfile File containing data to PUT. Remember also to set-T
  11. -T content-type Content-type header for POSTing, eg.
  12. 'Application/x-www-form-urlencoded'
  13. Default is 'text/plain'
  14. -V verbosity How much troubleshooting info to print
  15. -W Print out results in HTML tables
  16. -I Use HEAD instead of GET
  17. -X attributes String to insert as table attributes
  18. -Y attributes String to insert as tr attributes
  19. -Z attributes String to insert as td or th attributes
  20. -C attribute Add cookie, eg. 'apache = 1234. (repeatable)
  21. -H attribute Add Arbitrary header line, eg. 'Accept-Encoding: gzip'
  22. Inserted after all normal header lines. (repeatable)
  23. -A attribute Add Basic WWW Authentication, the attributes
  24. Are a colon separated username and password.
  25. -P attribute Add Basic Proxy Authentication, the attributes
  26. Are a colon separated username and password.
  27. -X proxy: port Proxyserver and port number to use
  28. -V Print version number and exit
  29. -K Use HTTP KeepAlive feature
  30. -D Do not show percentiles served table.
  31. -S Do not show confidence estimators and warnings.
  32. -G filename Output collected data to gnuplot format file.
  33. -E filename Output CSV file with percentages served
  34. -R Don't exit on socket receive errors.
  35. -H Display usage information (this message)
  36. -Z ciphersuite Specify SSL/TLS cipher suite (See openssl ciphers)
  37. -F protocol Specify SSL/TLS protocol (SSL2, SSL3, TLS1, or ALL)

3. Run the AB-n 100-c 10 http://www.meetu.hk/100 requests to the http://www.meetu.hk/, 10 concurrent request stress test results.

[Plain]View plaincopy
  1. Server Software: lighttpd/1.4.20
  2. Server Hostname: www.meetu.hk
  3. Server Port: 80
  4. Document Path :/
  5. Document Length: 2095 bytes
  6. Concurrency Level: 10
  7. // Test duration
  8. Time taken for tests: 3.303 seconds
  9. // Number of completed requests
  10. Complete requests: 100
  11. Failed requests: 0
  12. Write errors: 0
  13. Total transferred: 235200 bytes
  14. HTML transferred: 209500 bytes
  15. // Process 30 requests per second on average
  16. Requests per secondd: 30.27 [#/sec] (mean)
  17. // The average processing time of each request is 330 milliseconds. Note: Here, 10 concurrent requests are regarded as a whole.
  18. Time per request: 330.335 [MS] (mean)
  19. // The average processing time of each concurrent request is 33 Ms
  20. Time per request: 33.034 [MS] (mean, internal SS all concurrent requests)
  21. Transfer rate: 69.53 [Kbytes/sec] canceled ed
  22. Connection Times (MS)
  23. Min mean [+/-sd] median max
  24. Connect: 51 170 35.9 178 230
  25. Processing: 60 153 64.5 121 263
  26. Waiting: 55 148 64.4 115
  27. Total: 235 322 59.9 299
  28. Percentage of the requests served within a certain time (MS)
  29. // 100 of these 50% requests are completed within 299 milliseconds
  30. 50% 299
  31. // 100 of these 66% requests are completed within 312 milliseconds
  32. 66% 312
  33. 75% 383
  34. 80% 412
  35. 90% 431
  36. 95% 432
  37. 98% 436
  38. 99% 437
  39. 100% 437 (longest request)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.