Export (0) Print
Expand All
Expand Minimize

Microsoft.VisualStudio.TestTools.WebTesting Namespace

The Microsoft.VisualStudio.TestTools.WebTesting namespace supplies classes that enable Web performance testing. This namespace includes the WebTest class which is the base class for all Web performance tests. The WebTestRequest and WebTestResponse classes simulate the HTTP requests and responses of the Web pages under test. These classes use the FormPostHttpBody class to simulate the use of form post parameters. Microsoft.VisualStudio.TestTools.WebTesting also includes classes for data binding, test rules, identifying work items, query strings, HTTP context, and plug-ins that provide testing features.

  ClassDescription
Public classAlwaysExecuteRecorderPluginAttributeAttribute to indicate that the recorder plug-in should always be executed.
Public classBaseEnumStringConverter<T>Helper class that helps with conversions between enum values and strings.
Public classBinaryHttpBodyRepresents an HTTP body that contains binary data.
Public classCommentRepresents a comment that the test designer adds to a Web performance test.
Public classConditionalEventArgsRepresents the event arguments that are used for conditional loops and statements.
Public classConditionalRuleCondition rules are executed in a conditional loop or statement. These rules are intended to decide whether the body of the loop or statement must be executed.
Public classConditionalRuleExceptionRepresents the exception that is thrown when an exception occurs during execution of any one of the three methods of a conditional rule.
Public classConditionalRuleReferenceBase class for a reference to a particular conditional rule.
Public classConditionalRuleReferenceCollectionRepresents a strongly typed container for Web-test conditional rule references.
Public classConditionConditionalRuleReferenceRepresents a reference to a conditional rule that will be used in a condition.
Public classConnectionFailedWebTestExceptionAn exception that is thrown by the test engine for connection failure errors during a Web performance test.
Public classContextParameterRepresents a single parameter in the Web performance testing context that has a name and value.
Public classContextParameterCollectionContains a strongly typed collection of ContextParameter objects.
Public classCssIterationAttributeRepresents the project iteration to which this test corresponds. This class cannot be inherited.
Public classCssProjectStructureAttributeRepresents the node in the team project hierarchy to which this test corresponds.
Public classDataBindingAttributeContains information that defines data binding properties for a Web performance test. This class cannot be inherited.
Public classDataSourceDefines a data source for a Web performance test.
Public classDataSourceAttributeContains information that describes a data source for a Web performance test. This class cannot be inherited.
Public classDataSourceCollectionContains a strongly typed collection of DataSourceCollection objects.
Public classDataSourceTableAn object that represents a table in a data source that you can use in a Web performance test.
Public classDataSourceTableCollectionContains a strongly typed collection of DataSourceTableCollection objects.
Public classDeclarativeWebTestRepresents a declarative, XML-based Web performance test.
Public classDeclarativeWebTestSerializerLoads the contents of a .webtest file into an instance of the DeclarativeWebTest class.
Public classDeploymentItemAttributeUsed to specify deployment items such as a file or directory for per-test-deployment. This class cannot be inherited.
Public classExtractHtmlSelectTagRepresents a rule that is used to extract the selected option from an HTML select tag.
Public classExtractHtmlTagInnerTextRepresents a rule that is used to extract the inner text from an HTML tag.
Public classExtractionEventArgsProvides data for the ExtractValues event.
Public classExtractionRuleBase class used to define rules for obtaining data from a Web response that is generated by a Web performance test.
Public classExtractionRuleReferenceThe ExtractionRuleReference class encapsulates the metadata about an ExtractionRule and the parameter values to use when an instance of the ExtractionRule is created when the Web performance test that uses the ExtractionRule is run.
Public classExtractionRuleReferenceCollectionContains a strongly typed collection of ExtractionRuleReferenceCollection objects.
Public classFileUploadParameterRepresents a file upload form post parameter.
Public classForLoopComparisonOperatorConverterHelper class that helps with conversions between enum values and strings.
Public classFormPostHttpBodyRepresents an HTML form post body with a collection of form parameters.
Public classFormPostParameterRepresents an HTML form POST parameter.
Public classFormPostParameterCollectionRepresents a strongly typed container for form post parameters.
Public classHtmlAttributeRepresents an HTML attribute.
Public classHtmlAttributeWithOffsetsExtends the basic HtmlAttribute and tracks the beginning and ending offsets within an HTML document.
Public classHtmlDocumentProvides access to the set of HTML tags in an HTML response body.
Public classHtmlTagThe HtmlTag object is the foundation of the HTML document and holds the parsed structure of the document.
Public classHtmlTagInnerTextRepresents the inner text of an HTML tag, and contains the beginning and ending offset of the inner text location in the whole document.
Public classHtmlTagInnerTextParserA specialized parser that is used to extract the inner text from HTML tags that are located in an HTML document.
Public classHtmlTagWithOffsetsExtends the basic HtmlTag by tracking the beginning and ending tag offsets within the HTML document.
Public classIncludeCodedWebTestAttributeContains information that defines a coded Web performance test that is included in another Web performance test.
Public classIncludeDeclarativeWebTestAttributeContains information that defines a coded Web performance test that is included in another Web performance test. This class cannot be inherited.
Public classIncludedWebTestRepresents a Web performance test that is included in another Web performance test.
Public classLoopConditionalRuleReferenceClass to contain a reference to a particular conditional rule that will be used in a loop.
Public classNumericalComparisonOperatorConverterHelper class that helps with conversions between enum values and strings.
Public classOutcomeConverterHelper class that helps with conversions between enum values and strings.
Public classOwnerAttributeUsed to specify the person responsible for maintaining, running, and/or debugging the test. This class cannot be inherited.
Public classParameterRepresents an HTTP parameter base class.
Public classPluginOrRulePropertyRepresents the name and value of a single property for a rule or a plug-in.
Public classPostPageEventArgsProvides data for the WebTest.PostPage event.
Public classPostRequestEventArgsProvides data for the WebTestRequest.PostRequest and WebTest.PostRequest events.
Public classPostTransactionEventArgsProvides data for the WebTest.PostTransaction event.
Public classPostWebTestEventArgsProvides data for the WebTest.PostWebTest event.
Public classPostWebTestRecordingEventArgsEvent arguments that are used for pre-Web performance test and post-Web performance test recording callouts.
Public classPrePageEventArgsProvides data for the WebTest.PrePage event.
Public classPreRequestDataBindingEventArgs
Public classPreRequestEventArgsProvides data for the WebTest.PreRequest event.
Public classPreTransactionEventArgsProvides data for the WebTest.PreTransaction event.
Public classPreWebTestEventArgsProvides data for the WebTest.PreWebTest event.
Public classPriorityAttributeUsed to specify the priority of a unit test. This class cannot be inherited.
Public classPropertyCollectionRepresents a strongly typed container for Web performance test rule properties.
Public classQueryStringParameterRepresents an HTTP querystring parameter.
Public classQueryStringParameterCollectionRepresents a strongly typed container for query string parameters.
Public classRequestBodyEditorPluginReferenceRepresents a plug-in for an HTTP request object.
Public classSharepointInformation
Public classStringComparisonOperatorConverterHelper class that helps with conversions between enum values and strings.
Public classStringHttpBodyRepresents an HTTP body in string form used for SOAP support.
Public classTestDescriptionAttributeUsed to specify the description of the test. This class cannot be inherited.
Public classThreadedWebTestRepresents a base class for a coded Web performance test that uses a single thread per Web performance test iteration.
Public classTimeoutAttributeUse this attribute to specify the time-out period of a Web performance test.
Public classTransactionTimerRepresents a timed transaction in a Web performance test. This part of the Web performance test may include Web performance test requests, calls to included Web performance tests, or other Web performance test transactions.
Public classValidationEventArgsProvides data for the ValidateResponse event.
Public classValidationRuleVerifies that requests return valid HTTP responses and that the contents of the response match the expected results. This class must be inherited.
Public classValidationRuleReferenceThe ValidationRuleReference class encapsulates the metadata about an ValidationRule and the parameter values to use when an instance of the ValidationRule is created when the Web performance test that uses the ValidationRule is run.
Public classValidationRuleReferenceCollectionRepresents a serializable, strongly typed container for Web performance test validation rules.
Public classWebTestBase class for all Web performance tests. Coded Web performance tests that are written in C# derive directly from this class.
Public classWebTestBaseCollection<T>An abstract base class that is used to store a variety of Web performance tests.
Public classWebTestConditionThis class represents the conditional statement constructs. It contains a collection of Web performance test items that are executed when the conditional rule is met.
Public classWebTestConditionalConstructBase class for the conditional loop and the conditional statement constructs.
Public classWebTestContextRepresents the context available to a WebTest.
Public classWebTestCorrelationResultClass to contain the result of a correlation that is applied when a Web performance test is executed in correlation mode.
Public classWebTestEmptyTableExceptionRepresents an Exception that occurs when data binding is being performed on an empty table.
Public classWebTestEndOfDataExceptionThe exception that is thrown when data binding is being performed on a table with the Unique DataBindingAccessMethod when there are no more rows of data in the table.
Public classWebTestErrorClass to encapsulate errors that occur during Web performance test execution.
Public classWebTestExceptionThe exception that is thrown by the test engine for errors that occur while a test is running.
Public classWebTestItemRepresents a base class for WebTestRequest.
Public classWebTestItemCollectionRepresents a strongly typed container for Web performance test items.
Public classWebTestLoopRepresents a conditional loop that contains a collection of Web performance test items that are executed as long as the conditional rule is met.
Public classWebTestPageStatisticsContains statistics about the execution of the page.
Public classWebTestPluginProvides a means to run code and access a WebTest before and after the Web performance test is run. This class must be inherited.
Public classWebTestPluginReferenceThe WebTestPluginReference class encapsulates the metadata about a WebTestRequestPlugin and the parameter values to use when an instance of the WebTestRequestPlugin is created when the Web performance test that uses the WebTestRequestPlugin is run.
Public classWebTestPluginReferenceCollectionRepresents a serializable strongly typed container for Web performance test plug-in references.
Public classWebTestRecorderPluginPlug-in interface for a Web performance test recorder.
Public classWebTestRecorderPluginReferenceRepresents a Web performance test rule for a reference to an executable plug-in.
Public classWebTestRecorderUtilitiesProvides methods to parse requests. This class cannot be inherited.
Public classWebTestRequestRepresents an HTTP request that will be sent to a web server.
Public classWebTestRequestCollectionA strongly typed container for Web performance test request headers.
Public classWebTestRequestHeaderRepresents an HTTP header.
Public classWebTestRequestHeaderCollectionA serializable strongly typed container for Web performance test request headers.
Public classWebTestRequestPluginReceives notifications before and after a request is processed.
Public classWebTestRequestPluginConverterClass to convert webtests from Visual Studio 2005. Not intended for use by user written code.
Public classWebTestRequestPluginReferenceThe WebTestRequestPluginReference class encapsulates the metadata about a WebTestRequestPlugin and the parameter values to use when an instance of the WebTestRequestPlugin is created when the Web performance test that uses the WebTestRequestPlugin is run.
Public classWebTestRequestPluginReferenceCollectionRepresents a strongly typed container for Web performance test request plug-in references.
Public classWebTestRequestResultClass to contain all result information for a completed Web performance test request.
Public classWebTestRequestStatisticsUsed to track key information that is gathered when the request is run.
Public classWebTestResponseRepresents an HTTP response.
Public classWebTestResponseCodeConverterHelper class that helps with conversions between enum values and strings.
Public classWebTestResultCommentRepresents the comment body of a Web performance test result.
Public classWebTestResultConditionRepresents a Web performance test result condition.
Public classWebTestResultDetailsClass to contain the result details of Web performance tests.
Public classWebTestResultDetailsSerializerSaves and loads a WebTestResultDetails to and from a file in binary format.
Public classWebTestResultGroupAbstracts a group of results in the Web performance test result, such as a loop or condition.
Public classWebTestResultIterationRepresents the current iteration of a Web performance test.
Public classWebTestResultLoopClass to contain the loop result of a Web performance test.
Public classWebTestResultLoopIterationClass to contain the result of a Web performance test loop iteration.
Public classWebTestResultPageRetrieves a top-level page result.
Public classWebTestResultTransactionStores the results of a transaction in a Web performance test.
Public classWebTestResultUnitRepresents a page or a request object in the Web performance test result.
Public classWebTestRuleBaseAn abstract base class extended by rule and reference classes in the Microsoft.VisualStudio.TestTools.WebTesting namespace.
Public classWebTestStoppedExceptionRepresents the exception that is thrown when data binding is performed on a table with a unique AccessMethod when there are no more rows of data in the table.
Public classWorkItemAttributeUse this attribute to specify a work item that is associated with a test.

  InterfaceDescription
Public interfaceIBinaryHttpBodyEditorPluginProvides an interface for a binary HTTP body plug-in.
Public interfaceIHttpBodyProvides a common interface for accessing an HTTP body.
Public interfaceIStringHttpBodyEditorPluginProvides an interface for a string HTTP body plug-in.

  EnumerationDescription
Public enumerationConditionalConstructTypeEnumerates all possible conditional construct types.
Public enumerationConditionalRuleTypeEnumerates all possible condition rule types.
Public enumerationDataBindingAccessMethodEnumeration for the access method that is used for data binding.
Public enumerationDataBindingSelectColumnsSpecifies the column filters that are used for data binding.
Public enumerationForLoopComparisonOperatorEnumerates all possible numeric comparison operators for the for loop conditional rule.
Public enumerationNumericalComparisonOperatorEnumerates the numeric comparison operators that are available.
Public enumerationOutcomeDescribes the outcome of a Web performance test.
Public enumerationRequestTypeEnumerates the request types that are available.
Public enumerationRuleExecutionOrderEnumerates the possible order-of-execution for validation rules.
Public enumerationStringComparisonOperatorEnumerates the string comparison operators that are available.
Public enumerationValidationLevelUsed to identify the importance of a validation rule that is run in a load test.
Public enumerationWebTestErrorTypeEnumerates the types of errors that can be included in a WebTestError object.
Public enumerationWebTestExecutionInstructionUsed to denote how to handle an operation.
Public enumerationWebTestResponseCodeEnumerates the HTTP response codes that are defined in RFC 2616 for HTTP 1.1.
Public enumerationWebTestResultStatusEnumeration for the status of a Web performance test result.
Show:
© 2014 Microsoft