0% found this document useful (0 votes)
61 views15 pages

Api Testing

The document provides an overview of API testing concepts including client-server architecture, HTTP request structure, HTTP methods, status codes, REST, cookies, JSON vs XML, and common tools used for API testing such as Postman, cURL, and Fiddler. It also includes information about the author as a QA Automation Engineer and mentor.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views15 pages

Api Testing

The document provides an overview of API testing concepts including client-server architecture, HTTP request structure, HTTP methods, status codes, REST, cookies, JSON vs XML, and common tools used for API testing such as Postman, cURL, and Fiddler. It also includes information about the author as a QA Automation Engineer and mentor.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Api testing

About me

• QA Automation Engineer -
Terrasoft

• Mentor - StartIT

• Mentor - ITKPI
Client-server architecture
HTTP Request Structure
HTTP Methods
Headers
Status Codes
• 1XX - Informational

• 2XX - Success

• 3XX - Redirection

• 4XX - Client error

• 5XX - Server error


REST

• Client-server

• HTTP based

• Operations on resources

• Stateless

• Different types of data


Cookies
JSON vs XML
{ <persons>
"persons": [ <person>
{ <name>Ford Prefect</
"name": "Ford Prefect", name>
"gender": "male" <gender>male</gender>
}, </person>
{ <person>
"name": "Arthur Dent", <name>Arthur Dent</name>
"gender": "male" <gender>male</gender>
}, </person>
{ <person>
"name": "Tricia <name>Tricia McMillan</
McMillan", name>
"gender": "female" <gender>female</gender>
} </person>
] </persons>
}
Let’s try to test
something
API
API Documentation
Tools to test API
• Postman

• cURL

• Fiddler
Thank You

You might also like