{"id":100285,"date":"2022-09-09T14:01:00","date_gmt":"2022-09-09T18:01:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=100285"},"modified":"2023-10-26T14:35:14","modified_gmt":"2023-10-26T18:35:14","slug":"stress-test-with-apachebench","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/","title":{"rendered":"How to Stress Test Your Website With ab (ApacheBench)"},"content":{"rendered":"<p>The <strong>ab<\/strong> command also known as ApacheBench is a command line benchmarking tool for testing the amount of time it takes your server to respond to HTTP requests. You can use this information to determine the estimated number of simultaneous requests your Apache HTTP server can handle before it begins to degrade the overall performance.<\/p>\n\n\n\n<p>In this guide, we\u2019ll explain what ab is and how to use it, then perform a case study to show you how to stress test your website with ab.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#what\">What is ab (AbacheBench)?<\/a><\/li>\n\n\n\n<li><a href=\"#how\">How Do I Use ab?<\/a><\/li>\n\n\n\n<li><a href=\"#test\">Running Your First Benchmark Test<\/a><\/li>\n\n\n\n<li><a href=\"#review\">Reviewing the Test Results<\/a><\/li>\n\n\n\n<li><a href=\"#effect\">What Effect Does ab Have on my Server?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/wp-admin\/post.php?post=100285&amp;action=edit#case\">Stress Testing Sites \u2013 Case Study<\/a><\/li>\n\n\n\n<li><a href=\"#troubleshooting\">Troubleshooting<\/a><\/li>\n\n\n\n<li><a href=\"#warning\">Beware \u2013\u00a0Only Test Sites That You Own<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what\">What is ab (ApacheBench)?<\/h2>\n\n\n\n<p>ApacheBench is used by website managers and system administrators to pressure test sites\/servers and identify the limits of the environment. It is run by using the ab command and it is used to test the ability of a web server to handle a large number of HTTP requests at the same time.\u00a0<\/p>\n\n\n\n<p>Requests can be sent \u201cconcurrently\u201d meaning they run at the same time. You can also set the requests to stay open (HTTP KeepAlive) which puts an increasingly larger amount of stress on your environment. This simulates a heavy load of traffic to your server by slamming it with simultaneous requests.<\/p>\n\n\n\n<p>This will then provide an output that lists how long in milliseconds it takes the server to respond to the requests while under an increasing amount of usage. You can then use this data to determine if your site\/web application is capable of managing the predicted load. If it is not able to continue responding within a reasonable amount of time it indicates that you may need to upgrade your Apache HTTP server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how\">How Do I Use ab?<\/h2>\n\n\n\n<p>You can run ab directly from a server or even your local computer. We recommend using a separate server from the one you are testing so it does not interfere with the testing process.<\/p>\n\n\n\n<p>To view the basic usage and options for the ab command by running the help command.<\/p>\n\n\n\n<pre>ab -help<\/pre>\n\n\n\n<p>This will provide the following information:<\/p>\n\n\n\n<pre class=\"cli\">Usage: ab [options] [http[s]:\/\/]hostname[:port]\/path\nOptions are:\n    -n requests     Number of requests to perform\n    -c concurrency  Number of multiple requests to make at a time\n    -t timelimit    Seconds to max. to spend on benchmarking\n                    This implies -n 50000\n    -s timeout      Seconds to max. wait for each response\n                    Default is 30 seconds\n    -b windowsize   Size of TCP send\/receive buffer, in bytes\n    -B address      Address to bind to when making outgoing connections\n    -p postfile     File containing data to POST. Remember also to set -T\n    -u putfile      File containing data to PUT. Remember also to set -T\n    -T content-type Content-type header to use for POST\/PUT data, eg.\n                    'application\/x-www-form-urlencoded'\n                    Default is 'text\/plain'\n    -v verbosity    How much troubleshooting info to print\n    -w              Print out results in HTML tables\n    -i              Use HEAD instead of GET\n    -x attributes   String to insert as table attributes\n    -y attributes   String to insert as tr attributes\n    -z attributes   String to insert as td or th attributes\n    -C attribute    Add cookie, eg. 'Apache=1234'. (repeatable)\n    -H attribute    Add Arbitrary header line, eg. 'Accept-Encoding: gzip'\n                    Inserted after all normal header lines. (repeatable)\n    -A attribute    Add Basic WWW Authentication, the attributes\n                    are a colon separated username and password.\n    -P attribute    Add Basic Proxy Authentication, the attributes\n                    are a colon separated username and password.\n    -X proxy:port   Proxyserver and port number to use\n    -V              Print version number and exit\n    -k              Use HTTP KeepAlive feature\n    -d              Do not show percentiles served table.\n    -S              Do not show confidence estimators and warnings.\n    -q              Do not show progress when doing more than 150 requests\n    -l              Accept variable document length (use this for dynamic pages)\n    -g filename     Output collected data to gnuplot format file.\n    -e filename     Output CSV file with percentages served\n    -r              Don't exit on socket receive errors.\n    -m method       Method name\n    -h              Display usage information (this message)\n    -I              Disable TLS Server Name Indication (SNI) extension\n    -Z ciphersuite  Specify SSL\/TLS cipher suite (See openssl ciphers)\n    -f protocol     Specify SSL\/TLS protocol\n                    (SSL2, TLS1, TLS1.1, TLS1.2 or ALL)\n    -E certfile     Specify optional client certificate chain and private key\n<\/pre>\n\n\n\n<p>For more detailed information you can view the command manual.<\/p>\n\n\n\n<pre>man ab<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"windows\">Install ab on\u00a0 Windows 10<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <a href=\"http:\/\/apachelounge.com\" target=\"_blank\" rel=\"noreferrer noopener\">apachelounge.com<\/a>, download and extract the latest version of Apache, then extract it.<\/li>\n\n\n\n<li>Search in your taskbar for <strong>Control Panel<\/strong> then click it.\u00a0<\/li>\n\n\n\n<li>Click <strong>System and Security<\/strong> then <strong>System<\/strong>.<\/li>\n\n\n\n<li>On the right click<strong> Advanced System Settings<\/strong> then click the <strong>Advanced<\/strong> tab (if you are not already there).<\/li>\n\n\n\n<li>Click the <strong>Environmental Variables\u2026<\/strong> button.<\/li>\n\n\n\n<li>Under <em>System Variables<\/em> double click the <strong>Path<\/strong> variable.<br><img decoding=\"async\" width=\"592\" height=\"234\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png\" class=\"optimized-lcp-image\" alt=\"Install ApacheBench on Windows Select Variable Path\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png 592w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path-300x119.png 300w\"><\/li>\n\n\n\n<li>Click the <strong>New button<\/strong> then <strong>Browse<\/strong>.<\/li>\n\n\n\n<li>Navigate to the<strong> \/Apache24\/bin<\/strong> folder that you downloaded and extracted then click <strong>OK<\/strong>, <strong>OK<\/strong>, and <strong>OK<\/strong> to close the windows and save the new system variable.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"710\" class=\"wp-image-100309\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-select-bin-folder.png\" alt=\"Install ApacheBench on Windows Select Variable Path\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-select-bin-folder.png 618w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-select-bin-folder-300x284.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Open a <strong>new<\/strong> command prompt (windows key-&gt;cmd) then you can use the ab command.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"linux\">Install ab Linux<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>With Ubuntu and or Mint you can install ab with the following command:<br><pre>sudo apt install apache2-utils<\/pre><\/li>\n\n\n\n<li>Type your password then click the <kbd>Enter<\/kbd> key.<\/li>\n\n\n\n<li>Click the <kbd>y<\/kbd> then <kbd>Enter<\/kbd> key to continue. The ab tool will then be installed.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"mac\">Install ab on Mac<\/h3>\n\n\n\n<p>ApacheBench is installed on Mac computers by default and should not require any additional installation before it can be used.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"test\">Running Your First Benchmark Tests<\/h2>\n\n\n\n<p>To begin, <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/connect-ssh\/\">connect to your server via SSH<\/a> and run one of the following commands.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"basic\">Basic ab Test<\/h3>\n\n\n\n<p>First, we will run a basic test with the -n option, which will allow you to choose how many requests you want to send. Without adding this option it will only send one single request. Run the following command to send <strong>10<\/strong> individual requests, which should not be difficult for your server to handle. But this can be a good starting point for comparing later results.<\/p>\n\n\n\n<pre>ab -n 10 \"https:\/\/example.com\"<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"number\">Increase the Number of Requests Sent<\/h3>\n\n\n\n<p>Now that you know how to run a basic test, you can increase the number of requests that are sent. In this example, we will send <strong>500<\/strong> requests but you can increase the number as needed to compare results.<\/p>\n\n\n\n<pre>ab -n 500 \"https:\/\/exampletestsite.com\/site<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"concurrent\">Increase the Number of Concurrent Requests<\/h3>\n\n\n\n<p>Next, we will add the<strong> -c <\/strong>option to make the requests concurrent, which means they will run at the same time. In this example, we will send 500 requests with <strong>50<\/strong> being sent simultaneously at a time.\u00a0<\/p>\n\n\n\n<pre>ab -n 500 -c 50 \"https:\/\/example.com\/\"<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"keepalive\">Performing a Persistent ab Test (KeepAlive)<\/h3>\n\n\n\n<p>The <strong>-k<\/strong> option adds a KeepAlive header allowing the server to keep the connection open so it can be used again.<\/p>\n\n\n\n<pre>ab -n 10000 -c 1000 -k \"https:\/\/example.com\/\"<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"output\">Output ab Test to a File<\/h3>\n\n\n\n<p>Use the <strong>-g<\/strong> option if you want to save the test results to review later or prefer to read them in a text file. In this example, I\u2019m going to save them to a file called <strong>test.txt<\/strong>.<\/p>\n\n\n\n<pre>ab -n 100 -c 50 -k -g test.txt \"https:\/\/example.com\/\"<\/pre>\n\n\n\n<p>You can then review the file using an editor such as nano or vi by running one of the following commands.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"nano\">View the ab Test Results File With nano<\/h4>\n\n\n\n<pre>nano test.txt<\/pre>\n\n\n\n<p>Exit nano by clicking <kbd>Ctrl<\/kbd>+<kbd>X<\/kbd><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"vi\">View the ab Test Results File With vi<\/h4>\n\n\n\n<pre>vi test.txt<\/pre>\n\n\n\n<p>Exit vi by typing <strong>:q! <\/strong>then clicking <strong>Enter<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"review\">Reviewing the Test Results<\/h2>\n\n\n\n<p>While running these tests, ab will list how many requests are completed then how many finished. It will then provide a summary that looks like this.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"671\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results.png\" alt=\"View of Basic ab Test Results\" class=\"wp-image-100349\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results.png 612w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-274x300.png 274w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<p>You can review the results and determine how your server performed. We will now go over some of the data that the ab test will provide.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Time taken for tests\/Complete requests\/Failed requests<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"202\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-time.png\" alt=\"View of Time taken for tests\/Complete requests\/Failed requests\" class=\"wp-image-100350\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-time.png 612w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-time-300x99.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Requests per second\/Time per request\/Transfer rate<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"312\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-requests-per-second.png\" alt=\"View of Requests per second\/Time per request\/Transfer rate\" class=\"wp-image-100351\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-requests-per-second.png 612w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-requests-per-second-300x153.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Connection Times<\/h3>\n\n\n\n<p>For this section, I will typically look at the Total minimum (fastest response) and the Total max (longest response).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"296\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-connection-times.png\" alt=\"View of Connection Times ApacheBench Test\" class=\"wp-image-100352\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-connection-times.png 612w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-connection-times-300x145.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Percentage of the requests server within a certain time (ms)<\/h3>\n\n\n\n<p>This data can help you determine the number of requests your server can respond to before the performance begins to degrade. For example, if you perform a test and notice a spike in time at 90% of your total requests, this indicates that may be near the limit of what it can handle. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"490\" height=\"177\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-percentage-of-requests.png\" alt=\"Reviewing Percentage of the requests server within a certain time (ms) - ApacheBench Test\" class=\"wp-image-100354\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-percentage-of-requests.png 490w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/basic-test-results-percentage-of-requests-300x108.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"effect\">What Effect Does ab Have on my Server?<\/h2>\n\n\n\n<p>If you want to monitor the amount of stress these ab tests are putting on your server, you can run a command such as top or htop to monitor your server\u2019s performance and see how much of your resources are being utilized by the process.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"monitor\">Monitor CPU Usage<\/h3>\n\n\n\n<p>We will now show you how to monitor your server usage with the <strong>top<\/strong> and <strong>htop<\/strong> commands.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"top\">Monitor With top<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Login to your server via SSH.<\/li>\n\n\n\n<li>Run the following command<br><pre>top<\/pre>You should then see realtime results similar to this.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"449\" class=\"wp-image-100359\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-top.png\" alt=\"View of Running the top Command\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-top.png 687w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-top-300x179.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"htop\">Monitor With htop<\/h4>\n\n\n\n<p>Some may prefer to use the htop command since it provides a more robust visual breakdown of the computer\u2019s resource usage.\u00a0<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You may have to install htop by running the following command, click the <kbd>y<\/kbd> key, then <kbd>Enter<\/kbd>.<br><pre>sudo yum install htop<\/pre><\/li>\n\n\n\n<li>Run the following command.<br><pre>htop<\/pre>You will then be able to monitor your server\u2019s resource usage in realtime and it will look similar to this.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"398\" class=\"wp-image-100360\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-htop.png\" alt=\"View of Running the htop Command\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-htop.png 934w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-htop-300x159.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-htop-768x408.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"case\">Stress Testing Sites \u2013 Case study<\/h2>\n\n\n\n<p>For this case study, I will be creating three different websites and then performing the same ab test on them so we can compare results. These sites are all hosted on a <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">VPS Hosting<\/a> plan from InMotion. The first site will be a blank WordPress site, the second site will be WordPress with a <a href=\"https:\/\/www.boldgrid.com\/support\/boldgrid-inspirations-plugin-product-guide\/what-is-boldgrid-inspirations\/\">BoldGrid Inspiration<\/a> installed, and the final site will be the same Boldgrid Inspiration site with <a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\">W3 Total Cache<\/a> Installed.<\/p>\n\n\n\n<p>The following is the ab command we\u2019ll use on all three sites.<\/p>\n\n\n\n<pre>ab -n 100000 -c 500 -k \"https:\/\/example.com\"<\/pre>\n\n\n\n<p>Before we get started I\u2019m going to run the htop command so we can see how the server is performing before we begin testing. There\u2019s not a lot of CPU or memory being utilized on this server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"blank\">Blank WordPress Site<\/h3>\n\n\n\n<p>This first test is on a clean WordPress installation with no caching setup.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Test #1 Results<\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"617\" height=\"565\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site1-ab-test-1.png\" alt=\"ApacheBench ab Test Site 1 Results\" class=\"wp-image-100335\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site1-ab-test-1.png 617w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site1-ab-test-1-300x275.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<p>Here are the results of running htop during the test. Notice how the CPU, memory, and Load average increase from the initial test we shared earlier.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"944\" height=\"412\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site1-htop-results-screenshot.png\" alt=\"ApacheBench ab Test Site #1 Results\" class=\"wp-image-100338\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site1-htop-results-screenshot.png 944w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site1-htop-results-screenshot-300x131.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site1-htop-results-screenshot-768x335.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"inspirations\">WordPress Site With BoldGrid Inspirations Installed<\/h3>\n\n\n\n<p>The second site we are testing is a new site with only a BoldGrid Inspiration installed.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Test #2 Results<\/h4>\n\n\n\n<p>With the second site, the test was completed a second faster. Also notice that it completed 526.57 more requests per second on average. Also the longest request took 13 seconds as opposed to 16 with the first test.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"567\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site2-ab-test.png\" alt=\"ApacheBench ab Test Site 2 Results\" class=\"wp-image-100339\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site2-ab-test.png 656w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site2-ab-test-300x259.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<p>Here are the results of running htop during the second test. Here we see that the CPU and load average have spiked considerably but it was still able to complete the test without any failures.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"409\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site2-htop-results-screenshot.png\" alt=\"ApacheBench ab Test Site #2 Results\" class=\"wp-image-100340\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site2-htop-results-screenshot.png 923w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site2-htop-results-screenshot-300x133.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site2-htop-results-screenshot-768x340.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"cache\">WordPress Site With BoldGrid Inspirations &amp; W3 Total Cache Installed<\/h3>\n\n\n\n<p>Finally, we\u2019ll test the same site from Test #2, but with W3 Total Cache Installed.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Test #3 Results<\/h4>\n\n\n\n<p>With the final test W3 total cache seems to help serve the requests faster, resulting in 25 more average requests per second and also no failed requests. What really stands out is that the longest request only took 7 seconds as opposed to 16 (Test #1) and 13 (Test #2).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"617\" height=\"568\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site3-ab-test.png\" alt=\"ApacheBench ab Test Site 3 Results\" class=\"wp-image-100341\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site3-ab-test.png 617w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site3-ab-test-300x276.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<p>You can also see this lighter load average reflected when we run htop, even though the CPU usage spiked. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"411\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site3-htop-results-screenshot.png\" alt=\"ApacheBench ab Test Site #3 Results\" class=\"wp-image-100342\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site3-htop-results-screenshot.png 933w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site3-htop-results-screenshot-300x132.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apache-benchmark-site3-htop-results-screenshot-768x338.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"results\">Comparing the Results<\/h3>\n\n\n\n<p>Here is a graph of the test results comparing the blank site, Inspiration Site, and Inspiration Site with W3 Total Cache installed.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"373\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/abachebench-case-study-test-results.png\" alt=\"Graph Comparing the Test Results of ApacheBench Test\" class=\"wp-image-100345\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/abachebench-case-study-test-results.png 602w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/abachebench-case-study-test-results-300x186.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n<\/div>\n\n\n<p>Notice how the load on the site using W3 Total Cache does not spike as high overall, while the first and second site results are relatively similar. This provides further evidence that caching can help reduce the amount of load on your server. So, even if a strong server can handle a large number of requests, when you use caching it can reduce the level of resources being used.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"troubleshooting\">Troubleshooting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"too-many-open-files\">Too many open files (24)<\/h3>\n\n\n\n<p>When I increased the concurrency too high, it often results in this error. I then reduced the concurrency level incrementally until the test was able to complete successfully.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"ssl-handshake-failed\">SSL handshake failed (5)<\/h3>\n\n\n\n<p>This error seemed to occur later in the day when the server was possibly busier and handling other typical tasks. In this case, I reviewed the tasks using htop and was able to determine there was a spam filter and backups running as well causing several of my requests to fail, even though the ab test completed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"warning\">Beware \u2013 Only Test Sites That You Own<\/h2>\n\n\n\n<div class=\"alert alert-danger\" role=\"alert\">You should only perform these types of tests on your own servers as it can be perceived as malicious.<\/div>\n\n\n\n<p>Congratulations, now you know how to stress test your website with ApacheBench (ab)! We also recommend bookmarking our full guide on\u00a0<a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/how-to-stress-test-your-website\/\">How to Stress Test Your Website \/ Top 3 Load Testing Tools<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ab command also known as ApacheBench is a command line benchmarking tool for testing the amount of time it takes your server to respond to HTTP requests. You can use this information to determine the estimated number of simultaneous requests your Apache HTTP server can handle before it begins to degrade the overall performance.<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/\"> Read More ><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4529],"tags":[],"class_list":["post-100285","post","type-post","status-publish","format-standard","hentry","category-performance"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Stress Test Your Website with ApacheBench (ab) | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn how to use the ApacheBench tool also known as ab to determine how much stress\/load your website can handle.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stress Test Your Website with ApacheBench (ab) | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn how to use the ApacheBench tool also known as ab to determine how much stress\/load your website can handle.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-09T18:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-26T18:35:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\"},\"headline\":\"How to Stress Test Your Website With ab (ApacheBench)\",\"datePublished\":\"2022-09-09T18:01:00+00:00\",\"dateModified\":\"2023-10-26T18:35:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/\"},\"wordCount\":1789,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png\",\"articleSection\":[\"Performance\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/\",\"name\":\"Stress Test Your Website with ApacheBench (ab) | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png\",\"datePublished\":\"2022-09-09T18:01:00+00:00\",\"dateModified\":\"2023-10-26T18:35:14+00:00\",\"description\":\"Learn how to use the ApacheBench tool also known as ab to determine how much stress\/load your website can handle.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png\",\"width\":592,\"height\":234,\"caption\":\"Install ApacheBench on Windows Select Variable Path\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Stress Test Your Website With ab (ApacheBench)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Stress Test Your Website with ApacheBench (ab) | InMotion Hosting","description":"Learn how to use the ApacheBench tool also known as ab to determine how much stress\/load your website can handle.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/","og_locale":"en_US","og_type":"article","og_title":"Stress Test Your Website with ApacheBench (ab) | InMotion Hosting","og_description":"Learn how to use the ApacheBench tool also known as ab to determine how much stress\/load your website can handle.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2022-09-09T18:01:00+00:00","article_modified_time":"2023-10-26T18:35:14+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b"},"headline":"How to Stress Test Your Website With ab (ApacheBench)","datePublished":"2022-09-09T18:01:00+00:00","dateModified":"2023-10-26T18:35:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/"},"wordCount":1789,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png","articleSection":["Performance"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/","name":"Stress Test Your Website with ApacheBench (ab) | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png","datePublished":"2022-09-09T18:01:00+00:00","dateModified":"2023-10-26T18:35:14+00:00","description":"Learn how to use the ApacheBench tool also known as ab to determine how much stress\/load your website can handle.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/apachebench-windows-install-path.png","width":592,"height":234,"caption":"Install ApacheBench on Windows Select Variable Path"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/stress-test-with-apachebench\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Stress Test Your Website With ab (ApacheBench)"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4529,"name":"Performance","slug":"performance","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/performance\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/100285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=100285"}],"version-history":[{"count":43,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/100285\/revisions"}],"predecessor-version":[{"id":107443,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/100285\/revisions\/107443"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=100285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=100285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=100285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}