cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial for API testing

Hi all, currently I'm doing manual testing at a startup and my manager wants me to start learning how to write code to test our API, which I am grateful for the opportunity. I do have some Python experience through online tutorials but I've never wrote code for testing before, specifically API testing. Does anyone know a good tutorial for this or can show me, for example, a simple example of testing Twitter's API? Apologies if I've messed up on any semantics and thanks in advance.

manishkob
Member
6 REPLIES 6

Everything is very open with a clear description of the indigocard issues. It was truly informative. Your website is very helpful. Many thanks for sharing!

Thanks for the information, I will try to figure it out for more. Keep sharing such informative post.

 

 

indigocard

You can get all tutorial for api and tech news apdates through whatsapp group . It is soo easy now   

You can take delivery of any gift playing cards, pay as you go playing cards, debit playing cards or any other card fee together with your Authorize.Net account as long as the cards have a brand of one of the important card types inclusive of the turkish  food.

hsdse33
Member

Some of the common tests we perform on APIs are as follows.

  • To verify whether the return value is based on the input condition. The response of the APIs should be verified based on the request.
  • To verify whether the system is authenticating the outcome when the API is updating any data structure
  • To verify whether the API triggers some other event or request another API
  • To verify the behavior of the API when there is no return value

 

Advantages of API Testing:

  • API Testing is time effective when compared to GUI Testing. API test automation requires less code so it can provide faster and better test coverage.
  • API Testing helps us to reduce the testing cost. With API Testing we can find minor bugs before the GUI Testing. These minor bugs will become bigger during GUI Testing. So finding those bugs in the API Testing will be cost-effective to the Company.
  • API Testing is language independent.
  • API Testing is quite helpful in testing Core Functionality. We can test the APIs without a user interface. In GUI Testing, we need to wait until the application is available to test the core functionalities.
  • API Testing helps us to reduce the risks.

I use postman for these sort of things, and I found their online documentation to be super good. They also have a tutorial the first time you install it, guiding you on how to test a basic omegle  shagle  GET I think.

Give it a try!