0% found this document useful (0 votes)
29 views

API Testing

Uploaded by

tahsansourov07
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

API Testing

Uploaded by

tahsansourov07
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

CONTENT

1 API 4 HTTP METHODS

2 API Workflow 5 HTTP STATUS CODE

3 API Structure 6 API TIMELINE


CONTENT

1
7 NETWORK CALL Let’s Start Live
0

API TESTING 1 API Collection and


8 TOOLS Environment
1
1
9 POSTMAN Install DATA Validation
2
CONTENT

1 API Automation
1 Report
3 6
1 API Test Script
1 Advance API Testing
4 7
1 Environment Setup 1 Resources
for Report Generation
5 8
What is API?
API testing is a type of software testing that involves testing the application programming
interfaces (APIs) directly. APIs are the communication protocols and tools that allow
different software applications to communicate with each other. API testing ensures that
the APIs work as expected in terms of functionality, reliability, performance, and security.
API Testing Workflow - Real life example
API Testing Workflow - Real life example
API Structure
11
Report Configure
Newman
Install Command: npm install -g newman
Run Command:
1. newman run “Path/CollectionName.json” -e Path/EnvironmentName.json
2. newman run “Collection Link” -e “Path”/EnvironmentName.json

Report:
Install: npm install -g newman-reporter-html
npm install -g newman-reporter-htmlextra
Run Command:
3. newman run CollectionName.json -e EnvironmentName.json -r cli,html
newman run CollectionName.json -e EnvironmentName.json -r cli,htmlextra
API Testing Resources
API Documentation:
https://docs.google.com/document/d/1YyzPMbEu6eEMFrvp-WHiJW-SvDTJvikqx1QGyyFgRXw/edit?usp
=sharing

For Practice:
https://docs.google.com/document/d/1LF3FeN4obAZTn-QeuWZzteLn8X1m8ww2/edit?usp=sharing&ouid
=107740915407819043042&rtpof=true&sd=true

Software:
Postman (Link: https://www.postman.com/)
Node JS Install (Link: https://nodejs.org/en/)

GitHub:
https://github.com/ebrahimhossaincse/Automated-Testing-of-Rest-Booking-API-with-Newman-Report

You might also like