public void Payload_WithCorrectCredentialsFromConfig_ReturnSuccess() { IServerDensityApi api = ServerDensityApi.Initialise(); var result = api.Metrics.UploadPluginData("4f71c92d004cb602080000f8", GetPayLoad()); Assert.That(IsSuccess(result), "Failure: " + result); }
public ServerDensitySubscriber(string deviceId, string agentKey) { _AgentKey = agentKey; _deviceId = deviceId; _api = ServerDensityApi.Initialise(); }