REST API Testing Rest Assured _ HTTP Explained - Module 2 - Part 2
REST API Testing Rest Assured _ HTTP Explained - Module 2 - Part 2
Testing } with
Rest Assured
Pramod
Dutta
Lead SDET. HTTP Explained
TheTestingAcademy.co
What You are Going to Learn?
1. What is HTTP?
2. HTTP Methods
TheTestingAcademy.co
Let’s Understand
- HTTP first.
TheTestingAcademy.co
HyperText Transfer
Protocol(HTTP)
● HTTP (Hypertext Transfer Protocol) is perhaps the most popular
application protocol used in the Internet (or The WEB).
● An HTTP client sends a request message to an HTTP server. The server,
in turn, returns a response message. In other words, HTTP is a pull
protocol, the client pulls information from the server (instead of server
pushes information down to the client).
● HTTP is a stateless protocol. In other words, the current request does
not know what has been done in the previous requests.
TheTestingAcademy.co
HyperText Transfer
Protocol(HTTP)
TheTestingAcademy.co
HTTP Methods
TheTestingAcademy.co
HTTP Status Codes
● 1xx: Informational
Messages
● 2xx: Successful
● 3xx: Redirection
● 4xx: Client Error
● 5xx: Server Error
TheTestingAcademy.co
HTTP Status Codes
TheTestingAcademy.co