Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use ab stress test

Shulou Source: shulou.com Published: 2022-06-03 08:47:35 12月06日 Update

ab is the abbreviation of Apache Benchmark, which is a web stress testing tool developed by Apache organization. The advantage is that it is easy to use and powerful in statistics.

centos installed

yum install apr-util

Ubuntu installation

sudo apt-get install apache2-utils

Pressure test interface

ab -n 100 http:10.0.12.111:9080/menu/tree

Common parameter description

-n Number of requests

- tRequest time in seconds

-c Number of concurrency

Tags: Powerful advantages easy to use functional powerful unit pressure parameters tools common interface time times testing tools abbreviations development testing statistics Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Information Docker MySQL Redmi