public override IEnumerator <WebTestRequest> GetRequestEnumerator()
        {
            if ((this.Context.ValidationLevel >= Microsoft.VisualStudio.TestTools.WebTesting.ValidationLevel.Low))
            {
                ValidationResponseRuleNumberOfBytes validationRule3 = new ValidationResponseRuleNumberOfBytes();
                this.ValidateResponseOnPageComplete += new EventHandler <ValidationEventArgs>(validationRule3.Validate);
            }

            WebTestRequest request1 = new WebTestRequest("http://artequalswork.com/");

            request1.ThinkTime         = 2;
            DependentResponsesBytes    = 0;
            ResponseBytesLengthMaximum = 300000;
            request1.PostRequest      += new EventHandler <PostRequestEventArgs>(SetValidationEventsForDependentResponses);
            yield return(request1);

            //request1 = new WebTestRequest("http://localhost/welcome.aspx");
            //request1.ThinkTime = 2;
            //DependentResponsesBytes = 0;
            //ResponseBytesLengthMaximum = 400000;
            //request1.PostRequest += new EventHandler<PostRequestEventArgs>(SetValidationEventsForDependentResponses);
            //yield return request1;

            request1 = null;
        }
        public override IEnumerator<WebTestRequest> GetRequestEnumerator()
        {
            if ((this.Context.ValidationLevel >= Microsoft.VisualStudio.TestTools.WebTesting.ValidationLevel.Low))
            {
                ValidationResponseRuleNumberOfBytes validationRule3 = new ValidationResponseRuleNumberOfBytes();
                this.ValidateResponseOnPageComplete += new EventHandler<ValidationEventArgs>(validationRule3.Validate);
            }

            WebTestRequest request1 = new WebTestRequest("http://artequalswork.com/");
            request1.ThinkTime = 2;
            DependentResponsesBytes = 0;
            ResponseBytesLengthMaximum = 300000;
            request1.PostRequest += new EventHandler<PostRequestEventArgs>(SetValidationEventsForDependentResponses);
            yield return request1;

            //request1 = new WebTestRequest("http://localhost/welcome.aspx");
            //request1.ThinkTime = 2;
            //DependentResponsesBytes = 0;
            //ResponseBytesLengthMaximum = 400000;
            //request1.PostRequest += new EventHandler<PostRequestEventArgs>(SetValidationEventsForDependentResponses);
            //yield return request1;

            request1 = null;
        }