TestHttpClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.VisualStudio.Services.WebApi.ResourceArea("3b95fb80-fdda-4218-b60e-1052d070ae6b")]
public class TestHttpClient : Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase, Microsoft.TeamFoundation.Test.WebApi.ITestHttpClient
type TestHttpClient = class
inherit VssHttpClientBase
interface ITestHttpClient
Public Class TestHttpClient
Inherits VssHttpClientBase
Implements ITestHttpClient
- Inheritance
-
Microsoft.VisualStudio.Services.WebApi.VssHttpClientBaseTestHttpClient
- Attributes
-
Microsoft.VisualStudio.Services.WebApi.ResourceAreaAttribute
- Implements
Constructors
Properties
| HttpClient | |
| LongPollTimeOutForMessageQueueInSeconds | |
| TranslatedExceptions |
Methods
| CreateAgentAsync(TestAgent) |
Sends REST based msg to Server for creating new entry of Test Agent. This API can be consumed in Registration Process. |
| DeleteAgentAsync(Int32) |
Sends REST based msg to Server for deleting an existing entry of Test Agent This API can be consume in UnRegisteration process |
| GetAgentAsync(Int32) |
Sends REST based msg to Server for getting TestAgent object based on TestAgentId This API can be consumed in Query process |
| GetCommandAsync(Int32, Nullable<Int64>, CancellationToken) |
Gets test command that is in queue after lastCommandId. |
| GetRerunConfigurationAsync(TestRunExecutionConfiguration, Object, CancellationToken) |
[Preview API] http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/TestExecutionConfiguration/ Request: Json of TestRun |
| GetSliceAsync(Int32) |
Sends a Rest based request to the server asking for a AutomatedTestRunSlice |
| UpdateSliceAsync(TestAutomationRunSlice) |
Sends a Rest based request to the server for updating slice results |
| UpdateTestRunAsync(DistributedTestRun, String, Object, CancellationToken) |
[Preview API] http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/DistributedTestRuns/ Request: Json of TestRun |