Exemple #1
0
        public void ThenIGetAPIResponseInJsonFormat()
        {
            var apiresponse = APImethods.GetResponse();

            if (apiresponse.StatusCode == System.Net.HttpStatusCode.OK)
            {
                Console.WriteLine("pass");
            }
        }
Exemple #2
0
 public void ThenIWillGetUserInformation()
 {
     APImethods.GetResponse();
 }
Exemple #3
0
 public void WhenICallGetMethodToGetUserInformationUsingUser(string userid)
 {
     APImethods.CreateRequest(userid);
 }
Exemple #4
0
 public void WhenICallGetMethodOfApi()
 {
     APImethods.CreateRequest();
 }
Exemple #5
0
 public void GivenIHaveAEndpointEndpoint(string endpoint)
 {
     APImethods.SetUrl(endpoint);
 }