<?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>Sean Lumley's Blog  - All Comments</title><link>http://blogs.msdn.com/b/slumley/</link><description>Web/Load Testing</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Web tests work at the HTTP layer</title><link>http://blogs.msdn.com/b/slumley/archive/2007/12/30/web-tests-work-at-the-http-layer.aspx#10419470</link><pubDate>Thu, 16 May 2013 21:04:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10419470</guid><dc:creator>mlurker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have a question regarding this topic.&lt;/p&gt;
&lt;p&gt;I have a page that contains ReportViewer control to show reports. When I execute it withing a browser the report takes about 30 seconds to build. When I try to do it through web performance test the response time is about 1 second. In addition it shows message about javascript &amp;quot;Your browser does not support scripts or has been configured not to allow scripts&amp;quot;. According to this topic this is completely fine.&lt;/p&gt;
&lt;p&gt;But, it looks like it even doesn&amp;#39;t start to build report as it checks for javascript support first. My question is - is there any way to test it through web performance test? (coded UI is not an option). I profiled requests with fiddler, but don&amp;#39;t see anything interesting that can be executed.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10419470" width="1" height="1"&gt;</description></item><item><title>re: VSTS 2010 Feature: API for Processing Web Test Results</title><link>http://blogs.msdn.com/b/slumley/archive/2009/11/11/vs-2010-feature-api-for-processing-web-test-results.aspx#10418911</link><pubDate>Wed, 15 May 2013 13:37:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10418911</guid><dc:creator>Lorenzo</dc:creator><description>&lt;p&gt;Brilliant, exactly what i was looking for.. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10418911" width="1" height="1"&gt;</description></item><item><title>re: VSTS 2010 Feature: Load test virtual user activity visualization</title><link>http://blogs.msdn.com/b/slumley/archive/2009/06/09/vsts-2010-feature-load-test-virtual-user-activity-visualization.aspx#10418783</link><pubDate>Wed, 15 May 2013 06:08:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10418783</guid><dc:creator>kalyan</dc:creator><description>&lt;p&gt;Hi iam new for VSTS , While running my script shows below error, i am unable to solve this issue. plese do the need ful solution. Request failed: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Context parameter &amp;#39;$HIDDEN1.wa&amp;#39; not found in test context &lt;/p&gt;
&lt;p&gt;and 404 error . please give guidance in this issue.&lt;/p&gt;
&lt;p&gt;Thanks in Advance&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10418783" width="1" height="1"&gt;</description></item><item><title>re: Enhanced web test support in Fiddler</title><link>http://blogs.msdn.com/b/slumley/archive/2007/04/17/enhanced-web-test-support-in-fiddler.aspx#10414351</link><pubDate>Fri, 26 Apr 2013 19:03:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10414351</guid><dc:creator>Ayon</dc:creator><description>&lt;p&gt;Hi friends while generating my webtest I am receiving an error pop up stating &amp;quot;Failed to save test. startIndex Cannot be larger than length of string&amp;quot;&lt;/p&gt;
&lt;p&gt;can anyone suggest some troubleshooting&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10414351" width="1" height="1"&gt;</description></item><item><title>re: VSTS 2010 Feature: Web Test Recorder Plugins</title><link>http://blogs.msdn.com/b/slumley/archive/2009/06/03/vsts-2010-feature-web-test-recorder-plugins.aspx#10412994</link><pubDate>Mon, 22 Apr 2013 11:28:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10412994</guid><dc:creator>Ayyappa</dc:creator><description>&lt;p&gt;By mistake i disable (unchecked ) web test recorded plug in. can u help me how can i get the same prompt before recoding the test.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10412994" width="1" height="1"&gt;</description></item><item><title>re: How to debug a Web Test</title><link>http://blogs.msdn.com/b/slumley/archive/2007/04/10/how-to-debug-a-web-test.aspx#10411798</link><pubDate>Wed, 17 Apr 2013 09:58:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10411798</guid><dc:creator>snehlata tripathi</dc:creator><description>&lt;p&gt;i have a script of &amp;nbsp;some questions ... in which some some question containing radio button and some have check box to choose.. when i am recording script passes but when i started correlating viewstate and event validation it fails..only when question containing check box button comes ... i dont know how to correlate radio button and check box&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10411798" width="1" height="1"&gt;</description></item><item><title>re: Enhanced web test support in Fiddler</title><link>http://blogs.msdn.com/b/slumley/archive/2007/04/17/enhanced-web-test-support-in-fiddler.aspx#10404275</link><pubDate>Thu, 21 Mar 2013 16:45:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10404275</guid><dc:creator>mars</dc:creator><description>&lt;p&gt;I noticed that in fiddler version 2.4.2.6, the dependent requests are not placed under the primary request on the exported webtest file anymore. &amp;nbsp;Is there a reason for this and how can i do this? &amp;nbsp;I tried creating a fiddler webtest plugin but the existing VSWebTestExport does not even write out DependentRequests node.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10404275" width="1" height="1"&gt;</description></item><item><title>re: Passing Load Test Context Parameters to Unit Tests</title><link>http://blogs.msdn.com/b/slumley/archive/2006/12/15/passing-load-test-context-parameters-to-unit-tests.aspx#10403388</link><pubDate>Tue, 19 Mar 2013 05:47:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10403388</guid><dc:creator>sanjay</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have script like Login-&amp;gt;View Desktop-&amp;gt;Logout&lt;/p&gt;
&lt;p&gt;I have put login in Initialze but View Desktop is getting executed. It gets terminated in loadtest after execution of Login script only.&lt;/p&gt;
&lt;p&gt;It is simple script. Please suggest.Is something wrong I am doing.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10403388" width="1" height="1"&gt;</description></item><item><title>re: Load Test Plug-ins</title><link>http://blogs.msdn.com/b/slumley/archive/2009/04/10/load-test-plug-ins.aspx#10395374</link><pubDate>Tue, 19 Feb 2013 23:42:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10395374</guid><dc:creator>Rohan</dc:creator><description>&lt;p&gt;Hi Sean,&lt;/p&gt;
&lt;p&gt;I am trying to use your code snippet for Heartbeat event with some customization. Here is what I am doing. I need loadtest to read my UserLoad.txt only if there was an occurance of another event( eg: existence of another file in some location) If not it should just take the default load. Here is the code -&lt;/p&gt;
&lt;p&gt;using System;&lt;/p&gt;
&lt;p&gt;using System.Collections.Generic;&lt;/p&gt;
&lt;p&gt;using System.Linq;&lt;/p&gt;
&lt;p&gt;using System.Text;&lt;/p&gt;
&lt;p&gt;using Microsoft.VisualStudio.TestTools.LoadTesting;&lt;/p&gt;
&lt;p&gt;using System.IO;&lt;/p&gt;
&lt;p&gt;namespace LoadTestPlugin1&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public class Class1 : ILoadTestPlugin&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LoadTest m_loadTest;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string m_fileName;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void Initialize(LoadTest loadTest)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_loadTest = loadTest;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_loadTest.Heartbeat += new System.EventHandler&amp;lt;HeartbeatEventArgs&amp;gt;(m_loadTest_Heartbeat);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//initialize the file name&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (m_loadTest.Context.ContainsKey(&amp;quot;FileName&amp;quot;))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_fileName = m_loadTest.Context[&amp;quot;FileName&amp;quot;].ToString();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_fileName = @&amp;quot;c:\Userload.txt&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;void m_loadTest_Heartbeat(object sender, HeartbeatEventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int load = -1;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(File.Exists(@&amp;quot;\\dcmstor01\data\rvishwa\failover.txt&amp;quot;))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;load = GetUserLoadFromFile();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (load != -1)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_loadTest.Scenarios[0].CurrentLoad = load;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private int GetUserLoadFromFile()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int newLoad = -1;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;using (StreamReader streamReader = new StreamReader(m_fileName))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string load = streamReader.ReadToEnd();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&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;if (!string.IsNullOrEmpty(load))&lt;/p&gt;
&lt;p&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;{&lt;/p&gt;
&lt;p&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;newLoad = int.Parse(load);&lt;/p&gt;
&lt;p&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;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (FormatException)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&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;//ignore&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (IOException)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return newLoad;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;If I being the run and there is a file present, it does read my UserLoad.txt and set the user load to whatever is in the file. But if I delete this file while the run is ongoing, it does not revert back to the default load. it still keeps the load from the userload.txt which has been deleted by now.&lt;/p&gt;
&lt;p&gt;what am I missing here ?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rohan.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10395374" width="1" height="1"&gt;</description></item><item><title>re: VSTS 2010 Feature: Load Testing Run Comparison Report in Excel</title><link>http://blogs.msdn.com/b/slumley/archive/2009/11/07/vsts-2010-feature-load-testing-run-comparison-report-in-excel.aspx#10392569</link><pubDate>Mon, 11 Feb 2013 08:24:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10392569</guid><dc:creator>Bikram</dc:creator><description>&lt;p&gt;Try Visual studio load test docx report generator addin&lt;/p&gt;
&lt;p&gt; &lt;a rel="nofollow" target="_new" href="http://visualstudiogallery.msdn.microsoft.com/52539996-c6cc-44fd-a90a-1f835d135d46"&gt;visualstudiogallery.msdn.microsoft.com/52539996-c6cc-44fd-a90a-1f835d135d46&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10392569" width="1" height="1"&gt;</description></item></channel></rss>