{"id":1005,"date":"2010-06-29T15:57:03","date_gmt":"2010-06-29T19:57:03","guid":{"rendered":"http:\/\/www.webperformanceinc.com\/load_testing\/blog\/?p=1005"},"modified":"2017-05-18T16:10:11","modified_gmt":"2017-05-18T20:10:11","slug":"introduction-to-load-testing-part-one","status":"publish","type":"post","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2010\/06\/introduction-to-load-testing-part-one\/","title":{"rendered":"Introduction to Load Testing: Part One"},"content":{"rendered":"<p>The website is completed or mostly completed and you have been advised to do a load test, but you are not quite sure were to begin.\u00a0 First things first, a basic understanding of load testing procedure is needed.\u00a0 The load testing procedure mostly involves understanding the web-application that will be tested.\u00a0 Understanding the applications refers to many different factors such as:<\/p>\n<ul>\n<li>Understanding the functionality of the website.<\/li>\n<li>Understanding the general network layout.<\/li>\n<li>Understanding the software and hardware used by the system.<\/li>\n<\/ul>\n<p>These factors are useful for a number of reasons, not only do they make the load testing process easier, but they can help you decide which load testing tool is appropriate for your testing needs.<\/p>\n<p>This post will focus on understanding the functionality of the website.\u00a0 Not everyone might have the time or resources to test every single function of the site, but understanding the functionality of the website will be helpful in figuring out what parts of the site really need to be load tested.\u00a0 Making the test cases as simple as possible is generally good practice.\u00a0 In theory one could download a load testing tool and record a test case of a user hitting every single page, then generate a load test of multiple users doing the same thing.\u00a0 However that is not particularly helpful nor realistic for most websites.\u00a0 Yes there are some website with very few pages in which users will click on every page and in that sense, a test case including all the web-pages is ideal, however:<\/p>\n<ul>\n<li> Most websites are more complex and not every user will click on every single page on the website.<\/li>\n<li>On average, most users will only click on a certain number of pages, so understanding your high traffic areas is helpful.<\/li>\n<li>A good formula to use is to test 20% of the pages that generate 80% of the load to the website.<\/li>\n<li>Knowing the high load pages and using them to generate test cases is generally good practice.<\/li>\n<\/ul>\n<p>Understanding the functionality of the website also includes knowing the acceptable performance for the website.\u00a0 There is no set formula for figuring out the performance goals of a website.\u00a0 The performance goals\u00a0 change with each application, therefore it can be challenging figuring out the appropriate values, but doing so is very valuable.\u00a0 <a href=\"https:\/\/blog.kissmetrics.com\/speed-is-a-killer\/\" target=\"_blank\">Studies have shown that as the performance of a website decreases<\/a>, <a href=\"https:\/\/blog.kissmetrics.com\/speed-is-a-killer\/\" target=\"_blank\">the number of users who give up on the site and go\u00a0 somewhere else increases<\/a>.\u00a0 There are load testing tools like Web Performance Load Tester that:<\/p>\n<ul>\n<li>Let you edit the performance goals of the website.<\/li>\n<li>Generate a baseline performance report.<\/li>\n<\/ul>\n<p>A Baseline Performance Report describes the initial performance of the system when not under load.\u00a0 This is particularly useful because the website is unlikely to be faster then when not under load, therefore if it is already failing in performance goals with only one user, that is something that is very important to know as quickly as possible.<\/p>\n<p>Now that we have more of an idea as to why understanding the functionality of the website makes load testing easier; I will go into more detail about the importance of understanding the general network layout of your web application in Part Two.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The website is completed or mostly completed and you have been advised to do a load test, but you are not quite sure were to begin.\u00a0 First things first, a basic understanding of load testing procedure is needed.\u00a0 The load testing procedure mostly involves understanding the web-application that will be tested.\u00a0 Understanding the applications refers to many different factors such as:<\/p>\n<p>Understanding the functionality of the website.<br \/>\nUnderstanding the general network layout.<br \/>\nUnderstanding the software and hardware used by the system.<\/p>\n<p>These factors are useful for a number of reasons, not only do they make the load testing process easier, but they can help &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2010\/06\/introduction-to-load-testing-part-one\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":49,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1005","post","type-post","status-publish","format-standard","hentry","category-load-testing"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/1005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=1005"}],"version-history":[{"count":93,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/1005\/revisions"}],"predecessor-version":[{"id":5763,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/1005\/revisions\/5763"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=1005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/categories?post=1005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/tags?post=1005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}