public void ThenIGetTheAPIResponseInJsonFormat() { var response = RestAPIHelper.getResponse(); if (response.StatusCode.Equals(System.Net.HttpStatusCode.OK)) { Console.Write("TC passed"); } else { Console.WriteLine("TC Failed"); } }