Linux serverlinux web serverNETWORK ADMINISTRATIONS

How to Use Apache Bench to Load Test Your Website (ab linux command tutorial)

Learn how to use the Apache Bench ab linux command to stress test your website by sending it loads of traffic simultaneously.

Code snippets and ab install instructions at https://tonyteaches.tech/apache-bench-tutorial/

Check out my vlog channel @TonyFlorida

#apache @apachebench #ab #loadtesting

source

by Tony Teaches Tech

linux web server

12 thoughts on “How to Use Apache Bench to Load Test Your Website (ab linux command tutorial)

  • what does memory have to do with the requests ? why it was filled with more requests ?

  • good day sir, pls i need your help. can this software be helpful for me to carry out my project on lload balancing during server failover. pls sir, where can i get data on server capacity, CPU Capacity and RAM. Thanks so much am gratful

  • i normally do the ab test with sql queries , like select 1000 records from the database, am i doing it wrong ?🙃

  • cool. is there a way to define a set of custom HTTP requests (GET and POST, with arbitrary parameters/request bodies) and feed that to the ab tool?

  • Hello, Thank;s for sharing video. can i request at the same time with countcurent user 800 user ?

  • Having issues with sending certificate in each request with -E option. Says wrong number of arguments. The form i've sent them in is -E ~/root_to_.pem ~/root_to.key. Am i doing it wrong? Thanks

  • Hey, thanks for the video. I am working on ab command for pressure testing. would you mind sharing the spec of machine being tested here?
    it might help for us to get a sense of the outcome of machine grade. 🙏

  • Would the results of the "ab" command be different if you were to run the command on the same server that you were testing? I'm guessing that it would slow down the results since running the command takes some processing power from the host computer aswell. let me know what you think.

  • Hi Tony , Thanks for the video ..!!! I am newbie for apache web server , but some knowledge …. Can you make a video on Pre-fork , mpm , event modules , how to configure them and also their terminologies, with this kind of load testing. If possible how to configure (How many cores and Cpu's needed ) a web server with Mysql DB handling many requests .

    Thanks in advance ..!!

Comments are closed.