public void ThenIGetAPIResponseInJsonFormat() { var apiresponse = APImethods.GetResponse(); if (apiresponse.StatusCode == System.Net.HttpStatusCode.OK) { Console.WriteLine("pass"); } }
public void ThenIWillGetUserInformation() { APImethods.GetResponse(); }
public void WhenICallGetMethodToGetUserInformationUsingUser(string userid) { APImethods.CreateRequest(userid); }
public void WhenICallGetMethodOfApi() { APImethods.CreateRequest(); }
public void GivenIHaveAEndpointEndpoint(string endpoint) { APImethods.SetUrl(endpoint); }