Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
4 views

API Testing File

Uploaded by

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

API Testing File

Uploaded by

akashdhoke321
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

API Testing

Introduction

What is Client & Server?

A Client is a computer hardware device or software that accesses a service mode available by a
server. The server is often (but not always) located on a separate physical computer.

A Server is a physical computer dedicated to run services to serve the needs of other computers.
Depending on the service that is running it could be a file server, database server, home media
server, print server, or web server.

What is an API ?

Application Program Interface (API) : Is the way of communication between two applications where
application where applications may differ in their platforms or in terms of technology.

Front end of the application

Middle layer (API layer)

Back end of the application

*** API is a way of communication between two layers.

** Types Of API

1. Simple Object Access Protocol (SOAP)


2. REST (Representational State Transfer)

Both are the web Services.

API Vs Webservice

Web Service is an API wrapped in HTTP.

All web services are API but API are not web services.

A web services needs a network while an A{I doesn’t need a network for its operation.

Rest API HTTP Methods

Request Message Application Program Interface (API) Response Message


REST API Methods :-

GET:

1. POST
2. PUT
3. DELETE

Terminologies

URL – Uniform Resource Identifier

URL – Uniform Resource Locator

URN –Uniform Resource Name

SCHEME HOST PATH

https://google.com/articels/articlename

Feature & Resource

Feature is the term used in manual testing to test some functionality and similarly Resource is the
term used in API Automation Testing referring some functionality.

Payload

Payload means body in the http request and response message

Request Payload

Response payload

You might also like