Class ProfilerCommunicationLayer
Inheritance
System.Object
ProfilerCommunicationLayer
Namespace: ArtOfTest.WebAii.Design.Execution.Profiler
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class ProfilerCommunicationLayer : BaseCommunicationLayer, IProfilerCommunicationLayer, IBaseCommunicationLayer
Constructors
ProfilerCommunicationLayer(Uri, ISerializerService, HttpClient, IStatusCodeToExceptionMapper)
Methods
AfterExecuteStep(Guid, Int32, String)
Declaration
public Task AfterExecuteStep(Guid testId, int stepNumber, string description)
Parameters
System.Guid
testId
|
System.Int32
stepNumber
|
System.String
description
|
Returns
System.Threading.Tasks.Task
|
BeforeExecuteStep(Guid, Int32, String)
Declaration
public Task BeforeExecuteStep(Guid testId, int stepNumber, string description)
Parameters
System.Guid
testId
|
System.Int32
stepNumber
|
System.String
description
|
Returns
System.Threading.Tasks.Task
|
GetAndRemoveSampledProfilerData(Guid)
Declaration
public Task<Dictionary<string, IProfilerPluginConfigurationSettings>> GetAndRemoveSampledProfilerData(Guid testId)
Parameters
System.Guid
testId
|
Returns
System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<System.String, Telerik.TestStudio.Interfaces.Profiler.IProfilerPluginConfigurationSettings>>
|
GetCalculatedClientTimeUtc(Guid)
Declaration
public Task<DateTime> GetCalculatedClientTimeUtc(Guid testHandle)
Parameters
System.Guid
testHandle
|
Returns
System.Threading.Tasks.Task<System.DateTime>
|
GetEnvironmentConfigurationOptions(Guid)
Declaration
public Task<IEnvironmentalConfigurationOptions> GetEnvironmentConfigurationOptions(Guid profilerComponentId)
Parameters
System.Guid
profilerComponentId
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Profiler.IEnvironmentalConfigurationOptions>
|
GetServerTimeUtc()
Declaration
public Task<DateTime> GetServerTimeUtc()
Returns
System.Threading.Tasks.Task<System.DateTime>
|
Initialize(Guid, Dictionary<Guid, IProfilerPluginConfigurationSettings>)
Declaration
public Task Initialize(Guid testId, Dictionary<Guid, IProfilerPluginConfigurationSettings> profilerConfigurations)
Parameters
System.Guid
testId
|
System.Collections.Generic.Dictionary<System.Guid, Telerik.TestStudio.Interfaces.Profiler.IProfilerPluginConfigurationSettings>
profilerConfigurations
|
Returns
System.Threading.Tasks.Task
|
IsProfilerValid()
Declaration
public Task<bool> IsProfilerValid()
Returns
System.Threading.Tasks.Task<System.Boolean>
|
ProveSameComputerPresence(Guid)
Declaration
public Task<Guid> ProveSameComputerPresence(Guid clientGuid)
Parameters
System.Guid
clientGuid
|
Returns
System.Threading.Tasks.Task<System.Guid>
|
SetServerTimeUtc(Guid, DateTime)
Declaration
public Task SetServerTimeUtc(Guid testId, DateTime newServerTime)
Parameters
System.Guid
testId
|
System.DateTime
newServerTime
|
Returns
System.Threading.Tasks.Task
|
StartProfiling(Guid)
Declaration
public Task StartProfiling(Guid testId)
Parameters
System.Guid
testId
|
Returns
System.Threading.Tasks.Task
|
StartProfilingFromController(Guid, String, TimeSpan)
Declaration
public Task StartProfilingFromController(Guid testId, string controllerHost, TimeSpan pollingInterval)
Parameters
System.Guid
testId
|
System.String
controllerHost
|
System.TimeSpan
pollingInterval
|
Returns
System.Threading.Tasks.Task
|
StopTestProfiling(Guid)
Declaration
public Task<bool> StopTestProfiling(Guid testId)
Parameters
System.Guid
testId
|
Returns
System.Threading.Tasks.Task<System.Boolean>
|
TerminateProfiler()
Declaration
public Task TerminateProfiler()
Returns
System.Threading.Tasks.Task
|