<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Bill Barnett's blog : Web test</title><link>http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx</link><description>Tags: Web test</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>VSTS 2010 Feature: More flexible load modeling via new options on Load Test Scenarios</title><link>http://blogs.msdn.com/billbar/archive/2009/06/11/vsts-2010-feature-more-flexible-load-modeling-via-new-options-on-load-test-scenarios.aspx</link><pubDate>Thu, 11 Jun 2009 20:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9727237</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/billbar/comments/9727237.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=9727237</wfw:commentRss><description>&lt;P&gt;&lt;FONT size=2&gt;In VSTS 2010 Beta 1 (available for download &lt;/FONT&gt;&lt;A href="https://msdn.microsoft.com/en-us/subscriptions/securedownloads/default.aspx?pv=18:370" mce_href="https://msdn.microsoft.com/en-us/subscriptions/securedownloads/default.aspx?pv=18:370"&gt;&lt;FONT size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;), there are four new properties on each Scenario in a Load Test that give you more control of the time, location, and duration of the running of the Scenario during the load test.&amp;nbsp;&amp;nbsp;&amp;nbsp; You can access the Scenario property sheet by right-clicking on the desired Scenario’s node in the Load Test Editor tree:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/GettingToScenarioProperties.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/GettingToScenarioProperties.png"&gt;&lt;IMG title=GettingToScenarioProperties style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=553 alt=GettingToScenarioProperties src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/GettingToScenarioProperties_thumb.png" width=343 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/GettingToScenarioProperties_thumb.png"&gt;&lt;/A&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The new properties are:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;“&lt;FONT size=2&gt;Agents to Use”&lt;BR&gt;”Maximum Test Iterations”&lt;BR&gt;”Delay Start Time”&lt;BR&gt;”Disable During Warmup”&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The screen shot below of the Scenario property sheet shows the new Scenario properties along with those that existed in VSTS 2008:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesDefaults.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesDefaults.png"&gt;&lt;IMG title=NewScenarioPropertiesDefaults style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=457 alt=NewScenarioPropertiesDefaults src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesDefaults_thumb.png" width=644 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesDefaults_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The above screen shot shows the initial default values for all four properties which in all four cases means that the new feature is not used and the load test behaves as it would with VSTS 2008 (all other things being the same).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The screen shots below show non-default values for each of these new properties.&amp;nbsp;&amp;nbsp; You can read the property descriptions in the screen shot, so no need to repeat those, but I’ve added some additional comments on the selected property below each screen shot:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesNonDefault.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesNonDefault.png"&gt;&lt;IMG title=NewScenarioPropertiesNonDefault style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=451 alt=NewScenarioPropertiesNonDefault src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesNonDefault_thumb.png" width=646 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesNonDefault_thumb.png"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The agent names that are entered should be the names of agents that are connected to the controller to which the load test will be submitted.&amp;nbsp;&amp;nbsp; They should be the simple computer names of the agents (as seen in the “Computer Name” field in the Control Panel).&amp;nbsp;&amp;nbsp; Unfortunately, at this time, if you switch to submitting the load test to a different controller, you will need to change the value for “Agents to Use” as there is no way to parameterize this list to vary depending on the controller used.&amp;nbsp;&amp;nbsp; This list of agents designates a subset of those the agents that are connected to the controller, and are in the Ready state when the load tests starts (they may be running a different load test or other test run when the load test is queued as long as they become Ready when the load test is taken out of the Pending state and starts running), and that meet any agent selection criteria to allow the test run to be run on the agent.&amp;nbsp;&amp;nbsp; The Scenario will run on all agents in the list that meet these criteria, and the user load for the Scenario will be distributed among these agents either evenly (by default) or according to any agent weightings specified in the Agent properties for the agents (from the “Administer Test Controllers” dialog in Visual Studio).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The screen shot below has a non-default value for “Maximum Test Iterations” which is selected to show the property description:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesMaxIterations.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesMaxIterations.png"&gt;&lt;IMG title=NewScenarioPropertiesMaxIterations style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=449 alt=NewScenarioPropertiesMaxIterations src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesMaxIterations_thumb.png" width=651 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesMaxIterations_thumb.png"&gt;&lt;/A&gt; L&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;This property is a maximum on the &lt;STRONG&gt;total&lt;/STRONG&gt; number of test iterations for tests in the selected Scenario for all users on all agents on which the Scenario is run, and does not mean “Test Iterations per User”.&amp;nbsp;&amp;nbsp; If the Load Test Run Settings dialog specifies a value for Test Iterations that is less than this value, or the timed duration of the load test expires before this maximum is reached the load test will stop.&amp;nbsp;&amp;nbsp; In other words, as the name implies this is a maximum, but not a minimum.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The screen shot below has non-default values for “Delay Start Time” and “Disable During Warmup”.&amp;nbsp;&amp;nbsp; The property description for “Delay Start Time” also describes how the “Disable During Warmup” setting affects when the Scenario actually starts:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesDelayStart.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesDelayStart.png"&gt;&lt;IMG title=NewScenarioPropertiesDelayStart style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=445 alt=NewScenarioPropertiesDelayStart src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesDelayStart_thumb.png" width=654 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureMoreflexibleloadmodelingv_FEFB/NewScenarioPropertiesDelayStart_thumb.png"&gt;&lt;/A&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The description implies but does not explicitly state this: if “Disable During Warmup” is false, the Delay Start Time is measured from the very beginning of the load test including any warm-up period.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;For a complete list of the new Web testing and Load Testing features in VSTS 2010 Beta 1 check out &lt;A href="http://blogs.msdn.com/edglas/archive/2009/05/18/dev10-beta-1-available.aspx" mce_href="http://blogs.msdn.com/edglas/archive/2009/05/18/dev10-beta-1-available.aspx"&gt;Ed Glas's list&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9727237" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/Unit+test/default.aspx">Unit test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Load+test/default.aspx">Load test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/tsbt-tst/default.aspx">tsbt-tst</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS2010/default.aspx">VSTS2010</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Visual+Studio+2010/default.aspx">Visual Studio 2010</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS+Testing/default.aspx">VSTS Testing</category></item><item><title>VSTS 2010 Feature: Sequential Test Mix</title><link>http://blogs.msdn.com/billbar/archive/2009/06/10/vsts-2010-feature-sequential-test-mix.aspx</link><pubDate>Thu, 11 Jun 2009 00:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9725042</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/billbar/comments/9725042.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=9725042</wfw:commentRss><description>&lt;P&gt;&lt;FONT size=2&gt;VSTS 2010 Load Tests offer several new options that can be set on each Scenario in the load test that give you more control over the execution of the Scenarios within the load test and therefore allows you to more easily create a load test that accurately models the load that your are trying to simulate on your servers under test.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The first of these is a new “Text Mix” type based on sequential test order that simply allows you to set up a sequential ordering of the tests that each virtual user will go through.&amp;nbsp;&amp;nbsp; This option is available in the New Load Test and New Scenario Wizards:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/Wizard1.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/Wizard1.png"&gt;&lt;IMG title=Wizard1 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=457 alt=Wizard1 src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/Wizard1_thumb.png" width=659 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/Wizard1_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The diagram shows an example with 4 virtual users and two tests in the Scenario, and the text below the diagram explains the behavior.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;If you select “Based on sequential test order” and click “Next”, the next Wizard page allows to add to and order the tests:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/Wizard2.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/Wizard2.png"&gt;&lt;IMG title=Wizard2 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=458 alt=Wizard2 src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/Wizard2_thumb.png" width=661 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/Wizard2_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Note that there is no need to enter percentages or pacing information as for the other test mix types.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Once you’ve created the load test Scenario through the Wizard with this test mix type, you can later use the Load Test editor’s Test Mix editor to change the Test Mix type, or add, remove, or change the order of the tests:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/SequentialTestMix.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/SequentialTestMix.png"&gt;&lt;IMG title=SequentialTestMix style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=545 alt=SequentialTestMix src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/SequentialTestMix_thumb.png" width=657 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010FeatureNewLoadTestScenariooption_E138/SequentialTestMix_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;For a complete list of the new Web testing and Load Testing features in VSTS 2010 Beta 1 check &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/edglas/archive/2009/05/18/dev10-beta-1-available.aspx" mce_href="http://blogs.msdn.com/edglas/archive/2009/05/18/dev10-beta-1-available.aspx"&gt;&lt;FONT size=2&gt;Ed Glas's list&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;.&amp;nbsp;&amp;nbsp; You can download the beta &lt;/FONT&gt;&lt;A href="https://msdn.microsoft.com/en-us/subscriptions/securedownloads/default.aspx?pv=18:370" mce_href="https://msdn.microsoft.com/en-us/subscriptions/securedownloads/default.aspx?pv=18:370"&gt;&lt;FONT size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9725042" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/Unit+test/default.aspx">Unit test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Load+test/default.aspx">Load test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/tsbt-tst/default.aspx">tsbt-tst</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS2010/default.aspx">VSTS2010</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Visual+Studio+2010/default.aspx">Visual Studio 2010</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS+Testing/default.aspx">VSTS Testing</category></item><item><title>VSTS 2010 Load Test Feature: Saving Test Logs</title><link>http://blogs.msdn.com/billbar/archive/2009/06/09/vsts-2010-load-test-feature-saving-test-logs.aspx</link><pubDate>Tue, 09 Jun 2009 02:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9710876</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/billbar/comments/9710876.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=9710876</wfw:commentRss><description>&lt;P&gt;&lt;FONT size=2&gt;Now that VSTS 2010 beta 1 is available I and other Load Test development and test team members will be writing a series of blog posts highlighting the new Web and Load testing features.&amp;nbsp;&amp;nbsp; Ed Glas has a blog post that lists the new features &lt;A href="http://blogs.msdn.com/edglas/archive/2009/05/18/dev10-beta-1-available.aspx" mce_href="http://blogs.msdn.com/edglas/archive/2009/05/18/dev10-beta-1-available.aspx"&gt;here&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp; You can download the beta &lt;A href="http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx?pv=18:370" mce_href="http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx?pv=18:370"&gt;here&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;This post describes in detail the item in Ed’s list “Log entire test result on test failure …”:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;With VSTS 2010, Load Test users now have the option of capturing and saving the entire result of individual tests run within the load test such as a failed Web test or a failed unit test.&amp;nbsp;&amp;nbsp; This feature makes it easier to debug problems that occur when running tests within a load test that do not occur when running the same tests outside the context of a load test.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The New Load Test Wizard exposes a new option “Save Log on Test Failure” which defaults to True:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/LoadTestWizard_1.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/LoadTestWizard_1.png"&gt;&lt;IMG title=LoadTestWizard style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=419 alt=LoadTestWizard src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/LoadTestWizard_thumb_1.png" width=604 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/LoadTestWizard_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Also, in the Load Test editor, the Load Test Run Setting’s property sheet includes this option as well as two other related properties in the new “Logging” category:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/LoadTestRunSettings_1.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/LoadTestRunSettings_1.png"&gt;&lt;IMG title=LoadTestRunSettings style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=381 alt=LoadTestRunSettings src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/LoadTestRunSettings_thumb_1.png" width=552 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/LoadTestRunSettings_thumb_1.png"&gt;&lt;/A&gt; 
&lt;P&gt;&lt;FONT size=2&gt;You can see the description of the new “Save Log Frequency for Completed Tests” property above.&amp;nbsp;&amp;nbsp;&amp;nbsp; The “Maximum Test Logs” setting controls the maximum number of Test Logs that are saved in the load test results database for a single load test.&amp;nbsp;&amp;nbsp;&amp;nbsp; You can increase this value from the default value of 200, but we aware that the test logs could potentially take up a considerable amount of space in the database especially for Web tests that contain many large requests and/or responses since they include the entire body of each Web test request and response (the exception to this is that details for dependent requests are not saved in order to save space).&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT size=2&gt;For example, to see how this works with unit tests in a load test, suppose I have the two following unit test methods:&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT size=2&gt;[TestMethod]&lt;BR&gt;public void UnitTestThatLogsAndPasses()&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug.WriteLine("This line written using Debug.WriteLine()");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trace.WriteLine("This line written using Trace.WriteLine()");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine("This line written using Console.WriteLine()");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Threading.Thread.Sleep(1000);&lt;BR&gt;} &lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;[TestMethod]&lt;BR&gt;public void UnitTestThatLogsAndFails()&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug.WriteLine("This line written using Debug.WriteLine()");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trace.WriteLine("This line written using Trace.WriteLine()");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine("This line written using Console.WriteLine()");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Threading.Thread.Sleep(500);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assert.Fail("This test fails for demo purposes");&lt;BR&gt;}&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT size=2&gt;Then I include these unit tests in a load test with the passing test running 90% of the time:&lt;/FONT&gt; 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/DemoUnitTestLogs.loadtest_2.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/DemoUnitTestLogs.loadtest_2.png"&gt;&lt;IMG title=DemoUnitTestLogs.loadtest style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=368 alt=DemoUnitTestLogs.loadtest src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/DemoUnitTestLogs.loadtest_thumb.png" width=259 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/DemoUnitTestLogs.loadtest_thumb.png"&gt;&lt;/A&gt; 
&lt;P&gt;&lt;FONT size=2&gt;The Test Logs are &lt;U&gt;not&lt;/U&gt; viewable while the load test is running, but can be viewed once the load test has completed and you go to the post-run Load Test Analyzer by responding Yes to this prompt at the end of the load test:&lt;/FONT&gt; 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/GoToPostRun.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/GoToPostRun.png"&gt;&lt;IMG title=GoToPostRun style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=106 alt=GoToPostRun src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/GoToPostRun_thumb.png" width=846 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/GoToPostRun_thumb.png"&gt;&lt;/A&gt; 
&lt;P&gt;&lt;FONT size=2&gt;(You can also bring up the post-run Load Test Analyzer for a load test run from the “Open and Manage Load Test Results” dialog available on the toolbar in the Load Test Editor.)&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT size=2&gt;This should bring you to the Summary page in the Load Test Analyzer; if you then click on the Errors link, the Errors table is displayed and includes links to the Test Logs in the “Details” column (the right-most column – you may need to scroll right to see it):&lt;/FONT&gt; 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/ErrorsTable.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/ErrorsTable.png"&gt;&lt;IMG title=ErrorsTable style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=378 alt=ErrorsTable src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/ErrorsTable_thumb.png" width=851 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/ErrorsTable_thumb.png"&gt;&lt;/A&gt; 
&lt;P&gt;&lt;FONT size=2&gt;Clicking on one of the “Test log” links in this table opens a new Window in Visual Studio to view that unit test result which looks just like viewing the result of a unit test run outside of a load test:&lt;/FONT&gt; 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/UnitTestResult_1.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/UnitTestResult_1.png"&gt;&lt;IMG title=UnitTestResult style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=347 alt=UnitTestResult src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/UnitTestResult_thumb_1.png" width=853 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/UnitTestResult_thumb_1.png"&gt;&lt;/A&gt;&amp;nbsp; 
&lt;P&gt;&lt;FONT size=2&gt;In addition to links to the Test Logs in the Errors table, there is also a new “Test Details” table in the Load Test Analyzer that also may contains links to Test Logs:&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT size=2&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/TestDetailsTable.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/TestDetailsTable.png"&gt;&lt;IMG title=TestDetailsTable style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=470 alt=TestDetailsTable src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/TestDetailsTable_thumb.png" width=735 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/TestDetailsTable_thumb.png"&gt;&lt;/A&gt; &lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;In the load test result shown above, it was a Web test that failed, so clicking on the &lt;/FONT&gt;&lt;FONT size=2&gt;“Test Log” link opens a new Web Test result viewer window in Visual Studio; you can see the details of requests that failed, but you can also browse around the Web test result to see the details of previous requests that may have been considered successful but perhaps caused later requests to fail because they were missing expected content (and there was not an appropriate validation rule).&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;As with the unit test, the Web test result viewer is the same as when the Web test is run outside of a load test:&lt;/FONT&gt; 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/WebTestResult.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/WebTestResult.png"&gt;&lt;IMG title=WebTestResult style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=661 alt=WebTestResult src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/WebTestResult_thumb.png" width=860 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/WebTestResult_thumb.png"&gt;&lt;/A&gt; 
&lt;P&gt;&lt;FONT size=2&gt;As a slight aside to this topic, the new Test Details table is available in the post-run load test analyzer as long as you have set the value for the Load Test Run Setting’s property “Timing Details Storage” to “All Individual Details”.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is true even if you disable the capturing of Test Logs by setting “Save Log on Test Failure” to False and leaving ““Save Log Frequency for Completed Tests” at the default value of 0 (which means never capture test logs for successful tests).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In this case, the Test Details table would look like this:&lt;/FONT&gt; 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/TestDetailsWithoutTestLog.png" mce_href="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/TestDetailsWithoutTestLog.png"&gt;&lt;IMG title=TestDetailsWithoutTestLog style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=406 alt=TestDetailsWithoutTestLog src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/TestDetailsWithoutTestLog_thumb.png" width=796 border=0 mce_src="http://blogs.msdn.com/blogfiles/billbar/WindowsLiveWriter/VSTS2010LoadTestFeatureSavingTestLogs_DA3F/TestDetailsWithoutTestLog_thumb.png"&gt;&lt;/A&gt; 
&lt;P&gt;&lt;FONT size=2&gt;When “Timing Details Storage” is set to “All Individual Details” (&lt;STRONG&gt;which is now the default value for this property for load tests created with VSTS 2010&lt;/STRONG&gt;), the data shown in the table above is stored in the load test results database for all tests run within the load test (excluding the warm-up and cool-down periods).&amp;nbsp;&amp;nbsp;&amp;nbsp; The Test Details table in the Load Test Analyzer will only display up to 1000 of these rows at a time.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When the table is first loaded, it is sorted in chronological order (that is by ascending values of the Start Time column) as shown above.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; However, you can choose a different sort column and toggle the sort order by clicking on the column headers.&amp;nbsp;&amp;nbsp;&amp;nbsp; This results in a new query to the load test database so that you see the top 1000 rows matching the sort column and order.&amp;nbsp;&amp;nbsp;&amp;nbsp; For example, you can choose to sort by the slowest values in the Test Time column to see the 1000 slowest individual tests within the load test.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9710876" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/Unit+test/default.aspx">Unit test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Load+test/default.aspx">Load test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/tsbt-tst/default.aspx">tsbt-tst</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS2010/default.aspx">VSTS2010</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Visual+Studio+2010/default.aspx">Visual Studio 2010</category><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS+Testing/default.aspx">VSTS Testing</category></item><item><title>Hot fix available for think time bug introduced in VSTS 2008 SP1</title><link>http://blogs.msdn.com/billbar/archive/2008/09/10/hot-fix-available-for-think-time-bug-introduced-in-vsts-2008-sp1.aspx</link><pubDate>Thu, 11 Sep 2008 01:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8942176</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/billbar/comments/8942176.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=8942176</wfw:commentRss><description>&lt;P&gt;There is now a hot fix available at&amp;nbsp;&lt;A href="http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=15510"&gt;http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=15510&lt;/A&gt;&amp;nbsp;for the bug introduced in VSTS 2008 SP1 where think times were being ignored during a load test for Web test requests that resulted in redirect responses (described in my earlier post: &lt;A href="http://blogs.msdn.com/billbar/archive/2008/08/04/bug-in-vsts-2008-sp1-causes-think-time-for-redirected-requests-to-be-ignored-in-a-load-test.aspx" mce_href="http://blogs.msdn.com/billbar/archive/2008/08/04/bug-in-vsts-2008-sp1-causes-think-time-for-redirected-requests-to-be-ignored-in-a-load-test.aspx"&gt;http://blogs.msdn.com/billbar/archive/2008/08/04/bug-in-vsts-2008-sp1-causes-think-time-for-redirected-requests-to-be-ignored-in-a-load-test.aspx&lt;/A&gt;).&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8942176" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Load+test/default.aspx">Load test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/tsbt-tst/default.aspx">tsbt-tst</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category></item><item><title>Bug in VSTS 2008 SP1 causes think time for redirected requests to be ignored in a load test</title><link>http://blogs.msdn.com/billbar/archive/2008/08/04/bug-in-vsts-2008-sp1-causes-think-time-for-redirected-requests-to-be-ignored-in-a-load-test.aspx</link><pubDate>Mon, 04 Aug 2008 22:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8832083</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/billbar/comments/8832083.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=8832083</wfw:commentRss><description>&lt;P&gt;Unfortunately, late last week we discovered a nasty bug&amp;nbsp;with load testing&amp;nbsp;in&amp;nbsp;VSTS 2008 SP1 that is a regression from the original RTM version of&amp;nbsp;VSTS 2008: for Web test requests that result in redirects, any think time that is specifed on the request is ignored when the Web test is run in a load test.&amp;nbsp;&amp;nbsp; Even more unfortunately, VSTS 2008 SP1 has been locked down for changes, so the fix for this problem will not make it in.&amp;nbsp;&amp;nbsp;We will need to create a QFE to be applied to SP1 to fix the problem.&amp;nbsp;&amp;nbsp;It takes some time to get through the QFE process.&amp;nbsp;&amp;nbsp;&amp;nbsp; In the meantime, it is possible to workaround this bug by adding a Web test plugin to each Web test used in a load test that uses redirects and think times (probably most Web tests).&amp;nbsp;&amp;nbsp;The work around is to add the following WebTestPlugin to your test solution, and then add the Web test plug-in to each Web test (fortunately a Web test can have any number of plug-ins):&lt;/P&gt;
&lt;P mce_keep="true"&gt;using Microsoft.VisualStudio.TestTools.WebTesting;&lt;/P&gt;
&lt;P mce_keep="true"&gt;namespace TestProject1&amp;nbsp;&amp;nbsp;&amp;nbsp; // Change the name space as appropriate&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public class WebTestPlugin_FixThinkTime : WebTestPlugin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private WebTestRequest m_currentPageOriginalRequest;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public override void PostRequest(object sender, PostRequestEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base.PostRequest(sender, e);&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!e.Request.IsRedirectFollow)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_currentPageOriginalRequest = e.Request;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (m_currentPageOriginalRequest.ThinkTime == 0 &amp;amp;&amp;amp; e.Request.ThinkTime != 0)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_currentPageOriginalRequest.ThinkTime = e.Request.ThinkTime;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;}&lt;/P&gt;
&lt;P mce_keep="true"&gt;If you are&amp;nbsp;already using VSTS 2008 SP1 Beta1, can you&amp;nbsp;add this plug-in now to fix the existing bug, and the plug-in will still work when the final version of&amp;nbsp;SP1 ships, and will not cause any harm&amp;nbsp;once the QFE that fixes the bug is available (though it could be removed at that point).&amp;nbsp;&lt;BR&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8832083" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Load+test/default.aspx">Load test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category></item><item><title>Disabling caching of all dependent requests</title><link>http://blogs.msdn.com/billbar/archive/2008/06/06/disabling-caching-of-all-dependent-requests.aspx</link><pubDate>Fri, 06 Jun 2008 22:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8578825</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/billbar/comments/8578825.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=8578825</wfw:commentRss><description>&lt;P&gt;&amp;nbsp;&lt;SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;In a previous blog post here: &lt;A href="http://blogs.msdn.com/billbar/archive/2007/01/22/simulation-of-browser-caching-in-vsts-load-tests-and-web-tests.aspx"&gt;http://blogs.msdn.com/billbar/archive/2007/01/22/simulation-of-browser-caching-in-vsts-load-tests-and-web-tests.aspx&lt;/A&gt;, I described the behavior of caching with VSTS 2005.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;With VSTS 2008, t&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;he default caching behavior is the same.&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;However, with VSTS 2008, if you want completely disabling caching of all dependent requests and always fetch them, you can so&amp;nbsp;by&amp;nbsp;adding&amp;nbsp;the following WebTestPlugin to your Web test:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;class&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;WebTestPlugin_DisableDependentCaching&lt;/SPAN&gt; : &lt;SPAN style="COLOR: #2b91af"&gt;WebTestPlugin&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;override&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; PostRequest(&lt;SPAN style="COLOR: blue"&gt;object&lt;/SPAN&gt; sender, &lt;SPAN style="COLOR: #2b91af"&gt;PostRequestEventArgs&lt;/SPAN&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;foreach&lt;/SPAN&gt; (&lt;SPAN style="COLOR: #2b91af"&gt;WebTestRequest&lt;/SPAN&gt; dependentRequest &lt;SPAN style="COLOR: blue"&gt;in&lt;/SPAN&gt; e.Request.DependentRequests)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;dependentRequest.Cache = &lt;SPAN style="COLOR: blue"&gt;false&lt;/SPAN&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8578825" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Load+test/default.aspx">Load test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/tsbt-tst/default.aspx">tsbt-tst</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category></item><item><title>Content Index for Web and Load testing</title><link>http://blogs.msdn.com/billbar/archive/2007/12/17/content-index-for-web-and-load-testing.aspx</link><pubDate>Mon, 17 Dec 2007 22:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6791972</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/billbar/comments/6791972.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=6791972</wfw:commentRss><description>&lt;P&gt;Ed Glas has posted a "Content Index for Web and Load Tests" on his blog at: &lt;A href="http://blogs.msdn.com/edglas/pages/content-index-for-web-tests-and-load-tests.aspx"&gt;http://blogs.msdn.com/edglas/pages/content-index-for-web-tests-and-load-tests.aspx&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;This provides links to a variety of online resources (forums, blogs, whitepapers) for VSTS web and load testing.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6791972" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Load+test/default.aspx">Load test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/tsbt-tst/default.aspx">tsbt-tst</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category></item><item><title>Mike Taute's blog post on Diagnosing and fixing Web Test recorder bar issues</title><link>http://blogs.msdn.com/billbar/archive/2007/11/12/mike-taute-s-blog-post-on-diagnosing-and-fixing-web-test-recorder-bar-issues.aspx</link><pubDate>Mon, 12 Nov 2007 18:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6142221</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/billbar/comments/6142221.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=6142221</wfw:commentRss><description>&lt;P&gt;For anyone have trouble getting the VSTS Web test recorder to start recording properly, see Mike Taute's blog post on diagnosing and fixing these problems at: &lt;A href="http://blogs.msdn.com/mtaute/archive/2007/11/09/diagnosing-and-fixing-web-test-recorder-bar-issues.aspx"&gt;http://blogs.msdn.com/mtaute/archive/2007/11/09/diagnosing-and-fixing-web-test-recorder-bar-issues.aspx&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6142221" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/tsbt-tst/default.aspx">tsbt-tst</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category></item><item><title>Simulation of browser caching in VSTS load tests and Web tests</title><link>http://blogs.msdn.com/billbar/archive/2007/01/22/simulation-of-browser-caching-in-vsts-load-tests-and-web-tests.aspx</link><pubDate>Mon, 22 Jan 2007 23:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1509487</guid><dc:creator>billbar@microsoft.com</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/billbar/comments/1509487.aspx</comments><wfw:commentRss>http://blogs.msdn.com/billbar/commentrss.aspx?PostID=1509487</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;In a VSTS load test that contains Web tests, the load test attempts to simulate the caching behavior of the browser.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Here are some notes on how that is done:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1; tab-stops: list .25in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;There is a property named on each request in a Web test named “Cache Control” in the Web test editor (and named “Cache” on the WebTestRequest object in the API used by coded Web tests).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1; tab-stops: list .25in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;When the Cache Control property on a request in the Web test is false, the request is always issued.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1; tab-stops: list .25in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;When the Cache Control property is true, the VSTS load test runtime code attempts to emulate the Internet Explorer caching behavior (with the “Automatically” setting).&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;(This includes reading and following the HTTP cache control directives.)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2; tab-stops: list .25in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;The Cache Control property is automatically set to true for all dependent requests (typically for images, style sheets, etc embedded on the page).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2; tab-stops: list .25in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;In a load test, the browser caching behavior is simulated separately for each user running in the load test.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2; tab-stops: list .25in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;When a virtual user in a load test completes a Web test and a new Web test session is started to keep the user load at the same level, sometimes the load test starts simulates a “new user” with a clean cache, and sometimes the load test simulates a return user that has items cached from a previous session.&amp;nbsp;&amp;nbsp;&amp;nbsp; This is determined by the “Percentage of New Users” property on the Scenario in the load test.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;The default for “Percentage of New Users” is 100 in which case all user sessions are started with a clean cache.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;This is probably not correct for most applications where there are return users, so users should consider the most appropriate value to use for this setting depending on the actual usage of the application being load tested.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2; tab-stops: list .25in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2; tab-stops: list .25in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;Important&amp;nbsp;Note: When running a Web test by itself (outside of the load test), t&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;he Cache Control property is automatically set to&amp;nbsp;false for all dependent requests so they are always fetched; this is so that they can be displayed in the browser pane of the Web test results viewer without broken images.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;Update for VSTS 2008: The Web test API enhancement in VSTS 2008 now allow you to&amp;nbsp;write a WebTestPlugin that disables caching of all dependent requests.&amp;nbsp;&amp;nbsp;&amp;nbsp; See this blog post: &lt;A href="http://blogs.msdn.com/billbar/archive/2008/06/06/disabling-caching-of-all-dependent-requests.aspx"&gt;http://blogs.msdn.com/billbar/archive/2008/06/06/disabling-caching-of-all-dependent-requests.aspx&lt;/A&gt;.&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1509487" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/billbar/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Load+test/default.aspx">Load test</category><category domain="http://blogs.msdn.com/billbar/archive/tags/testing/default.aspx">testing</category><category domain="http://blogs.msdn.com/billbar/archive/tags/Web+test/default.aspx">Web test</category></item></channel></rss>