Linux Web stress test tool Webbench

Source: Internet
Author: User
Tags nginx server

have been more like Ubuntu, but also suddenly found a long time did not toss Ubuntu, haha, a long time does not engage, preface, technology, this dongdong, still need to constantly toss.

In fact, used to do stress testing, AB use more, and then in the Big Brother's blog to see Webbench, and then they also bought and sell the next, you can.

Why to carry on the pressure test, plainly, is tests your code execution carrying capacity, may the small website not have any feeling, because their daily IP also is thousands of just, the general server does not have the optimized, also may cover,

But the big Web sites are very focused on these stress tests, because they're focused on millions traffic,

What is Webbench?

Webbench is a renowned website stress testing tool that is developed by Lionbridge companies.

Official website: http://home.tiscali.cz/~cz210552/webbench.html
Webbech can test on the same hardware, the performance of different services and the health of the same service on different hardware. Webbech's standard test can show us two things about the server: the corresponding requests per second and the amount of data transmitted per second. Webbench not only has the ability to test static pages, but also the ability to test dynamic pages (asp,php,java,cgi). And he supports static or dynamic performance testing of secure Web sites, such as E-commerce sites, that contain SSL.

Webbench can simulate a maximum of 30,000 concurrent connections to test the load capacity of the site, personal feeling than the Apache with the AB pressure test tool is good, installation and use is particularly convenient.

1, the application of the system: Linux (native test is Ubuntu 10.04, because I virtual machine testing, configuration is not very good, we toss it. )

2, Ubuntu compile installation:

wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz
Tar zxvf webbench-1.5.tar.gz
CD webbench-1.5
Make && make install
3. Use:

Reference
Webbench-c 500-t http://127.0.0.1/php.php

Parameter Description:-C Indicates the number of concurrent,-T represents time (seconds)

4. Sample test results:

Reference
Webbench–simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.Benchmarking:GET http://127.0.0.1/php.php
Clients, running Sec.
speed=3230 pages/min, 11614212 bytes/sec.
requests:1615 susceed, 0 failed.

It's a test, yes, webbench-c 500-t http://192.168.1.96/php.php


Immediately let my VM on the Nginx server when off, Khan ~ ~

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.