🔥 What Is REST for Beginners(With 6 constraints Explained)
Tags: testing, tutorial, beginners, webdev
Published: 2020-07-27 17:01:45

🔥 Build Custom API Automation Framework - https://apitesting.co/workshop

Hey BugHunters,  In this video we are going to discuss What is REST API? and what are REST constraints explained in 10 min. 

[![ Rest Assured Tutorial](https://i.imgur.com/mOlsNNZ.png
)](https://youtu.be/ghieAIKv4jk "Rest Assured Tutorial")

P.S: 
This is Day 8 of the 30 days of API Testing challenge Series. Where will learn the Basics before jumping to API Automation.

🚀 All 30 Days Task - https://scrolltest.com/30days/restassured
📌 Join 30 Days Challenge Updates - https://scrolltest.com/tta
🎓 Free Automation MasterClass - https://thetestingacademy.com
📚 REST API testing with Python - https://masterapitesting.com

✅ What is REST?
REST is acronym for REpresentational State Transfer.
It is architectural style for distributed hypermedia systems and was first presented by Roy Fielding in 2000 in his famous dissertation.
The REST architectural style describes six constraints.

✅REST Six Constraints

- Uniform Interface
- Stateless
- Cacheable
- Client-Server
- Layered System
- Code on Demand (optional)


✅  What is API?
API is the acronym for Application Programming Interface. It’s Kind of intermediary that allows two applications to talk to each other.
They can be set of subroutine definitions, protocols.
API can be web-based system, operating system, database system, computer hardware or software library.

✅ Types of APIs
We are only Concern about the Web API
- Simple Object Access Protocol
- Remote Procedure Call 
- Representational State Transfer (REST).   

✅ What is API Testing?
API testing is testing that APIs and its integration with the services.


✅ What to Test in API Testing?
- Validate the keys with the Min. and Max range of APIs (e.g maximum and minimum length)
- Have a test case to do XML, JSON Schema validation.
- Keys verification. If we have JSON, XML APIs we should verify it’s that all the keys are coming.
- Verify that how the APIs error codes handled.

✅Types of Bugs that API testing Detects
- Fails to handle error conditions gracefully
- Unused flags
- Missing or duplicate functionality
- Reliability Issues. Difficulty in connecting and getting a response from API.
- Security Issues
- Multi-threading issues
- Performance Issues. API response time is very high.
- Improper errors/warning to caller
- Incorrect handling of valid argument values
- Response Data is not structured correctly (JSON or XML)

✅ Time Jump

🔔 Join Facebook Group :  https://scrolltest.com/fb

✅ Automation Tester Community - https://thetestingacademy.com
🐦Follow us on Twitter - https://twitter.com/itstechmode
📖 Like us on Facebook - https://www.facebook.com/scrolltest
🎤 Listen to our Podcast - https://anchor.fm/thetestingacademy

✅ What is covered in Rest Assured Tutorial or 30 Days of API Testing with Rest Assured Challenge?
- Learn How to Master API Testing with Rest API Testing with Rest Assured.
- Step By Step Tutorials
- Building your Own Custom Framework.

✅ What is Rest Assured?
REST Assured is a Java library that provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful APIs. I'll be using real-world code examples you can copy, run, and reuse directly in your own test automation efforts

--
Be sure to subscribe for more videos like this!

[![ TheTestingAcademy](https://dev-to-uploads.s3.amazonaws.com/i/r7vcy6wbvyjbk1y1uu0o.png
)](https://www.youtube.com/TheTestingAcademy?sub_confirmation=1 "TheTestingAcademy")