filmov
tv
API Testing : HTTP Status Codes Description : SDET Automation Testing Interview Questions & Answers

Показать описание
API Testing : HTTP Status Codes Description
SDET Automation Testing Interview Questions & Answers
We will be covering a wide range of topics including QA manual testing, automation testing, Selenium, Java, Jenkins, Cucumber, Maven, and various testing frameworks.
HTTP status codes are three-digit codes returned by servers to indicate the status of a requested resource or action. Here is a brief overview of the most commonly used HTTP status codes:
1xx Informational
100 Continue: the server has received the initial request and is continuing to process it
101 Switching Protocols: the server is changing protocols, such as switching from HTTP to HTTPS
2xx Success
200 OK: the request was successful
201 Created: the request has been fulfilled, and a new resource has been created
204 No Content: the request was successful, but there is no content to return
3xx Redirection
301 Moved Permanently: the requested resource has been moved permanently to a new URL
302 Found: the requested resource has been temporarily moved to a new URL
304 Not Modified: the requested resource has not been modified since the last request
4xx Client Error
400 Bad Request: the server could not understand the request
401 Unauthorized: authentication is required and has failed or has not been provided
403 Forbidden: the server understood the request but refuses to authorize it
404 Not Found: the requested resource could not be found
5xx Server Error
500 Internal Server Error: the server encountered an error and cannot complete the request
502 Bad Gateway: the server acting as a gateway or proxy received an invalid response from the upstream server
503 Service Unavailable: the server is currently unable to handle the request due to maintenance or overload.
SDET Automation Testing Interview Questions & Answers
We will be covering a wide range of topics including QA manual testing, automation testing, Selenium, Java, Jenkins, Cucumber, Maven, and various testing frameworks.
HTTP status codes are three-digit codes returned by servers to indicate the status of a requested resource or action. Here is a brief overview of the most commonly used HTTP status codes:
1xx Informational
100 Continue: the server has received the initial request and is continuing to process it
101 Switching Protocols: the server is changing protocols, such as switching from HTTP to HTTPS
2xx Success
200 OK: the request was successful
201 Created: the request has been fulfilled, and a new resource has been created
204 No Content: the request was successful, but there is no content to return
3xx Redirection
301 Moved Permanently: the requested resource has been moved permanently to a new URL
302 Found: the requested resource has been temporarily moved to a new URL
304 Not Modified: the requested resource has not been modified since the last request
4xx Client Error
400 Bad Request: the server could not understand the request
401 Unauthorized: authentication is required and has failed or has not been provided
403 Forbidden: the server understood the request but refuses to authorize it
404 Not Found: the requested resource could not be found
5xx Server Error
500 Internal Server Error: the server encountered an error and cannot complete the request
502 Bad Gateway: the server acting as a gateway or proxy received an invalid response from the upstream server
503 Service Unavailable: the server is currently unable to handle the request due to maintenance or overload.
Комментарии