{"id":171,"date":"2013-07-12T10:12:56","date_gmt":"2013-07-12T14:12:56","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=171"},"modified":"2022-01-03T19:59:34","modified_gmt":"2022-01-04T00:59:34","slug":"three-levels-of-load-testing","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/","title":{"rendered":"Three Levels of Load Testing"},"content":{"rendered":"<p>There are three levels of load testing that you can do against your application. Note that when we set up spot instances to be the load agents in your Amazon account, those instances are rented for an hour at a time. \u00a0This gives you plenty of time to test increasing loads with various settings on your application deployment to find the optimal level of service you need to deploy for your application. \u00a0Below are the three levels:<\/p>\n<p><b>1. Simple Ping Test<\/b>\u00a0\u2013\u00a0We provide you a way to do up to 10 pings to your application without having to set up anything. \u00a0The load agent is running on the RedLine servers, therefore it is limited to 10 interactions. \u00a0Note these can contain whatever string you want, so can call a URL with data passed. \u00a0This is useful to get some basic stats on your application.<\/p>\n<p><a href=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-172 alignnone\" alt=\"Simple Free Ping Load Testing\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/1.png\" width=\"561\" height=\"655\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/1.png 561w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/1-257x300.png 257w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/a><\/p>\n<p>The RedLine service then collects the critical data such as numbers of requests per second, average response time, Agent CPU Utilization, and the response time of the various\u00a0elements of the\u00a0application you are running on your application. \u00a0Below is an example from the above test:<\/p>\n<p><em id=\"__mceDel\"><a href=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-173 alignnone\" title=\"Load Testing Analysis\" alt=\"Load Testing Analysis\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/2.png\" width=\"795\" height=\"807\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/2.png 994w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/2-296x300.png 296w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/2-768x780.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/a><\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong>2. Load Agents on Your Amazon Account<\/strong><\/p>\n<p>This provides a way for true low cost scalability in load testing. \u00a0You must first set up authorization for RedLine to be able to create Spot Instances on your Amazon account. \u00a0Please read this\u00a0documentation on how to set that &#8211;\u00a0<a href=\"https:\/\/www.redline13.com\/blog\/aws-setup\/\">https:\/\/www.redline13.com\/blog\/aws-setup\/<\/a>. \u00a0RedLine creates and manages the instances on Amazon. \u00a0This gives you the flexibility to run any number of load agents in any combination of Amazon Regions. \u00a0For example, here is a test for 10,000 users each pinging the service 5 times with random delays of 2-10 seconds between each of the 5 pings a user makes. \u00a0There will be 5 m1.medium load agents in Virginia and 3 M2.2xlarge servers in California. \u00a0RedLine calculates your max cost per hour (34 Cents per hour in this case), as well as shows you it may be lower based on the current spot instance price.<\/p>\n<p><a href=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-174 alignnone\" alt=\"Advanced Cloud Load Testing on Amazon AWS\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/3.png\" width=\"802\" height=\"884\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/3.png 1002w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/3-272x300.png 272w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/3-929x1024.png 929w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/3-768x847.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/a><\/p>\n<p><strong>3. Custom Scripts<\/strong><\/p>\n<p>You can also create complex load tests by creating your own PHP (Java and others coming soon) script on the Load Agent. \u00a0This allows you to test\u00a0your\u00a0application with multiple steps to mimic how real users will use it. \u00a0All of the above functionality is included as well. \u00a0Please see the documentation &#8211;\u00a0<a href=\"https:\/\/www.redline13.com\/blog\/writing-a-custom-load-test\/\">https:\/\/www.redline13.com\/blog\/writing-a-custom-load-test\/<\/a>\u00a0&#8211; for more information and to see example code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are three levels of load testing that you can do against your application. Note that when we set up spot instances to be the load agents in your Amazon account, those instances are rented for an hour at a time. \u00a0This gives you plenty of time to test increasing loads with various settings on your application deployment to find the optimal level of service you need to deploy for your application. \u00a0Below are the three<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[88,318],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-richardfriedman","4":"post-171","6":"format-standard","7":"category-blog","8":"post_tag-aws","9":"post_tag-load-testing"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Three Levels of Load Testing - RedLine13<\/title>\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.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Three Levels of Load Testing - RedLine13\" \/>\n<meta property=\"og:description\" content=\"There are three levels of load testing that you can do against your application. Note that when we set up spot instances to be the load agents in your Amazon account, those instances are rented for an hour at a time. \u00a0This gives you plenty of time to test increasing loads with various settings on your application deployment to find the optimal level of service you need to deploy for your application. \u00a0Below are the threeRead More &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2013-07-12T14:12:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-04T00:59:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/1.png\" \/>\n<meta name=\"author\" content=\"Rich Friedman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rich Friedman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/\"},\"author\":{\"name\":\"Rich Friedman\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a\"},\"headline\":\"Three Levels of Load Testing\",\"datePublished\":\"2013-07-12T14:12:56+00:00\",\"dateModified\":\"2022-01-04T00:59:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/\"},\"wordCount\":414,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"AWS\",\"Load Testing\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/\",\"name\":\"Three Levels of Load Testing - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2013-07-12T14:12:56+00:00\",\"dateModified\":\"2022-01-04T00:59:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Three Levels of Load Testing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"name\":\"RedLine13\",\"description\":\"(Almost) Free Load Testing in the Cloud\",\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.redline13.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\",\"name\":\"RedLine13\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"contentUrl\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"width\":300,\"height\":68,\"caption\":\"RedLine13\"},\"image\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a\",\"name\":\"Rich Friedman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g\",\"caption\":\"Rich Friedman\"},\"sameAs\":[\"http:\/\/richardfriedman@yahoo.com\"],\"url\":\"https:\/\/www.redline13.com\/blog\/author\/richardfriedman\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Three Levels of Load Testing - RedLine13","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.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/","og_locale":"en_US","og_type":"article","og_title":"Three Levels of Load Testing - RedLine13","og_description":"There are three levels of load testing that you can do against your application. Note that when we set up spot instances to be the load agents in your Amazon account, those instances are rented for an hour at a time. \u00a0This gives you plenty of time to test increasing loads with various settings on your application deployment to find the optimal level of service you need to deploy for your application. \u00a0Below are the threeRead More &rarr;","og_url":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/","og_site_name":"RedLine13","article_published_time":"2013-07-12T14:12:56+00:00","article_modified_time":"2022-01-04T00:59:34+00:00","og_image":[{"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/07\/1.png"}],"author":"Rich Friedman","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rich Friedman","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/"},"author":{"name":"Rich Friedman","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a"},"headline":"Three Levels of Load Testing","datePublished":"2013-07-12T14:12:56+00:00","dateModified":"2022-01-04T00:59:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/"},"wordCount":414,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["AWS","Load Testing"],"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/","url":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/","name":"Three Levels of Load Testing - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2013-07-12T14:12:56+00:00","dateModified":"2022-01-04T00:59:34+00:00","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2013\/07\/three-levels-of-load-testing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Three Levels of Load Testing"}]},{"@type":"WebSite","@id":"https:\/\/www.redline13.com\/blog\/#website","url":"https:\/\/www.redline13.com\/blog\/","name":"RedLine13","description":"(Almost) Free Load Testing in the Cloud","publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.redline13.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.redline13.com\/blog\/#organization","name":"RedLine13","url":"https:\/\/www.redline13.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","contentUrl":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","width":300,"height":68,"caption":"RedLine13"},"image":{"@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a","name":"Rich Friedman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g","caption":"Rich Friedman"},"sameAs":["http:\/\/richardfriedman@yahoo.com"],"url":"https:\/\/www.redline13.com\/blog\/author\/richardfriedman\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":1,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":8621,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions\/8621"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}