<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Rubel's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/rubel/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/rubel/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 05:27:45 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Visual Studio 11 Beta–Test Agent needs to be installed on Test Controller box for Load Test</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/visual-studio-11-betatest-agent-needs-to-be-installed-on-test-controller-box-for-load-test</link>
      <pubDate>Sat, 28 Apr 2012 00:41:25 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2012/04/28/visual-studio-11-betatest-agent-needs-to-be-installed-on-test-controller-box-for-load-test/</guid>
      <description><![CDATA[With Visual Studio 11 Beta, you will come across below issue while doing remote Load Test run (i.e....]]></description>
      <content:encoded><![CDATA[<p>With <a href="https://www.microsoft.com/visualstudio/11/en-us/downloads">Visual Studio 11 Beta</a>, you will come across below issue while doing <strong>remote </strong>Load Test run <em>(i.e. run using Test Controller and Test Agent. Please check <a href="https://msdn.microsoft.com/en-us/library/ms243155(v=vs.110).aspx">here</a>):</em></p>  <p>Load Test run won’t be able to start successfully and will get aborted with this error:</p>  <p><em>“The specified module could not be found”</em></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/1881.image_72042F03.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/1881.image_5F00_72042F03.png"><img style="border: 0px currentcolor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6406.image_thumb_4D08FF3B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6406.image_5F00_thumb_5F00_4D08FF3B.png" width="341" height="253" /></a></p>  <p>This is known issue with <a href="https://www.microsoft.com/visualstudio/11/en-us/downloads">Visual Studio 11 Beta</a>. There is a simple workaround for this issue: Please install Test Agent on your Test Controller box as well and you are done. You need not to do anything extra like configuring installed Test Agent on Test Controller box etc. Just installing Test Agent on Test Controller will help in resolving above issue. There is no side impact of this workaround and it won’t take long also to install Test Agent on Test Controller also.&#160; This issue is fixed for later releases.</p>  <h4>&#160;</h4>  <h4>Send Your Feedback</h4>  <p>If you've any feedback on <a href="https://www.microsoft.com/visualstudio/11/en-us/downloads">Visual Studio 11 Beta</a> or if you face any other issue then please do send us on <a href="https://connect.microsoft.com/VisualStudio">Connect</a> or in the <a href="https://social.msdn.microsoft.com/Forums/en-US/vstswebtest/threads">Forums</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>Visual Studio 11 Beta: Test Controller Goes 64 Bit!!</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/visual-studio-11-beta-test-controller-goes-64-bit</link>
      <pubDate>Thu, 26 Apr 2012 07:44:00 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2012/04/26/visual-studio-11-beta-test-controller-goes-64-bit/</guid>
      <description><![CDATA[Visual Studio 2010 supported 64 bit Test Agent which used to allow us to do 64bit test runs as...]]></description>
      <content:encoded><![CDATA[<p>Visual Studio 2010 supported 64 bit <em>Test Agent</em> which used to allow us to do 64bit test runs as explained <a href="https://blogs.msdn.com/b/mahipalkante/archive/2010/06/10/visual-studio-2010-load-test-out-of-memory-exceptions-on-32-bit-machines-or-32-but-run.aspx">here</a>. But <em>Test Controller</em> was capable of running in 32 bit mode only. As a 32 bit process, it was limited to 2GB of memory. This causes scale issues sometimes as QTController process starts throwing &ldquo;Out of Memory&rdquo; exceptions as it approaches 2GB limit. This eventually causes abort of Load Test run.</p>
<p>Good news is that Visual Studio 11 Beta supports 64 bit <em>Test Controller</em>. You need not to do nothing special to run your <em>Test Controller</em> in 64 bit mode. It will automatically run in 32 bit / 64 bit depending upon architecture of <em>Test Controller</em> box as <em>Test Controller</em> process has been targeted to &ldquo;Any CPU&rdquo; platform . So this means that even though you are doing a 32 bit run using 32 bit <em>Test Agent</em> boxes then also your <em>Test Controller</em> might be running in 64 bit mode if <em>Test Controller</em> box is 64 bit box and vice-versa.</p>
<p>Just to re-iterate, Below shown option in <em>Test Settings </em>has nothing to do with <em>Test Controller</em> mode. <em>&nbsp;</em>It decides about <em>Test Agent</em> mode as explained <a href="https://blogs.msdn.com/b/mahipalkante/archive/2010/06/10/visual-studio-2010-load-test-out-of-memory-exceptions-on-32-bit-machines-or-32-but-run.aspx">here</a>. <em>Test Controller</em> mode (32 bit / 64 bit) will be decided by architecture of <em>Test Controller</em> machine.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/5811.image_3126436D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/5811.image_5F00_3126436D.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/1373.image_thumb_2BA7ACFC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/1373.image_5F00_thumb_5F00_2BA7ACFC.png" width="605" height="272" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Visual Studio 11 Beta-Virtual User License Key for Load Testing</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/visual-studio-11-beta-virtual-user-license-key-for-load-testing</link>
      <pubDate>Sun, 01 Apr 2012 05:59:00 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2012/04/01/visual-studio-11-beta-virtual-user-license-key-for-load-testing/</guid>
      <description><![CDATA[Visual Studio 11 Beta lets you use a maximum 250 virtual users on a local load test run. If your...]]></description>
      <content:encoded><![CDATA[<p><a href="https://www.microsoft.com/visualstudio/11/en-us/downloads">Visual Studio 11 Beta</a> lets you use a maximum 250 virtual users on a local load test run. If your load testing requires more virtual users or you want to use remote machines then you need Visual Studio Load Test Virtual User Pack. Another benefit of installing Visual Studio Load Test Virtual User Pack is that the license packs use multiprocessor architecture. Virtual User License Packs allow the machine on which they are installed to use more than one processor. Otherwise, the machine is restricted to using only one core. <a href="https://msdn.microsoft.com/en-us/library/ff426120(v=vs.110).aspx">This article</a> explains how to add Virtual User License Keys for Load Testing.</p>
<p>Please note that Virtual User License Packs for Visual Studio 2010 won&rsquo;t work with Visual Studio 11 Beta so we are sharing with you&nbsp;Virtual User License Pack for <a href="https://www.microsoft.com/visualstudio/11/en-us/downloads">Visual Studio 11 Beta</a>. You can use this Virtual User License Pack: <em>G9WK7-3369B-H6RJD-RQHJ2-T8488.</em></p>
<p>Please note that above Virtual User License Pack is applicable for just <a href="https://www.microsoft.com/visualstudio/11/en-us/downloads">Visual Studio 11 Beta</a>. It won&rsquo;t work with earlier / later releases of Visual Studio.</p>]]></content:encoded>
    </item>
    <item>
      <title>Visual Studio 11 Beta - Changes in Web Performance Test / Load Test Workflow</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/visual-studio-11-beta-changes-in-web-performance-test-load-test-workflow</link>
      <pubDate>Sat, 17 Mar 2012 06:19:00 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2012/03/17/visual-studio-11-beta-changes-in-web-performance-test-load-test-workflow/</guid>
      <description><![CDATA[With Visual Studio 11 Beta, you will see some changes in Web Performance Test / Load Test...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span size="2">With </span><a href="https://www.microsoft.com/visualstudio/11/en-us/downloads"><span size="2">Visual Studio 11 Beta</span></a><span size="2">, you will see </span>some<span size="2"> changes in Web Performance Test / Load Test workflow.&nbsp; </span><span size="2">In this post, I&rsquo;ll be </span>highlighting<span size="2"> those changes.</span></span></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<h2>Creating Web Performance Test / Load Test</h2>
<p>There has been some changes around creating Web Performance Test / Load Test. Now we've separate test project type for Web Performance Test / Load Test which is called <strong><em>Web Performance and Load Test Project</em></strong> as shown below:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6406.clip_image001_3CA13011.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6406.clip_5F00_image001_5F00_3CA13011.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/3835.clip_image001_64F06265.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/3835.clip_5F00_image001_5F00_64F06265.png"><img style="display: inline;" title="clip_image001" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/5037.clip_image001_thumb_4DFC74E4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/5037.clip_5F00_image001_5F00_thumb_5F00_4DFC74E4.png" width="692" height="478" /></a></span></p>
<p>Please note that your existing test projects containing Web Performance Test / Load Test will work seamlessly between Visual Studio 2010 SP1 and Visual Studio 11 Beta. But if you are creating new test projects then please use <em>Web Performance and Load Test Project</em>.</p>
<p>This project template will automatically add an empty Web Performance Test to your project. This is considering that most of our customers use Web Performance Test as part of Load Test. You can always delete it if you don't need it.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/0755.clip_image002_2231172D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/0755.clip_5F00_image002_5F00_2231172D.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/3051.clip_image002_7729035A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/3051.clip_5F00_image002_5F00_7729035A.png"><img style="display: inline;" title="clip_image002" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/8371.clip_image002_thumb_5E37A103.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/8371.clip_5F00_image002_5F00_thumb_5F00_5E37A103.png" width="726" height="452" /></a></span></p>
<p>Once Test Project is created then you can add more web performance / unit / load tests to it by right clicking on test project and selecting appropriate test type:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/4213.clip_image003_4816A1B6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/4213.clip_5F00_image003_5F00_4816A1B6.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/5684.clip_image003_2499FD51.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/5684.clip_5F00_image003_5F00_2499FD51.png"><img style="display: inline;" title="clip_image003" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/8322.clip_image003_thumb_53A6A716.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/8322.clip_5F00_image003_5F00_thumb_5F00_53A6A716.png" width="555" height="428" /></a></span></p>
<p>Above experience of adding new tests to test project is same as we had in Visual Studio 2010 with the difference that now this is the only way to add tests to existing test project as we've got rid of <em>Add New Test</em> dialog as part of overall Visual Studio Test Framework clean up.</p>
<p>Rest of authoring experience of Web Performance / Load Test remains same as it was in Visual Studio 2010 and there has been no changes here.</p>
<h2>Running Web Performance Test / Load Test</h2>
<p>There has been some changes around the way you run Web Performance / Load Test. This is because of fact that <em>Test View</em> window that we had in earlier versions is no longer there. We've removed it as part of overall Visual Studio Test Framework clean up. But you can continue to run your Web Performance / Load Test from its editor like it was in Visual Studio 2010.</p>
<p>As there was no similar gesture for Coded Web Performance Test so we've enabled running / debugging of Coded Web Performance Test in its context menu. Please see screenshot below:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/4760.clip_image004_6C2BD678.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/4760.clip_5F00_image004_5F00_6C2BD678.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6646.clip_image004_16B79189.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6646.clip_5F00_image004_5F00_16B79189.png"><img style="display: inline;" title="clip_image004" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/3187.clip_image004_thumb_2966D361.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/3187.clip_5F00_image004_5F00_thumb_5F00_2966D361.png" width="575" height="477" /></a></span></p>
<h2>&nbsp;</h2>
<h2>Validating Tests from Load Test</h2>
<p>Sometimes after adding bunch of tests to Load Test we want to run them to see if all of them are able to run together / not without any issues. For this we've enabled a new UI gesture in Visual Studio 11 which enables you to run tests that are part of Load Test. You can either run a single test / multiple tests / all tests that are part of a scenario etc. You can do this via newly added "Run Selected Tests" gesture in Load Test editor context menu as shown below:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6708.clip_image005_41434C99.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6708.clip_5F00_image005_5F00_41434C99.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6303.clip_image005_177FD1A6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6303.clip_5F00_image005_5F00_177FD1A6.png"><img style="display: inline;" title="clip_image005" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6355.clip_image005_thumb_1E69A67F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6355.clip_5F00_image005_5F00_thumb_5F00_1E69A67F.png" width="416" height="387" /></a></span></p>
<p>Please note that it will simply run tests that are part of load test and won't kick start Load Test run e.g. this is what happened when I used this operation for my simple Load Test which contained a simple Web Performance Test and Coded Web Performance Test:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/7345.clip_image006_6DBC56B2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/7345.clip_5F00_image006_5F00_6DBC56B2.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/3730.clip_image006_64801B71.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/3730.clip_5F00_image006_5F00_64801B71.png"><img style="display: inline; background-image: none;" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6332.clip_image006_thumb_1D14E7D3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6332.clip_5F00_image006_5F00_thumb_5F00_1D14E7D3.png" width="530" height="175" /></a></span></p>
<h2>Running Multiple Tests together</h2>
<p>As I mentioned above Test View window is removed from Visual Studio 11 Beta . Additionally Test lists (.vsmdi files) are deprecated in Visual Studio 11 Beta. You will no longer be able to create new test lists (.vsmdi files) or run test lists from Visual Studio so the question is how can we run multiple tests?</p>
<p>You can run multiple Web Performance Tests from Load Test <em>(check above section)</em> as that's the point when we usually want to run multiple tests together. Additionally, You can run multiple tests using command line as explained <a href="https://msdn.microsoft.com/en-us/library/ms182588(v=vs.110).aspx">here</a>.</p>
<p>In case, if you are an existing user and have existing test lists then to maintain compatibility you still will be able to edit the .vsmdi files using Visual Studio. Although you can&rsquo;t run migrated test lists from with Visual Studio, you can still run them using mstest.exe from the command line. For more information, see <a href="https://msdn.microsoft.com/en-us/library/ms182487(v=vs.110).aspx">How to: Run Automated Tests from the Command Line Using MSTest</a></p>
<h2>Other Miscellaneous Changes</h2>
<p>We need to deal with Test Controller / Test Agent frequently in context of Load Test so <em>Manage Test Controller</em> option is moved to Load Test editor as shown below:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/2543.clip_image007_703562A3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/2543.clip_5F00_image007_5F00_703562A3.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/8585.clip_image007_07143420.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/8585.clip_5F00_image007_5F00_07143420.png"><img style="display: inline; background-image: none;" title="clip_image007" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/0513.clip_image007_thumb_0EC64916.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/0513.clip_5F00_image007_5F00_thumb_5F00_0EC64916.png" width="569" height="108" /></a></span></p>
<p>It's also available in test setting editor now:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/4857.clip_image008_4BE05854.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/4857.clip_5F00_image008_5F00_4BE05854.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/5415.clip_image008_5B33BA63.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/5415.clip_5F00_image008_5F00_5B33BA63.png"><img style="display: inline; background-image: none;" title="clip_image008" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/2313.clip_image008_thumb_58D12E2E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/2313.clip_5F00_image008_5F00_thumb_5F00_58D12E2E.png" width="592" height="156" /></a></span></p>
<p>Option to select active test setting for test project is now present in context menu of test setting:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6470.image_08F009EE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6470.image_5F00_08F009EE.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/1513.image_thumb_1AEC27AE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/1513.image_5F00_thumb_5F00_1AEC27AE.png" width="482" height="382" /></a></p>
<p>Options to open "Test results" or "Test Runs" window is moved to View-&gt;Other Windows as shown below:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/3264.clip_image009_146A2159.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/3264.clip_5F00_image009_5F00_146A2159.png"><span style="font-size: small;" size="3"></span></a><span style="font-size: small;" size="3"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/0601.clip_image009_0A55802E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/0601.clip_5F00_image009_5F00_0A55802E.png"><img style="display: inline; background-image: none;" title="clip_image009" border="0" alt="clip_image009" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/6180.clip_image009_thumb_24AC690E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/6180.clip_5F00_image009_5F00_thumb_5F00_24AC690E.png" width="429" height="326" /></a></span></p>
<h2>&nbsp;</h2>
<h2>Known Issue</h2>
<p>If you try to record Web Performance Test using Internet Explorer 10 then first recording may not happen successfully as Web Performance Test Recorder plugin won&rsquo;t load successfully.&nbsp; Please note that this issue is just restricted to Internet Explorer 10 and it will come maximum <strong>once</strong> post Visual Studio 11 Beta installation. We are working over fixing this issue.</p>
<h2>Send Your Feedback</h2>
<p>If you've any feedback on changes done then please do send us on <a href="https://connect.microsoft.com/VisualStudio">Connect</a> or in the <a href="https://social.msdn.microsoft.com/Forums/en-US/vstswebtest/threads">Forums</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>Load Test: How to create a custom network profile for network emulation?</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/load-test-how-to-create-a-custom-network-profile-for-network-emulation</link>
      <pubDate>Sun, 05 Jun 2011 01:11:35 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2011/06/05/load-test-how-to-create-a-custom-network-profile-for-network-emulation/</guid>
      <description><![CDATA[VS2010 supports true network emulation i.e. the ability to simulate network conditions by directly...]]></description>
      <content:encoded><![CDATA[<p>VS2010 supports true network emulation i.e. the ability to simulate network conditions by directly manipulating the network packets. The Network Emulation that we provide in Visual Studio 2010 is a software-based emulator which can emulate the behaviour of both wired and wireless networks using a reliable physical link, such as an Ethernet. A variety of network attributes are incorporated into the VS2010 Network Emulation model, including round-trip time across the network (latency), the amount of available bandwidth, queuing behaviour, packet loss, reordering of packets, and error propagations. </p>  <p>You can specify network mix while creating load test. The network mix gives you a way to simulate load more realistically in a load test scenario. Load is generated by using a heterogeneous mix of network types instead of one single network type. You create a closer approximation of how end-users interact with your applications. You can read <a href="https://msdn.microsoft.com/en-us/library/dd997557.aspx">here</a> regarding how to specify n/w mix while creating load test.</p>  <p>Right now these profiles are available out of box for a Visual Studio Load Test user:</p>  <ul>   <li>LAN (default) </li>    <li>3G </li>    <li>Cable-DSL-1.5Mbps </li>    <li>Cable-DSL-768k </li>    <li>Cable/DSL-384k </li>    <li>CDMA </li>    <li>Dial-up 56k </li>    <li>Intercontinental slow WAN 300 Kbps </li>    <li>Intercontinental WAN 1.5 Mbps </li>    <li>Intercontinental WAN 1.5 Mbps </li> </ul>  <p>You can find *.network file for each of above profile at <em>%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\Templates\LoadTest\Networks </em>e.g.<em>Cable-DSL 1.5Mbps.network. </em>This file contains all imp settings for a network file like Latency, Packet Loss, Queue Management etc. </p>  <p>You can either modify an existing file / create a new file according to your requirement to create a new <strong>custom</strong> network profile. After you restart VS, This new profile will be available to you while creating n/w mix in load test so creating a new custom network profile is very simple as such. But imp thing is understanding the various imp parameters available inside network profile that you can tweak according to your requirements. So let’s have a look at them:</p>  <p><strong><u>Upstream / Downstream LinkRule</u></strong></p>  <p>upstream network traffic flows away from the local computer toward the remote destination. Conversely, downstream traffic flows to the user's computer. The following are the imp network attributes that can be defined for them:</p>  <ul>   <li>Bandwidth </li>    <li>Latency </li>    <li>Packet loss </li>    <li>Queuing behaviour </li> </ul>  <p>Let’s cover these network attributes in detail:</p>  <p><strong><u>Bandwidth</u></strong></p>  <p>Bandwidth describes <i>“the amount of data that can be transferred to or from the website or server, measured in bytes transferred over a prescribed period of time.” –Wikipedia</i>.&#160; You can specify the bandwidth for the upstream and downstream of a link.&#160; If no bandwidth is specified then network emulation will do nothing to modify the rate at which the packet passes through.</p>  <p>e.g. </p>  <p><font size="2"><em>&lt;Bandwidth&gt;        <br />&#160;&#160;&#160; &lt;Speed unit=&quot;kbps&quot;&gt;1500&lt;/Speed&gt;         <br />&lt;/Bandwidth&gt;         <br /></em></font><strong><u></u></strong></p>  <p><strong><u>Latency</u></strong></p>  <p>Latency is “<i>the time taken for a packet of data to be sent from one application, travel to, and be received by another application. This includes transit time over the network, and processing time at the source and the destination computers.</i>”<i> -Wikipedia</i>. </p>  <p>There are five type of latencies that you can specify:</p>  <ol>   <li><strong>Fixed delay:</strong> packets are delayed for a fixed amount of time. </li>    <li><strong>Uniform delay:</strong> packets are delayed according to a uniform probability distribution. </li>    <li><strong>Normal delay:</strong> packets are delayed according to a normal probability distribution. </li>    <li><strong>Linear delay:</strong> packets are delayed for an amount of time that linearly increases from a minimum to a maximum in a given period of time, and the delay time starts all over from the minimum again when it reaches the maximum. </li>    <li><strong>Burst delay:</strong> packets are delayed according to a given probability, and once one packet is delayed, multiple consecutive packets. </li> </ol>  <p>e.g. </p>  <p><font size="2"><em>&lt;Latency&gt;        <br />&#160; &lt;Fixed&gt;         <br />&#160;&#160;&#160; &lt;Time unit=&quot;msec&quot;&gt;150&lt;/Time&gt;         <br />&#160; &lt;/Fixed&gt;         <br />&lt;/Latency&gt;         <br /></em></font></p>  <p><strong><u>Packet Loss</u></strong></p>  <p>In the real world, packets traveling across a network may fail to reach their target and packet loss occurs.&#160; You can use any one of four packet loss patterns specified below:</p>  <ol>   <li><strong>Periodic loss:</strong> packet loss occurs periodically, that is, one packet is dropped per given number of packets. </li>    <li><strong>Random loss:</strong> packet loss occurs randomly in a given loss rate. </li>    <li><strong>Burst loss:</strong> packet loss occurs according to a given probability, and when a packet loss occurs, multiple packets losses occur consecutively. </li>    <li><strong>G-E loss:</strong> packet loss occurs obeying the Gilbert-Elliot Model that consists of two states, good state and bad state. Packet loss rates are specified respectively for these two states. And the network transit between the two states is at given transition probabilities. </li> </ol>  <p>e.g. </p>  <p><em><font size="2">&lt;Loss&gt;        <br />&#160;&#160; &lt;Random&gt;         <br />&#160;&#160;&#160;&#160; &lt;Rate&gt;0.035&lt;/Rate&gt;         <br />&#160;&#160; &lt;/Random&gt;         <br />&lt;/Loss&gt;         <br /></font></em></p>  <p><strong><u>Queue Behaviour</u></strong></p>  <p>Queuing behaviour describes how received packets are queued and processed. You can specify normal / RED queue in network profile:</p>  <ul>   <li><strong>Normal queue:</strong> all received packets are put into a First In, First Out queue of a given queue size. </li>    <li><strong>Randomly Early Detection (RED) queue:</strong> all received packets are put into a RED queue. If the queue size is smaller than a given lower threshold, the queue is assessed as not congested and nothing happens. If the queue size is larger than a given higher threshold, the queue is assessed as being congested, and some packet will be dropped based on dropping rules. In between, some packets are dropped according to a probability which is computed based on the lower threshold, higher threshold, and current queue size. </li> </ul>  <p>Dropping rules are also defined for queuing behaviour, and the following dropping rules are available:</p>  <ul>   <li><strong>Drop front:</strong> drop packet at the front of the queue when needed. </li>    <li><strong>Drop tail:</strong> drop the packet at the tail of the queue when needed. </li>    <li><strong>Drop random:</strong> when needed, randomly drop a packet in the queue according to a uniform probability distribution. </li> </ul>  <p><font size="2">e.g.</font></p>  <p><font size="2"><em>&lt;QueueManagement&gt;        <br />&#160; &lt;NormalQueue&gt;         <br />&#160;&#160;&#160; &lt;Size&gt;100&lt;/Size&gt;         <br />&#160;&#160;&#160; &lt;QueueMode&gt;packet&lt;/QueueMode&gt;         <br />&#160;&#160;&#160; &lt;DropType&gt;DropTail&lt;/DropType&gt;         <br />&#160; &lt;/NormalQueue&gt;         <br />&lt;/QueueManagement&gt;         <br /></em></font></p> <font size="2"><em></em></font>  <p>&#160;</p>  <p>I hope now you’ll be able to create a custom network profile easily. Let me know in case of any Qs / issues. You can post your query <a href="https://social.msdn.microsoft.com/Forums/en-US/vstswebtest/threads">here</a> as well.</p>]]></content:encoded>
    </item>
    <item>
      <title>Hardware Requirements for Test Agent / Test Controller running Load Test</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/hardware-requirements-for-test-agent-test-controller-running-load-test</link>
      <pubDate>Sat, 04 Jun 2011 23:45:45 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2011/06/04/hardware-requirements-for-test-agent-test-controller-running-load-test/</guid>
      <description><![CDATA[You can find hardware recommendation for Test Agent / Test Controller here:...]]></description>
      <content:encoded><![CDATA[<p>You can find hardware recommendation for Test Agent / Test Controller here: <a href="https://msdn.microsoft.com/en-us/library/ms253092%28VS.90%29.aspx">https://msdn.microsoft.com/en-us/library/ms253092%28VS.90%29.aspx</a></p>  <p>But still people have some questions / confusions around it because of these reasons:</p>  <p>1)Above link talks about h/w requirements for VS2008 and there is no similar link available for VS 2010.</p>  <p>2) The number of virtual users that an test agent can generate will vary widely from test to test because of variance in think times, response size, response time etc. so people want to get more details here so that they can correlate it with their scenario and accordingly evaluate how much load they can generate using an test agent of a particular config.</p>  <p>Reason for #1 is that There was NO change in h/w requirement for Test Agent / Controller in VS2010 and it remains as of VS2008.</p>  <p>To address #2, We did some baselining runs using IBuySpy sample app. Our pages had average response size of ~32KB, avg response time of 3ms and avg think time used was 3secs. We kicked off <strong>multiple</strong> runs of different different durations on different config boxes and came up with these h/w recommendations for <strong>test agent</strong> box:</p>  <p>   <table border="1" cellspacing="0" cellpadding="0" width="591"><tbody>       <tr>         <td valign="bottom" width="141">           <p><b><i><font size="2">Number of vUsers</font></i></b></p>         </td>          <td valign="bottom" width="70">           <p><b><i><font size="2">Avg RPS (Req / sec)</font></i></b></p>         </td>          <td valign="bottom" width="98">           <p><b><i><font size="2">CPU</font></i></b></p>         </td>          <td valign="bottom" width="42">           <p><b><i><font size="2">Memory</font></i></b></p>         </td>          <td valign="bottom" width="238">           <p><b><i><font size="2">Comments</font></i></b></p>         </td>       </tr>        <tr>         <td valign="top" width="141">           <p><font size="2">&lt;1000 virtual users</font></p>         </td>          <td valign="top" width="70">           <p><font size="2">&lt;3000</font></p>         </td>          <td valign="top" width="98">           <p><font size="2">Single Proc Dual Core 2.6GHz</font></p>         </td>          <td valign="top" width="42">           <p><font size="2">4GB</font></p>         </td>          <td valign="top" width="238">           <p><font size="2">We can scale up to 3000 or more&#160; vUsers on this config but it will cause dip in RPS. We've seen Avg RPS of 2000 at user load of 3000.</font></p>         </td>       </tr>        <tr>         <td valign="top" width="141">           <p><font size="2">&lt;2000 virtual users</font></p>         </td>          <td valign="top" width="70">           <p><font size="2">&lt;6000</font></p>         </td>          <td valign="top" width="98">           <p><font size="2">Single Proc Quad Core 2.6GHz</font></p>         </td>          <td valign="top" width="42">           <p><font size="2">8GB</font></p>         </td>          <td valign="top" width="238">           <p><font size="2">We can scale up to 6000 or more vUsers on this config but it will cause dip in RPS. We've seen Avg RPS of 4000 at user load of 6000.</font></p>         </td>       </tr>        <tr>         <td valign="top" width="141">           <p><font size="2">N x 1000 virtual users</font></p>         </td>          <td valign="top" width="70">           <p><font size="2">Nx3000</font></p>         </td>          <td valign="top" width="98">           <p><font size="2">Scale out to N agents each with Single Proc Dual Core 2.6GHz</font></p>         </td>          <td valign="top" width="42">           <p><font size="2">4GB</font></p>         </td>          <td valign="top" width="238"><font size="2"></font></td>       </tr>     </tbody></table> </p>  <p>Please note that the guidelines presented here are provided as general guidance for hardware planning. As mentioned above, Number of vUsers and RPS will vary from test to test depending upon many factors like think time, response size, response time etc. </p>  <p>Let me know in case of any Qs / issues. You can post your query <a href="https://social.msdn.microsoft.com/Forums/en-US/vstswebtest/threads">here</a> as well.</p>]]></content:encoded>
    </item>
    <item>
      <title>Load Test: Different values for counters in graph and table view?</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/load-test-different-values-for-counters-in-graph-and-table-view</link>
      <pubDate>Sat, 04 Jun 2011 23:16:30 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2011/06/04/load-test-different-values-for-counters-in-graph-and-table-view/</guid>
      <description><![CDATA[Sometime while looking at load test results you may see different values for some counters in Graph...]]></description>
      <content:encoded><![CDATA[<p>Sometime while looking at load test results you may see <strong>different</strong> values for some counters in <em>Graph view</em> and <em>Table view.</em>&#160; Generally Min and Max values are different. e.g for my load test result I am seeing different values of counter <em>Page response time </em>in table and graph<em> as you can see below</em></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/3583.image_41669A50.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/3583.image_5F00_41669A50.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/5658.image_thumb_348ED4E3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/5658.image_5F00_thumb_5F00_348ED4E3.png" width="579" height="73" /></a></p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/1440.image_4F5D8BA0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/1440.image_5F00_4F5D8BA0.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/1440.image_thumb_3115655B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/1440.image_5F00_thumb_5F00_3115655B.png" width="593" height="68" /></a></p>  <p>&#160;</p>  <p>It’s bit confusing as 2 different values are there so which one to rely upon for analysis. In this post, I’ll explain why the values are different and which one you can use for deeper analysis.</p>  <p>Actually graph shows you samples at various instances of time which depends upon sampling interval. For each interval, an average is computed for all the requests that were processed during that interval. So, say in the first interval, there are 2 requests processed – one with 2 sec and other with 4 sec, the average for the interval is 3 sec. This is what we show in graph. If the request with 2 sec happens to be the absolute min, the samples graph has not captured it, but the table view will show it. If that interval’s average, 3 sec, is min across all sample intervals, we show 3 sec as min in samples graph. Same explanation goes with max. </p>  <p>In short, graph view shows <strong>averages</strong> of intervals and hence cannot show <strong>absolute</strong> <strong>min/max. So </strong>in case you need absolute min / max data for a counter then <strong>table view is more appropriate</strong> place to get that data.</p>  <p>Let me know in case of any Qs / issues around it. You can post your query <a href="https://social.msdn.microsoft.com/Forums/en-US/vstswebtest/threads">here</a> as well.</p>]]></content:encoded>
    </item>
    <item>
      <title>RPS (Requests / sec) decreases as load test progresses?</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/rps-requests-sec-decreases-as-load-test-progresses</link>
      <pubDate>Sat, 04 Jun 2011 10:20:21 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2011/06/04/rps-requests-sec-decreases-as-load-test-progresses/</guid>
      <description><![CDATA[Some users come across these type of issues in their load test runs:     RPS decreases though user...]]></description>
      <content:encoded><![CDATA[<p>Some users come across these type of issues in their load test runs:</p>  <ol>   <li>RPS decreases though user load increases </li>    <li>RPS decreases gradually over the duration of run though user load is constant </li> </ol>  <p>RPS Pattern like shown below in graph indeed looks confusing:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/4174.image_4DE2021D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/4174.image_5F00_4DE2021D.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/metablogapi/2450.image_thumb_3AC36622.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-97-metablogapi/2450.image_5F00_thumb_5F00_3AC36622.png" width="601" height="263" /></a></p>  <p>As part of investigations we found that these issues are caused by:</p>  <p><strong>1) Caching of dependent requests</strong></p>  <p>Please note that dependent requests are always cached even though you’ve turned off caching by setting “Percentage of new users” property to 100%. This blogs talk about it in detail: <a href="https://blogs.msdn.com/b/billbar/archive/2007/01/22/simulation-of-browser-caching-in-vsts-load-tests-and-web-tests.aspx">https://blogs.msdn.com/b/billbar/archive/2007/01/22/simulation-of-browser-caching-in-vsts-load-tests-and-web-tests.aspx</a></p>  <p>Please note that we are NOT recommending to disable caching of dependent requests. We are just clarifying that RPS dips because of it. Additionally, if user wants to disable caching of dependent requests because of his scenarios requirements then he can do it. Above blog link talks about how to do it.</p>  <p><strong>2)Unhealthy CPU (85%+) on agent box</strong></p>  <p>We’ve observed that if CPU is above 85%+ on test agent box then RPS dips so recommendation here is to restrict CPU on test agent box within 85%.</p>  <p><strong>3) Anti-virus / anti-malware</strong></p>  <p>We’ve observed that anti-virus / anti-malware spikes CPU on test agent box. This is because QTAgent does lots of activity on agent box so anti-virus thinks there is some something suspicious about QTAgent process. So we are recommending here to make sure that no other processes are eating CPU on Agent machines and add QTAgent (/QTAgent32) process in excluded process of antivirus to avoid CPU spike by anti-virus.</p>  <p>I hope this will help you in understanding RPS pattern in your load test runs and taking appropriate action accordingly.</p>  <p>Let me know in case of any Qs / issues. You can post your query <a href="https://social.msdn.microsoft.com/Forums/en-US/vstswebtest/threads">here</a> as well.</p>]]></content:encoded>
    </item>
    <item>
      <title>How to resolve Issues faced during counter collection in Load Test run?</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/how-to-resolve-issues-faced-during-counter-collection-in-load-test-run</link>
      <pubDate>Sat, 04 Jun 2011 09:49:53 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2011/06/04/how-to-resolve-issues-faced-during-counter-collection-in-load-test-run/</guid>
      <description><![CDATA[You may come across some issues while collecting counters using Load Test. These 2 types of issues...]]></description>
      <content:encoded><![CDATA[<p>You may come across some issues while collecting counters using Load Test. These 2 types of issues are most common:</p>  <p><strong>1) Not able to access performance counter category on a computer</strong></p>  <p>You’ll get this kind of error message in this scenario:</p>  <p><em>The performance counter category 'Network Interface' cannot be accessed on computer 'ComputerName' (Access is denied) ; check that the category and computer names are correct. </em></p>  <p><strong>2) Timed Out while reading a performance counter category</strong></p>  <p>You’ll get this kind of error message in this scenario:</p>  <p><em>The performance counter category ‘Memory’ cannot be accessed on computer ‘'ComputerName' (Timed out trying to read performance counter category ‘Memory’ on computer ‘'ComputerName' ); check that the category and computer names are correct.</em></p>  <p>There are&#160; are multiple reasons which can cause issues mentioned above / other issues during counter collection. In this blog post, we’ll discuss what causes these issues and how to resolve them.</p>  <p>These are the main reasons which creates problems in collecting counters:</p>  <ol>   <li><strong>Firewall Issue:</strong> Performance Logs &amp; Alerts should be in allowed program list in firewall on a box from which you want to collect counter. </li>    <li><strong>Permissions issue:</strong> User account with which controller is running should be member of&#160; Performance Log Users, Performance Monitor Users, or Administrators group on box from where you want to collect counters. </li>    <li><strong>Service Issue:</strong>&#160; <ul>       <li>Performance Logs &amp; Alerts service should be running on box from where you want to collect counter. </li>        <li>Remote Registry service should be enabled and running on box from where you want to collect counter. </li>     </ul>   </li>    <li><strong>Timeout Issue:</strong> Timeout may happen if you are collecting counters from remote / slow box e.g. remote web server. We can increase the timeout by adding this key in controller config file <em>Controller.exe.config</em>: </li> </ol>  <blockquote>   <p><em>&lt;appSettings&gt;        <br />&lt;add key=&quot;LoadTestCounterCategoryReadTimeout&quot; value=&quot;60000&quot;/&gt;         <br />&lt;add key=&quot;LoadTestCounterCategoryExistsTimeout&quot; value=&quot;60000&quot;/&gt;         <br />&lt; /appSettings&gt;         <br /></em></p>    <p>You’ll find Controller.exe.config inside <em>%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE</em> at your test controller box. In case you are not using test controller and doing a local run then please add above mentioned key in devenv.exe.config which you’ll find inside <em>%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE</em> at your client <em>(VS Ultimate)</em> box.</p>    <p>Above steps should solve your issue but in case it still persists then you can post it <a href="https://social.msdn.microsoft.com/Forums/en-US/vstswebtest/threads">here</a></p></blockquote>]]></content:encoded>
    </item>
    <item>
      <title>Issues with using Custom Counter in Goal Based Load Pattern inside Load Test</title>
      <link>https://docs.microsoft.com/archive/blogs/rubel/issues-with-using-custom-counter-in-goal-based-load-pattern-inside-load-test</link>
      <pubDate>Tue, 23 Nov 2010 05:14:00 GMT</pubDate>
      <dc:creator><![CDATA[RubelS_MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rubel/2010/11/23/issues-with-using-custom-counter-in-goal-based-load-pattern-inside-load-test/</guid>
      <description><![CDATA[If you are using custom counter in goal based load pattern inside load test then you may come across...]]></description>
      <content:encoded><![CDATA[<p>If you are using custom counter in goal based load pattern inside load test then you may come across this kind of error while running load test:</p>
<p><em>Exception&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LoadTestGoalCounterNotFoundException&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A goal based load pattern can not be applied because it specifies a performance counter (RUBELSVM1\MyCategory1\MyCounter1\) that could not be read: Category does not exist.</em></p>
<p>In error message above, <em>MyCounter1 </em>is custom counter, <em>MyCategory1 </em>is<em> </em>counter category and RubelsVM1 is box where this counter is defined. This is how my goal based load pattern looks like:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/31/97/1856.goal.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-31-97/1856.goal.png" border="0" /></p>
<p>This error occurs because of a known issue with&nbsp;Dev10&nbsp;because of which&nbsp;test controller&nbsp;always look for counter on <strong>test controller machine for a remote run or on the visual studio client machine</strong> <strong>for a local run</strong>. </p>
<p>To workaround this issue, you need to create the custom category and counter on your test controller box when running remote runs or on&nbsp;the visual studio&nbsp;client<em>&nbsp;</em>box in case of local run.</p>
<p>It is easy to create custom counter on a box. This is the sample code which you can use to create custom category and counter:<code class="csharp"><span style="font-family: arial"></span> </code></p>
<pre class="csharpcode"><span class="kwrd">using</span> System.Diagnostics;

<span class="kwrd">namespace</span> CreateCustomCounter
{
    <span class="kwrd">class</span> Program
    {
        <span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)
        {
            <span class="rem">// Create a collection of type CounterCreationDataCollection.</span>
            System.Diagnostics.CounterCreationDataCollection CounterDatas =
               <span class="kwrd">new</span> System.Diagnostics.CounterCreationDataCollection();
            <span class="rem">// Create the counters and set their properties.</span>
            System.Diagnostics.CounterCreationData cdCounter1 =
               <span class="kwrd">new</span> System.Diagnostics.CounterCreationData();
            cdCounter1.CounterName = <span class="str">"MyCounter1"</span>;
            cdCounter1.CounterHelp = <span class="str">"help string1"</span>;
            cdCounter1.CounterType = System.Diagnostics.PerformanceCounterType.NumberOfItems64;
            <span class="rem">// Add both counters to the collection.</span>
            CounterDatas.Add(cdCounter1);
            <span class="rem">// Create the category and pass the collection to it.</span>
            System.Diagnostics.PerformanceCounterCategory.Create(
                <span class="str">"MyCategory1"</span>, <span class="str">"Category help"</span>,
                PerformanceCounterCategoryType.SingleInstance, CounterDatas);
        }
    }
}</pre>
<pre class="scroll"><p><code class="csharp"></code><p>&nbsp;</p>
</p><pre class="scroll"></pre>
<code></code></pre>
<p class="scroll"><code class="csharp"><span style="font-family: Arial;"></span></code></p>
<p>Your load test should run fine without any errors after you've created the custom counters on test controller / client box. Please note that you need to run the above program with admin privileges. You can refer <a href="https://msdn.microsoft.com/en-us/library/5e3s61wf(v=VS.90).aspx">here</a> for more details on creating custom counters.</p>
<p>If you have any questions or comments please email the author at: <a href="mailto:rubels@microsoft.com">rubels@microsoft.com</a> </p>]]></content:encoded>
    </item>
  </channel>
</rss>