public void PastHourTest()
        {
            LoadHourlySampleData(minutes:120);
            var getPerfDataController = new GetPerfDataController();
            var pastHourData = getPerfDataController.Get(Environment.MachineName, DataFilterType.PastHour) as OkNegotiatedContentResult<IEnumerable<PerfDataSummary>>;

            Assert.IsNotNull(pastHourData);

            foreach (var item in pastHourData.Content)
            {
                Debug.WriteLine($"Server:{item.ServerName} CPU Average:{item.AvgCpuLoad} RAM Average:{item.AvgRamLoad} DateTime:{item.RecordedDateTime}");
            }

        }
        public void GetPerfDataTestNegative_PassNullServerName()
        {
            var getPerfDataController = new GetPerfDataController();
            var result = getPerfDataController.Get(null, null) as BadRequestErrorMessageResult;
            Assert.IsNotNull(result);

            string serverNameExpectedError = "Please pass serverName parameter";
            Assert.AreEqual(serverNameExpectedError, result.Message, $"Error message has to be {serverNameExpectedError}");

            // test the case if serverName is passed but not DataFilter
            result = getPerfDataController.Get(Environment.MachineName, null) as BadRequestErrorMessageResult;
            Assert.IsNotNull(result);
            string dataFilterExpectedError = "Please pass DataFilterType (PastHour or PastDay)";

            Assert.AreEqual(dataFilterExpectedError, result.Message, $"Error message has to be {dataFilterExpectedError}");
        }