{"id":5399,"date":"2015-08-19T13:16:32","date_gmt":"2015-08-19T17:16:32","guid":{"rendered":"http:\/\/www.webperformance.com\/load-testing-tools\/blog\/?p=5399"},"modified":"2016-09-08T17:10:59","modified_gmt":"2016-09-08T21:10:59","slug":"generating-multiple-regions-tester","status":"publish","type":"post","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2015\/08\/generating-multiple-regions-tester\/","title":{"rendered":"Generating Load from Multiple Regions &#8211; Load Tester 6.5"},"content":{"rendered":"<p>Load Tester&#8217;s cloud load generation feature includes the ability to use datacenters located in different geographical regions.<\/p>\n<p>This post contains detailed steps for adding an Amazon EC2 account and for running a new test configuration. These instructions apply to Web Performance Load Tester 6.5 and earlier. For Load Tester 6.6 and up, see<a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2015\/08\/generating-multiple-regions\/\">\u00a0<strong>Generating Load from Multiple Countries &#8211; Load Tester 6.6<\/strong><\/a>.<\/p>\n<h2><strong>Why Load Test From Multiple Regions?<\/strong><\/h2>\n<p>Generating load from different regions enables more realistic load tests. Rather than using just local datacenters, tests can simulate traffic from all over the world rather than just local datacenters.<\/p>\n<p>This feature also allows testing of specific issues. Some users, for example, may expect uneven distribution of traffic from various countries. Others may want to test how application performance varies by region.<\/p>\n<h2><strong>Configuring a Cloud Account<\/strong><\/h2>\n<p>To add and configure a new cloud account:<\/p>\n<p>1. In the menu bar located at the top of load Tester application, click &#8220;Window&#8221; -&gt; &#8220;Preferences.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5570 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Adding-Cloud-Accounts-1-1.jpg\" alt=\"\" width=\"395\" height=\"182\" \/><\/p>\n<p>2. In the &#8220;Preferences&#8221; menu, expand the &#8220;Web Performance&#8221; entry and select &#8220;Cloud Accounts,&#8221; then click &#8220;Add.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5571\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Adding-Cloud-Accounts-2.jpg\" alt=\"\" width=\"600\" height=\"187\" \/><\/p>\n<ul>\n<li>After clicking\u00a0&#8220;Add,&#8221; a disclaimer will appear confirming the use of Load Tester to control virtual instances on your behalf and that you accept responsibility for and any charges generated by any actions using this feature.<\/li>\n<\/ul>\n<p>3. In the &#8220;Amazon EC2 Account&#8221; menu, enter a) a name for this account, b) your Amazon Access Key, c) Secret Access Key, and d) a region, then click &#8220;OK.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5632 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Adding-Cloud-Accounts-3-1-2.jpg\" alt=\"\" width=\"524\" height=\"457\" \/><\/p>\n<ul>\n<li>You may also add a security key. Security keys allow users to create multiple engines under one Amazon account. The engine view will only show engines created under this security key.<\/li>\n<\/ul>\n<p>4. After clicking &#8220;OK,&#8221; a popup will appear prompting you to subscribe to Load Tester in your Amazon account.<\/p>\n<p>5. To add another region, select an existing entry and click &#8220;Duplicate.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5574 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Adding-Cloud-Accounts-4.jpg\" alt=\"\" width=\"680\" height=\"223\" \/><\/p>\n<p>The &#8220;Cloud Account&#8221; menu will appear, populated with the previously entered account information. Change the name and region to distinguish new entries.<\/p>\n<h2><strong>Creating and Running a New Load Configuration<\/strong><\/h2>\n<p>1. Open a recording.<\/p>\n<p>2. In the menu located at the top of the navigator panel, select &#8220;New&#8221; -&gt; &#8220;Load Configuration.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5576 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Adding-a-Cloud-Account-1.jpg\" alt=\"\" width=\"189\" height=\"230\" \/><\/p>\n<p>3. In the &#8220;Ramp&#8221; menu, modify a) test duration, b) test plan, c) number of virtual users, and d) hold and ramp duration, then click &#8220;OK.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5633 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Configuring-a-New-Load-Test-2-1.jpg\" alt=\"\" width=\"676\" height=\"522\" \/><\/p>\n<p>4. In the &#8220;New Load Configuration&#8221; pane, select the testcase you want to edit from the dropdown menu, then click the <strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5578 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Plus-icon.png\" alt=\"\" width=\"25\" height=\"26\" \/><\/strong>\u00a0symbol.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5579 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Configuring-a-New-Load-Test-3.jpg\" alt=\"\" width=\"616\" height=\"62\" \/><\/p>\n<p>5. In the inspection pane located in the lower half of the Web Performance application, select the \u201cEngines\u201d tab and click &#8220;Add Engine.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5634 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Configuring-a-New-Load-Test-4-1.jpg\" alt=\"\" width=\"603\" height=\"252\" \/><\/p>\n<p>6. In the &#8220;Add Load Engine&#8221; menu, check the box labeled &#8220;Create new cloud engine(s)&#8221; and select a cloud account from the dropdown menu, then click &#8220;OK.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5635 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Configuring-a-New-Load-Test-5-1.jpg\" alt=\"\" width=\"530\" height=\"287\" \/><\/p>\n<p>7. In the &#8220;Create Cloud Engine&#8221; menu, choose the number of engines you would like to use and the engine type, then click &#8220;Create.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5582 size-full\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Configuring-a-New-Load-Test-6.jpg\" alt=\"\" width=\"540\" height=\"335\" \/><\/p>\n<p>8.\u00a0Click <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5583 \" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Start-Icon.png\" alt=\"\" width=\"38\" height=\"48\" \/>\u00a0to run\u00a0a test using the new load configuration.<\/p>\n<p><strong><em>NOTE<\/em>: Startup procedures may take several minutes, and tests will run for the preset duration or until stopped.\u00a0<\/strong><\/p>\n<h2><strong>Stopping a Load Test<br \/>\n<\/strong><\/h2>\n<p>Users have several options for terminating instances:<\/p>\n<p>1. At the end of a test, Load Tester will generate pop-up will appear prompting the user to terminate cloud engines.<\/p>\n<p><a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Terminating-Instances-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5475\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Terminating-Instances-1.jpg\" alt=\"Terminating Instances - 1\" width=\"526\" height=\"283\" \/><\/a><\/p>\n<p>Click &#8220;Yes&#8221; to terminate any engines still running.<\/p>\n<p>2. The &#8220;Cloud Accounts&#8221; menu contains an automatic idle time termination option.<\/p>\n<p><a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Terminating-Instances-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5476\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Terminating-Instances-2.jpg\" alt=\"Terminating Instances - 2\" width=\"404\" height=\"73\" \/><\/a><\/p>\n<p>This feature will terminate any instances that have idled for a set period of time. For example, if a user runs a ten-engine test, then runs a two-engine test, Load Tester will automatically terminate the remaining eight engines after the set timeout period.<\/p>\n<p>3. To terminate cloud engines at any time, except when running a Load Test, select the &#8220;Engines&#8221; tab in the inspection pane located in the lower half of the Web Performance application.<\/p>\n<p><a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Engines-Tab.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5479\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Engines-Tab.jpg\" alt=\"Engines Tab\" width=\"368\" height=\"31\" \/><\/a><\/p>\n<p>4. Select the instance you would like to terminate.<\/p>\n<p><a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Terminating-Instances-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5477\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Terminating-Instances-3.jpg\" alt=\"Terminating Instances - 3\" width=\"312\" height=\"76\" \/><\/a><\/p>\n<p>5. Then, click &#8220;Remove.&#8221;<\/p>\n<p><a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Terminating-Instances-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5478\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/08\/Terminating-Instances-4.jpg\" alt=\"Terminating Instances - 4\" width=\"322\" height=\"60\" \/><\/a><\/p>\n<p>Additionally, when closing the application, you will receive a reminder popup if you have any instances still running.<\/p>\n<h3>When to Terminate Instances<\/h3>\n<p>Amazon rounds instance charges up to the hour. For example, If you configure a test to start one engine for 10 minutes and stop it, then repeats this process two more times for additional tests, Amazon will bill 3 instance hours.<\/p>\n<p>To prevent unnecessary charges, consider how many tests you plan to run before terminating instances.<strong><br \/>\n<\/strong><\/p>\n<p>If you plan to run only one test, terminate all instances upon test completion.<\/p>\n<p>If you plan to run several tests back-to-back, it&#8217;s beneficial to keep engines running until completing the final test of the day.<\/p>\n<h2><strong>Future Updates<br \/>\n<\/strong><\/h2>\n<p>Cloud load may only be generated from regions containing Amazon datacenters. We will add more datacenters to Load Tester as Amazon makes them available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Load Tester&#8217;s cloud load generation feature includes the ability to use datacenters located in different geographical regions.<br \/>\nThis post contains detailed steps for adding an Amazon EC2 account and for running a new test configuration. These instructions apply to Web Performance Load Tester 6.5 and earlier. For Load Tester 6.6 and up, see<a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2015\/08\/generating-multiple-regions\/\">\u00a0Generating Load from Multiple Countries &#8211; Load Tester 6.6<\/a>.<br \/>\nWhy Load Test From Multiple Regions?<br \/>\nGenerating load from different regions enables more realistic load tests. Rather than using just local datacenters, tests can simulate traffic from all over the world rather than just local datacenters.<br \/>\nThis feature also allows testing of &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2015\/08\/generating-multiple-regions-tester\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,42],"tags":[223,225,237,30,51],"class_list":["post-5399","post","type-post","status-publish","format-standard","hentry","category-load-testing","category-load-tester-software","tag-cloud-load-testing","tag-load-tester-6-5","tag-load-testing","tag-tutorial","tag-web-performance-load-tester"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5399","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=5399"}],"version-history":[{"count":24,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5399\/revisions"}],"predecessor-version":[{"id":5636,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5399\/revisions\/5636"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=5399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/categories?post=5399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/tags?post=5399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}