"Performance Test Tool"-webbench

Source: Internet
Author: User
Tags benchmark

Advantage: Simulation of concurrency is greater; disadvantage: statistical results are limited

Overview:

Webbench, developed by Lionbridge Inc. (http://www.lionbridge.com), is a Web site stress testing tool under Linux that emulates up to 30,000 concurrent connections to test the load capacity of a Web site. Using the fork () function to generate a certain number of concurrent requests, the supported request protocols include http/0.9----http/1.1 ("HTTP 0.9/1.0/1.1" http://www.cnblogs.com/musicmovie/p/ 3892648.html). The results returned include pages/min and Bytes/sec, which represent the corresponding requests per minute and the amount of data transferred per second. Webbench not only has the ability to test static pages, but also has the ability to test dynamic pages (asp,php,java,cgi). Also, it supports static or dynamic performance testing of secure websites that contain SSL, such as e-commerce sites. Note: Webbench When doing stress tests, the software itself consumes CPU and memory resources, in order to test the accuracy, please Webbench installed on a different server.

Official address: http://home.tiscali.cz/~cz210552/webbench.html

Installation:
Tar zxvf webbench-1.5.tar.gz
CD webbench-1.5
Make && make install

Basic use:

Example 1

xxxxxxxxxxxxxxxx$ webbench-c 10-t 5 http://www.douban.com//* Concurrency number is 10, execution time is 5 seconds */

Webbench-simpleweb Benchmark 1.5

Copyright (c) radimkolar 1997-2004, GPL Open Source software.

Benchmarking:get http://www.douban.com/

Ten clients, Running5 sec.

Result of Instance 1

Speed= 31152pages/min, 158051bytes/sec. /* Number of response requests per minute: 31152pages/min, data transfer per second 158051 bytes/sec.*/

requests:2596 susceed,0 failed.

Example 2

xxxxxxxxxxxxxxxx$ webbench-c 10-t 5-f http://www.douban.com//* More than ' instance 1 ' with an-f parameter, indicating unequal server response */

Webbench-simpleweb Benchmark 1.5

Copyright (c) radimkolar 1997-2004, GPL Open Source software.

benchmarking:gethttp://www.douban.com/

Clients, Running5 sec, early socket close.

Result of Instance 2

Speed=63144pages/min, 0 bytes/sec. /* After using the-f parameter, the number of requests sent is significantly greater, but only if the server is strong enough.

Requests:5262susceed, 0 failed. /* No fail request */

Parameter description:

-f|--force Don ' t wait for reply fromserver.

-r|--reload Send Reload Request-pragma:no-cache.

-t|--time <sec> Run benchmark for <sec>seconds. Default 30.

-p|--proxy <server:port> use ProxyServer for request.

-c|--clients <n> Run <n> HTTP clients at once. Default one.

-9|--HTTP09 use http/0.9 style requests.

-1|--HTTP10 use http/1.0 protocol.

-2|--HTTP11 use http/1.1 protocol.

--get use Get Request method.

--head use Head request method.

--options use Options Request method.

--trace use trace request method.

-?| -h|--help this information.

-v|--version Display program version.

discussion / Questions:

    • How can I convert my test results to TPS?
    • What is the relationship between speed and request in the test results?

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.