Post

Demo sites to practice API automation testing

Demo sites to practice API automation testing

Along with the e2e testing, now a days it’s important to perform API automation testing and also integration testing, and there are several tools and libraries available for API testing.

API testing tools / libraries -

  • Postman

  • Java - restAssured

  • C# - restSharpe

  • Katalon studio

  • Python - requests with pytest

Postman is a tool to perform all kind of API testing by providing the payload, authentication and different API calls / methods, to practice API testing in postman also we need demo APIs.

We will see few available opensource/free/community edition based demo sites to practice API testing.

List of API demo portals -

https://restful-booker.herokuapp.com/apidoc/index.html

https://gorest.co.in

https://gorest.in

http://httpbin.org/#/

https://calendarific.com/api-documentation

https://pokeapi.co/

https://reqbin.com/

https://bookcart.azurewebsites.net/swagger/index.html

This above is book cart API with swagger documentation.

https://practice.expandtesting.com/notes/app (for UI automation testing practice)

For this above demo portal, there are API end points available for practicing the API testing as well - (with swagger documentation)

https://practice.expandtesting.com/notes/api/api-docs/

Demo web sites for e2e automation testing

http://dummy.restapiexample.com/

http://www.omdbapi.com/

https://developer.atlassian.com/cloud/trello/rest/api-group-actions/

These below sites will give you online playground to run the API calls with parameters, header, body etc. -

https://reqres.in/

https://resttesttest.com/

If you want to have a local API server for faster executions, you can refer to

https://youtu.be/fY4tOjzacOM

bonus - For API testing , watch

https://www.youtube.com/playlist?list=PLPO0LFyCaSo2li3q89o9K-hgqENjOfDw0

This post is licensed under CC BY 4.0 by the author.