{"id":2152,"date":"2021-04-26T15:32:00","date_gmt":"2021-04-26T15:32:00","guid":{"rendered":"https:\/\/loadfocus.com\/blog\/?p=2152"},"modified":"2023-09-03T14:09:46","modified_gmt":"2023-09-03T14:09:46","slug":"what-is-hits-per-second-in-performance-testing","status":"publish","type":"post","link":"https:\/\/loadfocus.com\/blog\/2021\/04\/what-is-hits-per-second-in-performance-testing","title":{"rendered":"What is Hits per Second in Performance Testing?"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes read<\/span><\/span><!-- pn-tldr --><h2>Key takeaways<\/h2><ul><li>Hits per second counts every request including assets, so it exceeds page views substantially.<\/li><li>It shows server workload rather than user activity.<\/li><li>Compare it with throughput and response time; alone it says little.<\/li><\/ul><!-- \/pn-tldr -->\n<p class=\"lead\"><strong>Hits per second<\/strong> represents the number of requests sent to the server in one second (the load which the server is being hit). <\/p>\n\n\n\n<p>Hits per second is the total load set by the concurrent virtual users on the server, no matter if they are executed successfully or not on the server side.<\/p>\n\n\n\n<p>The number of requests executed successfully by the server per unit of time is called <strong>throughput<\/strong>. Learn about <a href=\"https:\/\/loadfocus.com\/blog\/2013\/07\/what-is-throughput-in-performance-testing\/\">what is <strong>throughput<\/strong> in performance testing<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"685\" src=\"https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/Screenshot-2021-04-23-at-19.30.55-1280x685.png\" alt=\"\" class=\"wp-image-2155\" srcset=\"https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/Screenshot-2021-04-23-at-19.30.55-1280x685.png 1280w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/Screenshot-2021-04-23-at-19.30.55-800x428.png 800w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/Screenshot-2021-04-23-at-19.30.55-600x321.png 600w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/Screenshot-2021-04-23-at-19.30.55-768x411.png 768w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/Screenshot-2021-04-23-at-19.30.55-1536x822.png 1536w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/Screenshot-2021-04-23-at-19.30.55.png 1752w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><figcaption>Hits per second in load test results <\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>To find how the hits per second increase while executing your performance test, you can check the charts in the <strong><a href=\"https:\/\/loadfocus.com\/load-testing\">Load Testing Service<\/a><\/strong> by <a href=\"https:\/\/loadfocus.com\/\">LoadFocus<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><em>Written by&nbsp;<a href=\"https:\/\/coursinator.com\/instructor\/bogdan-vazzolla\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"broken_link\">Bogdan&nbsp;Vazzolla<\/a>.<\/em><\/p>\n\n\n\n<p><em><a href=\"https:\/\/loadfocus.com\/\">LoadFocus<\/a>&nbsp;is a cloud testing platform,&nbsp;a&nbsp;<a href=\"https:\/\/loadfocus.com\/load-testing\" target=\"_blank\" rel=\"noreferrer noopener\">load and stress testing tool<\/a>&nbsp;which provides the infrastructure to run tests with thousands of concurrent users, from&nbsp;<a href=\"https:\/\/loadfocus.com\/locations\">multiple cloud locations<\/a>, in less than a few minutes, keep history of the results, compare different runs to inspect performance improvements or performance degradation.<\/em>&nbsp;<em>It also supports running&nbsp;<a href=\"https:\/\/loadfocus.com\/jmeter-load-testing\" target=\"_blank\" rel=\"noreferrer noopener\">JMeter load tests from the cloud<\/a><\/em>&nbsp;and&nbsp;<a href=\"https:\/\/loadfocus.com\/page-speed-monitoring\">monitoring and audit web and mobile performance<\/a>.<\/p>\n<!-- pn-faq --><h2>Frequently Asked Questions<\/h2><h3>What does hits per second count?<\/h3><p>Every request reaching the server in a second, including assets. That is why it is much higher than page views and should not be read as user activity.<\/p><h3>What is it useful for?<\/h3><p>Understanding server workload. It tells you how hard the server is being hit, regardless of how those requests map to what people were doing.<\/p><h3>Is it meaningful alone?<\/h3><p>Not really. Compare it with throughput and response time. High hits per second with climbing response times means something quite different from the same figure with flat latency.<\/p><!-- \/pn-faq --><!-- pn-related-reading --><h2>Related reading<\/h2><ul><li><a href=\"https:\/\/loadfocus.com\/blog\/2013\/07\/what-is-throughput-in-performance-testing\">What is Throughput in Performance Testing? Definition + How to Measure<\/a><\/li><li><a href=\"https:\/\/loadfocus.com\/blog\/2015\/11\/how-to-load-test-an-e-commerce-website\">How to Load Test an E-commerce Website?<\/a><\/li><li><a href=\"https:\/\/loadfocus.com\/blog\/2022\/03\/actively-measure-the-right-key-metrics-during-performance-testing\">Measure the Right Key Metrics in Performance Testing<\/a><\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes read<\/span><\/span>Key takeaways Hits per second counts every request including assets, so it exceeds page views substantially. It shows server workload rather than user activity. Compare it with throughput and response time; alone it says little. Hits per second represents the number of requests sent to the server in one second (the load which the server&#8230;  <a href=\"https:\/\/loadfocus.com\/blog\/2021\/04\/what-is-hits-per-second-in-performance-testing\" class=\"more-link\" title=\"Read What is Hits per Second in Performance Testing?\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2156,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9],"tags":[349,350,351],"class_list":["post-2152","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache-jmeter","category-load-testing","tag-calculate-hits-per-second","tag-http-requests","tag-requests-per-second"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts\/2152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/comments?post=2152"}],"version-history":[{"count":1,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts\/2152\/revisions"}],"predecessor-version":[{"id":2750,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts\/2152\/revisions\/2750"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/media\/2156"}],"wp:attachment":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/media?parent=2152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/categories?post=2152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/tags?post=2152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}