{"id":10251,"date":"2015-08-02T11:41:00","date_gmt":"2015-08-02T11:41:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2015\/08\/02\/announcing-support-for-goal-based-load-pattern-in-cloud-based-load-tests\/"},"modified":"2022-08-02T04:12:52","modified_gmt":"2022-08-02T12:12:52","slug":"announcing-support-for-goal-based-load-pattern-in-cloud-based-load-tests","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/announcing-support-for-goal-based-load-pattern-in-cloud-based-load-tests\/","title":{"rendered":"Announcing support for Goal-based Load Pattern in Cloud-based Load Tests"},"content":{"rendered":"<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">Cloud-based Load Tests with Visual Studio Online now supports goal-based load patterns. Both Agent counters and Load test counters are supported.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">For those already familiar with goal-based load pattern in Load testing, go ahead and configure it just the way you&#8217;ve always done.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">For those new to goal-based load pattern, read on.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">A goal-based load pattern resembles the step pattern but adjusts the user load based on performance counter thresholds versus periodic user load adjustments. Goal based loads are useful for a variety of different purposes:\u00a0<\/span><\/p>\n<ul>\n<li><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">Maximizing output from the agents: measure the key limiting metric on the agent to maximize the output of the agents. Typically, it is CPU; However, it could also be memory.<\/span><\/li>\n<li><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">Reaching some target resource level, typically CPU, on the agent.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">Goals can be based on agents counters, load test counters or server\/app counters. We&#8217;ve currently enabled support for agent counters and load test counters and are working on enabling support for server\/app counters.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">A goal-based load pattern is useful when you want to determine the number of users that your system can support before it reaches some level of resource utilization. This option works best when you have already identified the limiting resource (that is, the bottleneck) in your system.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">In the following table, an example shows a goal-based pattern with the following property settings:<\/span><\/p>\n<table border=\"1\" cellspacing=\"1\" cellpadding=\"1\" align=\"left\">\n<tbody>\n<tr>\n<td>\n        <strong>Property Group\u00a0<\/strong>\n      <\/td>\n<td>\n        <strong>Property\u00a0\u00a0<\/strong>\n      <\/td>\n<td>\n        <strong>Value\u00a0<\/strong>\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Performance Counter\u00a0\n      <\/td>\n<td>\n        Category\u00a0\u00a0\n      <\/td>\n<td>\n        Processor\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Performance Counter\u00a0\n      <\/td>\n<td>\n        Computer\u00a0\n      <\/td>\n<td>\n        \u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Performance Counter\u00a0\n      <\/td>\n<td>\n        Counter\u00a0\n      <\/td>\n<td>\n        % Processor Time\u00a0\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Performance Counter\u00a0\n      <\/td>\n<td>\n        Instance\u00a0\u00a0\n      <\/td>\n<td>\n        _Total\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Target Range for Performance Counter\u00a0\u00a0\n      <\/td>\n<td>\n        High End\u00a0\n      <\/td>\n<td>\n        90\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Target Range for Performance Counter\u00a0\n      <\/td>\n<td>\n        Low End\u00a0\n      <\/td>\n<td>\n        70\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        User Count Limits\u00a0\u00a0\n      <\/td>\n<td>\n        Initial User Count\u00a0\n      <\/td>\n<td>\n        1\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        User Count Limits\u00a0\u00a0\n      <\/td>\n<td>\n        Maximum User Count\u00a0\u00a0\n      <\/td>\n<td>\n        1000\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        User Count Limits\u00a0\u00a0\n      <\/td>\n<td>\n        Maximum User Count Decrement\u00a0\u00a0\n      <\/td>\n<td>\n        5\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        User Count Limits\u00a0\u00a0\u00a0\n      <\/td>\n<td>\n        Maximum User Count Increment\u00a0\n      <\/td>\n<td>\n        5\u00a0\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        User Count Limits\u00a0\u00a0\u00a0\u00a0\n      <\/td>\n<td>\n        Minimum User Count\u00a0\n      <\/td>\n<td>\n        1\n      <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">These settings cause the user load to be adjusted between 1 and 1000 during a test run in such a way that the Counter for % Processor Time hovers between 70% and 90%.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">The size of the each user load adjustment is determined by Maximum User Count Increment and Maximum User Count Decrement settings. The user count limits are set by the Maximum User Count and Minimum User Count properties.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">The &#8216;Computer&#8217; property should be left blank as we don&#8217;t yet support Server side counters of your application.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">These properties can be set through the properties sheet of\u00a0 your scenario&#8217;s load pattern in your load test:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/08\/8154.Goal-based1Small.png\" alt=\"\" border=\"0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/08\/6371.Goal-based2small.png\" alt=\"\" border=\"0\" \/><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">If you have questions or feedback, you can reach out to us at <a href=\"mailto:vsoloadtest@microsoft.com\">vsoloadtest@microsoft.com<\/a>.\u00a0<\/span><\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11pt\">\n  <span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\"><a href=\"https:\/\/www.visualstudio.com\/features\/vso-cloud-load-testing-vs\">Cloud-based Load Testing<\/a> can be used for performance and load testing of your application by generating load from Azure. If you are new to Cloud-based Load Testing with Visual Studio Online then the following links will help you:<\/span>\n<\/p>\n<p style=\"margin: 0in 0in 0in 0.375in;font-family: Calibri;font-size: 11pt\">\n  <span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\"><a href=\"https:\/\/channel9.msdn.com\/Events\/Visual-Studio\/Launch-2013\/qe103\">Introduction to Cloud Load Testing with VSO<\/a> (video)<\/span>\n<\/p>\n<p style=\"margin: 0in 0in 0in 0.375in;font-family: Calibri;font-size: 11pt\">\n  <span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\"><a href=\"http:\/\/www.visualstudio.com\/get-started\/load-test-your-app-vs\">Getting started guide<\/a><\/span>\n<\/p>\n<p style=\"margin: 0in 0in 0in 0.375in;font-family: Calibri;font-size: 11pt\">\n  <span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\"><a href=\"https:\/\/aka.ms\/loadtestkb\">Additional resources<\/a><\/span>\n<\/p>\n<p style=\"margin: 0in 0in 0in 0.375in;font-family: Calibri;font-size: 11pt\">\n  <span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\"><a href=\"https:\/\/customers.microsoft.com\/Pages\/CustomerStory.aspx?recid=16127\">Customer Stories \/ Case Study<\/a><\/span>\n<\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11pt\">\n  \u00a0\n<\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11pt\">\n  <span style=\"font-family: tahoma,arial,helvetica,sans-serif;font-size: small\">If you have a feature request for us or an improvement you&#8217;d like to see, please log them on our <a href=\"http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\/category\/30927-visual-studio-test-and-lab-management\">UserVoice<\/a> site.<\/span>\n<\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11pt\">\n  \u00a0\n<\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11pt\">\n  \u00a0\n<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cloud-based Load Tests with Visual Studio Online now supports goal-based load patterns. Both Agent counters and Load test counters are supported. For those already familiar with goal-based load pattern in Load testing, go ahead and configure it just the way you&#8217;ve always done. For those new to goal-based load pattern, read on. A goal-based load [&hellip;]<\/p>\n","protected":false},"author":142,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"acf":[],"blog_post_summary":"<p>Cloud-based Load Tests with Visual Studio Online now supports goal-based load patterns. Both Agent counters and Load test counters are supported. For those already familiar with goal-based load pattern in Load testing, go ahead and configure it just the way you&#8217;ve always done. For those new to goal-based load pattern, read on. A goal-based load [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/10251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/142"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=10251"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/10251\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=10251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=10251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=10251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}