QueryString Correlation: Custom Extraction Rule – Basic

  using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using Microsoft.VisualStudio.TestTools.WebTesting; using Microsoft.VisualStudio.TestTools.WebTesting.Rules;   namespace WhidbeyCorrelation {         public class DynamicQueryStringExtraction : ExtractionRule     {           public override string RuleName         {             get             {                 return “DynamicQueryStringExtraction”;             }         }           public override string RuleDescription         {             get…

2

QueryString Correlation: WebTest Plug-in

  using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Text; using System.Windows.Forms; using System.Xml;   using Microsoft.VisualStudio.TestTools.WebTesting; using Microsoft.VisualStudio.TestTools.WebTesting.Rules;   namespace WhidbeyCorrelation {     public class CorrelationPlugin : WebTestPlugin     {         public override void PreWebTest(object sender, PreWebTestEventArgs e)         {             webtest = new XmlDocument();             webtest.Load(e.WebTest.Name + “.webtest”);               //Wire up…

1

QueryString Correlation: Custom Extraction Rule – ResponseText

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using Microsoft.VisualStudio.TestTools.WebTesting; using Microsoft.VisualStudio.TestTools.WebTesting.Rules;   namespace WhidbeyCorrelation {     public class DynamicQueryStringExtraction_RawResponseText : ExtractionRule     {         public override string RuleName         {             get             {                 return “DynamicQueryStringExtraction_RawResponseText”;             }         }           public override string RuleDescription         {             get            …

1

Dynamic QueryString Correlation: Custom Extraction Rules and WebTest Plug-in

Overview: What in the world is Dynamic QueryString Correlation?  Dynamic QueryString values change each time a web page is viewed, they may be a unique session id or some other variable in the web application that is unique to the current user or session.  Creating a Web Test for this type of website can be…

2

Dynamic QueryString Correlation: Custom Extraction Rules and WebTest Plug-in

Here is an article with some custom rules and plug-ins that you can use to apply dynamic querystring correlation to your web tests.  These can be useful if you are testing a site that uses querystring parameters to track dynamic values (such as session id), for example, a SQL Reporting Services site. http://blogs.msdn.com/densto/pages/dynamic-querystring-correlation-custom-extraction-rules-and-webtest-plug-in.aspx

1