Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install apache benchmark on mac

I am trying to install Apache BenchMark on my macos(macOS Mojave) through brew using the command :

brew install homebrew/apache/ab

Getting this error:

Error: homebrew/apache was deprecated. This tap is now empty and all its contents were either deleted or migrated.
like image 221
Boney Avatar asked Sep 24 '20 09:09

Boney


People also ask

How do I use Apache benchmark tool?

Apache Bench (ab) is a load testing and benchmarking tool for Hypertext Transfer Protocol (HTTP) server. It can be run from command line and it is very simple to use. A quick load testing output can be obtained in just one minute.

What is Apache benchmark tool?

ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving.

What is AB Command Linux?

AB (Apache Benchmark) command line tool is usually installed by default in most Linux and UNIX systems (can be installed on Windows as well). It is a featured and simple command line tool to perform a load test against an HTTP/HTTPS API.


1 Answers

Note! ApacheBench (ab) is installed on macOS by default.

  • You can check that by using

ab -h [for help/information] [for checking ab version] ab -V

Ref: https://vyspiansky.github.io/2019/12/02/apache-bench-for-load-testing/

like image 159
Boney Avatar answered Oct 05 '22 03:10

Boney