Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
14 views
10 pages
Api for me learnt
Learnt from the api to post
Uploaded by
Aayushi Kamat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Api for me learnt For Later
Download
Save
Save Api for me learnt For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
14 views
10 pages
Api for me learnt
Learnt from the api to post
Uploaded by
Aayushi Kamat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Api for me learnt For Later
Carousel Previous
Carousel Next
Download
Save
Save Api for me learnt For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 10
Search
Fullscreen
Common API Test Cases 1. Response Validation ¢ Verify that the API response status code is 200 OK upon successful request ¢ Verify that the API response is in the expected format (e.g. JSON, XML) ¢ Verify that the API response contains all the expected fields ¢ Verify that the API response contains the correct data for each field¢ Verify that the API response time is within acceptable limits ¢ Verify that the API response headers are correct. « Verify that the API response contains a specific error message when the request fails due to validation errors ¢ Verify that the API response contains a specific error message when the request fails due to server-side errors2. Request Validation ¢ Verify that the API request parameters are correctly passed to the API Verify that the API request method is correct (e.g., GET, POST, PUT, DELETE) * Verify that the API endpoint URL is correct ¢ Verify API response headers is correct ¢ Verify API returns error message for missing request payload * Verify API returns error message for missing API request method3. Error Handling ¢ Verify API returns error message for forbidden access ¢ Verify API returns error message for server-side validation failure ¢ Verify API returns error message for invalid authentication credentials ¢ Verify API returns a specific error message for invalid data format in request ¢ Verify API returns error message and status code for invalid authentication credentials4. Success Handling * Verify that the API returns a success message if the resource is created successfully * Verify that the API returns a success message if the resource is updated successfully * Verify that the API returns a success message if the resource is deleted successfully ° Verify that the API returns a success message if the resource is retrieved successfully Verify that the API returns a success message if the resource is retrieved successfully5. Negative Scenarios ¢ Verify API response for invalid request method Verify API response for exceeded payload size ¢ Verify API response for malformed request URL ¢ Verify API response for non-existent resource « Verify API response for expired authentication token Verify API response for incorrect content type ¢ Verify API response for unexpected server errors ¢ Verify API response for invalid authentication credentialsTypes of Authentication 1. Basic Authentication 2. Pre-emptive Authentication 3. Digest Authentication 4. OAuth2 Authentication 5. OAuth AuthenticationRequest Structure 1. HTTP Method © GET * POST ¢ PUT ¢ DELETE « PATCH 2. URL « The URL identifies the location of the API endpoint that the client wants to access. e.g., https://www.alphabin.co/3. Request Header * Content-Type « Authorization * Accept 4. Request Parameters * Query Parameters « Path Parameters * Request Body5. Request Body * For HTTP methods like POST, PUT, and PATCH, the request body contains the data that the client wants to send to the server. 6. Authentication * If the API requires authentication, the client must include authentication credentials (e.g., API keys, OAuth tokens)
You might also like
API Testing Cheatsheet
PDF
No ratings yet
API Testing Cheatsheet
5 pages
API Testing Slides
PDF
No ratings yet
API Testing Slides
93 pages
API Testing
PDF
No ratings yet
API Testing
3 pages
Api Security
PDF
100% (1)
Api Security
5 pages
API Testing Practical Guide - QA_SDET
PDF
No ratings yet
API Testing Practical Guide - QA_SDET
7 pages
API Test Case Documentation
PDF
No ratings yet
API Test Case Documentation
6 pages
API Penetration Testing Checklist 17208Fjfjffjfjfj
PDF
No ratings yet
API Penetration Testing Checklist 17208Fjfjffjfjfj
4 pages
Postman API
PDF
No ratings yet
Postman API
30 pages
Web II Handling Requests and Responses Lesson005
PDF
No ratings yet
Web II Handling Requests and Responses Lesson005
16 pages
Top_100_Manual_Test_Cases_1744104864
PDF
No ratings yet
Top_100_Manual_Test_Cases_1744104864
3 pages
Practical guide to API testing
PDF
No ratings yet
Practical guide to API testing
7 pages
API Cheet Sheet
PDF
No ratings yet
API Cheet Sheet
11 pages
API_Security_Testing_Approach
PDF
No ratings yet
API_Security_Testing_Approach
7 pages
API
PDF
No ratings yet
API
12 pages
API Testing CheatSheet 1714410109
PDF
No ratings yet
API Testing CheatSheet 1714410109
12 pages
The Ultimate API Security Audit & VAPT Checklist
PDF
No ratings yet
The Ultimate API Security Audit & VAPT Checklist
9 pages
API Testing Cheat Sheet With Postman
PDF
No ratings yet
API Testing Cheat Sheet With Postman
4 pages
API Scenario Checklist_Latest
PDF
No ratings yet
API Scenario Checklist_Latest
5 pages
What is API Testing
PDF
No ratings yet
What is API Testing
12 pages
API Security Testing PDF
PDF
100% (1)
API Security Testing PDF
24 pages
API_Requirements_1739248111141
PDF
No ratings yet
API_Requirements_1739248111141
12 pages
API Testing_Questions
PDF
No ratings yet
API Testing_Questions
4 pages
API Scenario Checklist-Old
PDF
No ratings yet
API Scenario Checklist-Old
14 pages
API_Testing_Interview_Playbook_100_Questions_1746235143
PDF
No ratings yet
API_Testing_Interview_Playbook_100_Questions_1746235143
29 pages
API
PDF
No ratings yet
API
37 pages
API Testing Checklist
PDF
No ratings yet
API Testing Checklist
11 pages
R- Postman api
PDF
No ratings yet
R- Postman api
16 pages
API & Postman_QA_Final
PDF
No ratings yet
API & Postman_QA_Final
6 pages
TEST API
PDF
No ratings yet
TEST API
8 pages
API Testing
PDF
No ratings yet
API Testing
6 pages
Introduction To Postman
PDF
No ratings yet
Introduction To Postman
16 pages
API Testing Test Cases
PDF
No ratings yet
API Testing Test Cases
6 pages
API Testing
PDF
No ratings yet
API Testing
15 pages
API Testing Interview Questions
PDF
No ratings yet
API Testing Interview Questions
11 pages
API Testing Handbook
PDF
No ratings yet
API Testing Handbook
16 pages
API+Design
PDF
No ratings yet
API+Design
29 pages
API QUESTIONS
PDF
No ratings yet
API QUESTIONS
5 pages
REST ASSURED
PDF
No ratings yet
REST ASSURED
7 pages
Notes -2
PDF
No ratings yet
Notes -2
12 pages
API Testing Guide 1730023081
PDF
No ratings yet
API Testing Guide 1730023081
18 pages
APIs_Questions
PDF
No ratings yet
APIs_Questions
4 pages
Basic API Testing (Postman)
PDF
No ratings yet
Basic API Testing (Postman)
11 pages
Postman-2
PDF
No ratings yet
Postman-2
23 pages
API Interview Questions
PDF
No ratings yet
API Interview Questions
4 pages
Api Testing Quick Reference
PDF
No ratings yet
Api Testing Quick Reference
15 pages
Rules To Develop An API: 1. Accept and Respond With JSON
PDF
No ratings yet
Rules To Develop An API: 1. Accept and Respond With JSON
3 pages
API Test Cases
PDF
No ratings yet
API Test Cases
6 pages
APIs Study 1
PDF
No ratings yet
APIs Study 1
15 pages
Test Design and Automation For REST API PDF
PDF
No ratings yet
Test Design and Automation For REST API PDF
101 pages
What Is An API?: Integration of An E-Commerce Site With Payment Infrastructure
PDF
No ratings yet
What Is An API?: Integration of An E-Commerce Site With Payment Infrastructure
9 pages
Api testing interview Questions.docx2
PDF
No ratings yet
Api testing interview Questions.docx2
6 pages
API Questions - Interview
PDF
No ratings yet
API Questions - Interview
4 pages
Important Api Testing Interview Question N Answers.
PDF
No ratings yet
Important Api Testing Interview Question N Answers.
15 pages
API Testing
PDF
No ratings yet
API Testing
20 pages
API Security Checklist
PDF
No ratings yet
API Security Checklist
4 pages
API Testing Interview Question!!!!!!!!!
PDF
No ratings yet
API Testing Interview Question!!!!!!!!!
6 pages
API Testing Questions and Answers
PDF
No ratings yet
API Testing Questions and Answers
5 pages
API End - EndNotes V1.0
PDF
No ratings yet
API End - EndNotes V1.0
27 pages