THE MAGIC BEHIND FASTER API
DEVELOPMENT,TESTING AND DELIVERY
WITH API VIRTUALIZATION
Presented	by:	SmartBear	CTO,	OAI	Chairman,	Ole	Lensmar
@olensmar |	@SmartBear
Page
@SmartBear
The path to APIVirtualization
starts with…
Page
@SmartBear
Stubbing / Static Mocking
• Static	responses
• Semantically	correct
• No	logic	
• Payloads	generated	from	schemas	or	examples
• Code	or	generated	from	metadata
• Usage:	Client	and	Test	development
Page
@SmartBear
Dynamic Mocking (Simulation)
• Dynamic	responses
• Based	on	input
• Re-use	input	in	output
• Scripting
• Data-driven	/	Data-generation
• Simulate	state
• Usage:	Scenario	Testing,	Development
Page
@SmartBear
APIVirtualization
• Runtime	behavior	simulation
• Runtime	management
• Redirect	traffic	to	Virtual	APIs	dynamically
• Access	control	
• Deployment	
• Test	execution	integration
• Assertions	on	incoming	content
• Usage:	Integration	/	Scenario	Testing,	Load	Testing,	Development
Page
@SmartBear
A couple of use cases…
Page
@SmartBear
Bootstrap Development
Virtualized API
Generate	from	
spec	or	with	tools
Client Development
Test Design
Integration Development
• Shortcut	the	API	development	cycle	/	process
• Bridge	dependencies	between	roles	/	teams
• Enable	early	feedback	on	API	design	/	implementation
Development
Page
@SmartBear
Component Isolation during Dev and Test
Component in
dev or test
Test	Execution
(automated	or	manual)
3rd party APIs
(virtualized)
Other APIs
(virtualized)
Legacy Systems
(virtualized)
Development
• Simulate	(un)expected	behavior
• Minimize	impact	on	and	usage	of	external	systems
• Assert	usage	of	external	components
Page
@SmartBear
Provide Sandbox for API consumers
Hardware / Software
Solution
API Virtual API
Evaluate
Integrate
Integration Test
• Provide	simulations	of	different	usage	scenarios
• Minimize	usage	/	exposure	of	real	system	
• Understand	how	customers	interact	with	API
Page
@SmartBear
Performance Testing with API dependencies
Solution
under test
Load	Test	Execution
(automated	or	manual)
3rd party APIs
(virtualized)
Other APIs
(virtualized)
Legacy Systems
(virtualized)
• Simulate	(un)expected	performance	in	external	systems
• Minimize	impact	on	and	usage	of	external	systems
• Triage	Performance	bottlenecks
Page
@SmartBear
Internal
Corp
Web app
Corp
App +
API
API
API
API
Device
API
Device
IoT
Device
IoT
Device
API
API
API
Component Evolution in complex architectures
• Enable	independent	evolution	of	services	by	simulating	
external	dependencies	as	services	move	through	lifecycle
Page
Virtualization across the API Lifecycle
Design Build Test Deploy Manage
Static	mocking
Dynamic	mocking
API	Virtualization
@SmartBear
Page
@SmartBear
How create virtualized APIs?
Page
@SmartBear
Create from API definition / contract
• Swagger/OAS,	RAML,	API	Blueprint,	WSDL,	WADL,	etc.
• Integrated	schemas	or	examples	for	payload	generation
• Static	Mocking	often	integrated	in	design	tools
• Dedicated	tooling	common
Page
@SmartBear
Create from captured API usage
• Convert	intercepted	API	responses	into	virtual	APIs
• Log-files	– limited	payload	data
• Captured	traffic	often	needs	to	be	“refined”
• Removal	/	change	of	headers	
• Removal	of	sensitive	data
• Added	logic	for	propagation	of	values	
• Record	non-functional	aspects
• Response	times,	latency,	etc.
• Record	SSL	using	MITM	with	dedicated	certificate
Page
@SmartBear
Refine with dedicated tooling
• Add	complex	logic	for	request	dispatching
• Add	data-driven	payloads
• Simulate	non-functional	behavior
• Add	assertions	for	validating	requests
• Pass-through	to	actual	APIs	as	appropriate
Page
@SmartBear
Considerations
• How	will	virtual	APIs	be	used	and	managed
• Local	/	Team	/	Enterprise
• Technical	proficiency	of	maintainers
• Scripting	/	coding	requirements
• CI-Integration	
• How	redirect	API	calls	to	virtualized	APIs
• Access	control	(internal	/	external)
• Reporting	and	Governance
Page
@SmartBear
Virtualising Async APIs
• Domains
• Web:	Webhooks,	AsyncSOAP,	Websockets
• Legacy:	JMS,	MQSeries,	etc
• IoT protocols:	MQTT,	AMQP,	XMPP,	etc
• Virtualization	Needs
• Simulate	both	sender	and	receiver	of	events
• Coordinate	decoupled	message	flows	/	transactions
• Simulate	both	functional	and	non-functional	behaviour
• Challenging	to	coordinate	orchestrated	components
Page
@SmartBear
APIVirtualization – do you need it?
• Local	development	and	basic	component	testing	–>	Probably	not
• For	providing	Sandbox	environments	->	Probably
• Collaborative	evolution	and	testing	of	APIs	with	low	number	of	dependencies	->	Maybe
• The	same	– but	with	high	number	of	complex	dependencies	->	Probably
• For	simulating	both	functional	and	non-functional	behavior	in	complex	distributed	API-based	
solutions	/	architectures	->	Definitely
Thank you!
@olensmar @SmartBear

More Related Content

PDF
Lessons Learned from Building Enterprise APIs (Gustaf Nyman)
PPTX
Continuous Integration and Delivery at Shapeways (Matt Boyle)
PDF
TDD for APIs in a Microservice World (Short Version) by Michael Kuehne-Schlin...
PDF
API Design Collaboration
PDF
Evolution of API Management in the BBC
PPTX
The Magic Behind Faster API Development, Testing and Delivery with API Virtua...
PPTX
Pain Points In API Development? They’re Everywhere
PDF
apidays LIVE Hong Kong 2021 - Automating the API Product Lifecycle by Jeremy ...
Lessons Learned from Building Enterprise APIs (Gustaf Nyman)
Continuous Integration and Delivery at Shapeways (Matt Boyle)
TDD for APIs in a Microservice World (Short Version) by Michael Kuehne-Schlin...
API Design Collaboration
Evolution of API Management in the BBC
The Magic Behind Faster API Development, Testing and Delivery with API Virtua...
Pain Points In API Development? They’re Everywhere
apidays LIVE Hong Kong 2021 - Automating the API Product Lifecycle by Jeremy ...

What's hot (20)

PPTX
Operational API design anti-patterns (Jason Harmon)
PDF
apidays Paris 2019 - How Do Async APIs Survive in a Rest World? by Luca Ferra...
PPTX
Serverless Functions and Machine Learning: Putting the AI in APIs
PPTX
Azure API Management - why should I care?
PDF
Best Practices for API Design to Keep Your App Secure, Scalable & Efficient
PPTX
How to Build an Effective API Security Strategy
PDF
Blowing up the Monolith: Practical Advice on Microservices
PPTX
Advanced Automation in Your API Lifecycle
PDF
Dependency Down, Flexibility Up – The Benefits of API-First Development
PPTX
Public API
PDF
API workshop by AWS and 3scale
PPTX
Onion Architecture
PPTX
API Products: Who, What, Where, When, Why, and How?
PPTX
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
PDF
Rest api best practices – comprehensive handbook
PPTX
Blood, sweat, and creating an API handbook
PDF
The Most Common Errors That Aren’t Caught
PPTX
Microservices in action: How to actually build them
PPTX
Overview of API Management Architectures
PDF
Essential Ingredients for a Successful API Program
Operational API design anti-patterns (Jason Harmon)
apidays Paris 2019 - How Do Async APIs Survive in a Rest World? by Luca Ferra...
Serverless Functions and Machine Learning: Putting the AI in APIs
Azure API Management - why should I care?
Best Practices for API Design to Keep Your App Secure, Scalable & Efficient
How to Build an Effective API Security Strategy
Blowing up the Monolith: Practical Advice on Microservices
Advanced Automation in Your API Lifecycle
Dependency Down, Flexibility Up – The Benefits of API-First Development
Public API
API workshop by AWS and 3scale
Onion Architecture
API Products: Who, What, Where, When, Why, and How?
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
Rest api best practices – comprehensive handbook
Blood, sweat, and creating an API handbook
The Most Common Errors That Aren’t Caught
Microservices in action: How to actually build them
Overview of API Management Architectures
Essential Ingredients for a Successful API Program

Similar to The Magic Behind Faster API Development, Testing and Delivery with API Virtualization (20)

PPTX
API Readiness: Visualizing and Virtualizing
PDF
WSO2Con EU 2015: API Readiness: Is Your API Ready for Primetime?
PDF
AWS Community Day - Piyali Kamra - Conversational AI Ecosystem on AWS
PDF
Bringing a public GraphQL API from beta to production ready
PDF
Bringing a public GraphQL API from the whiteboard to production
PPTX
Blue and Green Modern Professional Company Profile Presentation (2).pptx.pptx...
PPTX
Security testautomation
PPTX
Hacker Proof web app using Functional tests
PDF
Productionizing Machine Learning with a Microservices Architecture
PPTX
Serverless integrations using Azure Logic Apps (intro)
PPTX
Improving Perceived Page Performance with ASP.NET Web API and AJAX
PPTX
Advanced API Mocking Techniques Using Wiremock
PDF
Grand tour of Azure API Management.pdf
PPTX
Containers, Microsoft and DevOps: What is Microsoft Doing About All This Anyw...
PPT
TLE2015_SPI_WATS
PDF
APIConnect Security Best Practice
PPT
Automating security test using Selenium and OWASP ZAP - Practical DevSecOps
PDF
DAST in CI/CD pipelines using Selenium & OWASP ZAP
PDF
Modernizing Testing as Apps Re-Architect
PDF
Piyali Kamra - Building a Conversational AI Ecosystem on AWS Sage maker
API Readiness: Visualizing and Virtualizing
WSO2Con EU 2015: API Readiness: Is Your API Ready for Primetime?
AWS Community Day - Piyali Kamra - Conversational AI Ecosystem on AWS
Bringing a public GraphQL API from beta to production ready
Bringing a public GraphQL API from the whiteboard to production
Blue and Green Modern Professional Company Profile Presentation (2).pptx.pptx...
Security testautomation
Hacker Proof web app using Functional tests
Productionizing Machine Learning with a Microservices Architecture
Serverless integrations using Azure Logic Apps (intro)
Improving Perceived Page Performance with ASP.NET Web API and AJAX
Advanced API Mocking Techniques Using Wiremock
Grand tour of Azure API Management.pdf
Containers, Microsoft and DevOps: What is Microsoft Doing About All This Anyw...
TLE2015_SPI_WATS
APIConnect Security Best Practice
Automating security test using Selenium and OWASP ZAP - Practical DevSecOps
DAST in CI/CD pipelines using Selenium & OWASP ZAP
Modernizing Testing as Apps Re-Architect
Piyali Kamra - Building a Conversational AI Ecosystem on AWS Sage maker

More from Nordic APIs (20)

PPTX
How to Choose the Right API Platform - We Have the Tool You Need! - Mikkel Iv...
PPTX
Bulletproof Backend Architecture: Building Adaptive Services with Self-Descri...
PDF
Implementing Zero Trust Security in API Gateway with Cilium - Pubudu Gunatila...
PPTX
Event-Driven Architecture the Cloud-Native Way - Manuel Ottlik, HDI Global SE
PPTX
Navigating the Post-OpenAPI Era with Innovative API Design Frameworks - Danie...
PDF
Using Typespec for Open Finance Standards - Chris Wood, Ozone API
PPTX
Schema-first API Design Using Typespec - Cailin Smith, Microsoft
PPTX
Avoiding APIpocalypse; API Resiliency Testing FTW! - Naresh Jain, Xnsio
PPTX
How to Build an Integration Platform with Open Source - Magnus Hedner, Benify
PPTX
API Design First in Practise – An Experience Report - Hari Krishnan, Specmatic
PPTX
The Right Kind of API – How To Choose Appropriate API Protocols and Data Form...
PPTX
Why Frequent API Hackathons Are Key to Product Market Feedback and Go-to-Mark...
PPTX
Maximizing API Management Efficiency: The Power of Shifting Down with APIOps ...
PPTX
APIs Vs Events - Bala Bairapaka, Sandvik AB
PPTX
GraphQL in the Post-Hype Era - Daniel Hervas, Reckon Digital
PPTX
From Good API Design to Secure Design - Axel Grosse, 42Crunch
PPTX
API Revolution in IoT: How Platform Engineering Streamlines API Development -...
PPTX
Unlocking the ROI of API Platforms: What Success Actually Looks Like - Budhad...
PDF
Increase Your Productivity with No-Code GraphQL Mocking - Hugo Guerrero, Red Hat
PPTX
Securely Boosting Any Product with Generative AI APIs - Ruben Sitbon, Theodo ...
How to Choose the Right API Platform - We Have the Tool You Need! - Mikkel Iv...
Bulletproof Backend Architecture: Building Adaptive Services with Self-Descri...
Implementing Zero Trust Security in API Gateway with Cilium - Pubudu Gunatila...
Event-Driven Architecture the Cloud-Native Way - Manuel Ottlik, HDI Global SE
Navigating the Post-OpenAPI Era with Innovative API Design Frameworks - Danie...
Using Typespec for Open Finance Standards - Chris Wood, Ozone API
Schema-first API Design Using Typespec - Cailin Smith, Microsoft
Avoiding APIpocalypse; API Resiliency Testing FTW! - Naresh Jain, Xnsio
How to Build an Integration Platform with Open Source - Magnus Hedner, Benify
API Design First in Practise – An Experience Report - Hari Krishnan, Specmatic
The Right Kind of API – How To Choose Appropriate API Protocols and Data Form...
Why Frequent API Hackathons Are Key to Product Market Feedback and Go-to-Mark...
Maximizing API Management Efficiency: The Power of Shifting Down with APIOps ...
APIs Vs Events - Bala Bairapaka, Sandvik AB
GraphQL in the Post-Hype Era - Daniel Hervas, Reckon Digital
From Good API Design to Secure Design - Axel Grosse, 42Crunch
API Revolution in IoT: How Platform Engineering Streamlines API Development -...
Unlocking the ROI of API Platforms: What Success Actually Looks Like - Budhad...
Increase Your Productivity with No-Code GraphQL Mocking - Hugo Guerrero, Red Hat
Securely Boosting Any Product with Generative AI APIs - Ruben Sitbon, Theodo ...

Recently uploaded (20)

PPTX
Information-Technology-in-Human-Society.pptx
PDF
Decision Optimization - From Theory to Practice
PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
SaaS reusability assessment using machine learning techniques
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
Examining Bias in AI Generated News Content.pdf
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PPTX
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
Information-Technology-in-Human-Society.pptx
Decision Optimization - From Theory to Practice
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
Build Real-Time ML Apps with Python, Feast & NoSQL
NewMind AI Weekly Chronicles – August ’25 Week IV
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
SaaS reusability assessment using machine learning techniques
Lung cancer patients survival prediction using outlier detection and optimize...
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
Examining Bias in AI Generated News Content.pdf
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
Build automations faster and more reliably with UiPath ScreenPlay
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
A symptom-driven medical diagnosis support model based on machine learning te...
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf

The Magic Behind Faster API Development, Testing and Delivery with API Virtualization