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