Méthode | Description | |
---|---|---|
ClassCleanup ( ) : void | ||
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void | ||
CompareHttpResponses_Get ( string requestUri, string ignoredHttpHeaderName, string ignoredHttpHeaderValue ) : bool |
The method will call HTTP GET method twice, in the first time the HTTP GET request includes the ignored header, and in the second time the HTTP GET request does NOT include the ignored header. And then the help method compare the key data in the two HTTP responses, if they are same then the help method return true, else return false.
|
|
CompareHttpResponses_Put ( string requestUri, byte bytesTxtFile, string ignoredHttpHeaderName, string ignoredHttpHeaderValue ) : bool |
The method "CompareHttpResponses_Put" will call HTTP PUT method and DELETE method twice, PUT method will upload a test file to the server, and the DELETE method will remove the test file from the server. In the first time the HTTP PUT and DELETE requests do NOT include the ignored header, and in the second time the HTTP PUT and DELETE requests include the ignored header. And then the help method compare the key data in the HTTP responses, if they are same then the help method return true, else return false.
|
|
GetHttpHeadersCollection ( string specialHttpHeaderName, string specialHttpHeaderValue ) : |
Get the HTTP collection that main HTTP headers and their values are included. If the special HTTP header and its value are set, then the special HTTP header and the value is also included the HTTP collection
|
|
MSWDVMODUU_S02_TC01_IgnoredHeaders_Get ( ) : void | ||
MSWDVMODUU_S02_TC02_IgnoredHeaders_Put ( ) : void | ||
MSWDVMODUU_S02_TC03_IgnoredHeaders_UserAgent ( ) : void |