Professional Documents
Culture Documents
Fundamentals of API Automation
Fundamentals of API Automation
1
Let’s Get Started
Why API automation is increasing in demand?
Agenda for
today’s SOAP vs REST vs GraphQL
webinar
What are the tools available to test
manually/automate API?
Q&A
What is API all about?
What is API all about?
Application Programming Interface (API) allow
two different pieces of software to
interact with one another
What are the payment options available
for IRCTC when purchasing a ticket?
Do you think all these payment options
built in same technologies?
Do you think all these payment options
built in same architecture?
If No, then how does they interact
between them (IRCTC to Payment
Gateways) seamlessly?
Almost all of the modern Applications use API to talk to backend systems.
ALM
Let’s Summarize so far
UI Automation
API Automation
Unit Automation
API
API communication over COM, RMI, JAR, C,
WS
WEB SERVICES
API communication over Web
What are Micro Services ??
Micro Services
If you want to see the Order Status of your recent purchase, what will you see in this page?
Monolithic applications
Page renders,
only when it is
fully done
Testing requires all to be re-tested for any changes
Micro Services applications
Get Order Status
1) Get User Information
a) Get Order Details
b) Get Product Details
c) Get Pricing Details
Data Source
May the UI differs but
not the system behind
Summary
All Web services are APIs but all APIs are not Web services.
Web services are a type of API, which must be accessed through a network connection
API can be: COM, DLL, JAR, RMI + (XML, JSON :: HTTP)
Web Services always travels over HTTP(S) and API does not have to !
Micro Services are independent API that are specific to business domain.
SOAP vs REST vs GraphQL
SOAP - Simple Object Access Protocol (1998)
Higher Payload
No Cache
REST 2000
Lower Payload
Stateless, Cache
GraphQL 2015
GraphQL solved many REST’s problems, and seems to be the new REST
01 LinkedIn Learning
02 Coursera
03 QwikLabs
05 Udemy
to the world of API automation learning