Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
API	
  Readiness:	
  
Visualizing	
  and	
  
Virtualizing	
  
Lorinda	
  Brandon	
  
Director,	
  API	
  Partner	
  Develo...
Keys	
  to	
  a	
  successful	
  API	
  
•  documentaEon	
  
•  	
  tesEng	
  
•  	
  mocking	
  
•  	
  evangelism	
  
• ...
But	
  how	
  do	
  you	
  get	
  
there?	
  
API	
  
Readiness	
  
visualize	
  
Service	
  Defini+ons	
  
The	
  best	
  way	
  to	
  visualize	
  your	
  API	
  
Describing	
  is	
  not	
  really	
  visualizing	
  
“The	
  best	
  design	
  gets	
  
out	
  of	
  the	
  way	
  
between	
  the	
  viewer’s	
  
brain	
  and	
  the	
  
cont...
– Swagger.ed	
  (credit	
  -­‐	
  @chefarchitect)	
  
New	
  Ideas	
  Coloring	
  outside	
  the	
  lines	
  
	
  
Visualizing:	
  	
  
New	
  ideas	
  
– Ardoq	
  
New	
  Ideas	
  Coloring	
  outside	
  the	
  lines	
  
	
  
Visualizing:	
  	
  
New	
  ideas	
  
– LucyBot	
  
New	
  Ideas	
  Coloring	
  outside	
  the	
  lines	
  
	
  
API	
  
Readiness	
  
visualize	
  
validate	
  
Func+onal	
  Test	
  
Live	
  up	
  to	
  your	
  own	
  hype	
  
Load	
  Test	
  
Don’t	
  let	
  success	
  kill	
  you	
  
Security	
  Test	
  
Know	
  where	
  the	
  dangers	
  are	
  
API	
  
Readiness	
  
visualize	
  
validate	
  
virtualize	
  
Why	
  virtualize	
  your	
  
APIs?	
  
Bootstrap
Parallel	
  dev	
  and	
  test	
  
Test Design
Virtual API
Generate
from spec
or with
tools
Client Development
I...
Isolate
Test	
  execuEon	
  and	
  development	
  
Test Execution
(automated or manual)
Development
Component in
dev or te...
Performance
Test
Solution
under test
Load Test Execution
(automated or manual) 3rd party APIs
(virtualized)
Other APIs
(vi...
Provide Sandbox
Hardware /
Software
Solution
API Virtual API
Evaluate
Integrate
Integration Test
Three	
  Levels	
  
of	
  API	
  
Virtualiza+on	
  
StaEc	
  Mocks	
  
Static responses
•  Semantically
correct
•  No logi...
API	
  
Readiness	
  
visualize	
  
validate	
  
virtualize	
  
monitor	
  
MONITORING	
  
Virtual	
  APIs	
  
Mock	
  Services	
  
ProducEon	
  
APIs	
  
Keep	
  producEon	
  
stable	
  
	
  
Preve...
visualize	
  
validate	
  
virtualize	
  
monitor	
  
Thank	
  You	
  
Upcoming SlideShare
Loading in …5
×

WSO2Con EU 2015: API Readiness: Is Your API Ready for Primetime?

539 views

Published on

WSO2Con EU 2015: API Readiness: Is Your API Ready for Primetime?

Whether your business relies on your API for revenue and brand awareness or your internal teams rely on it for their applications, it’s important that your consumers can rely on your API. So how do you know it’s ready? API Readiness is more than just great design or clean code or efficient testing. it’s a combination of things from design through production. This talk explores the key aspects of API readiness and how you can make sure your API is ready for all the people who will depend on it.


Presenter:
Lorinda Brandon
Technical Evangelist, API Products,
SmartBear

Published in: Technology
  • Be the first to comment

  • Be the first to like this

WSO2Con EU 2015: API Readiness: Is Your API Ready for Primetime?

  1. 1. API  Readiness:   Visualizing  and   Virtualizing   Lorinda  Brandon   Director,  API  Partner  Development   SmartBear  So>ware   @lindybrandon    
  2. 2. Keys  to  a  successful  API   •  documentaEon   •   tesEng   •   mocking   •   evangelism   •   management   •   monitoring  
  3. 3. But  how  do  you  get   there?  
  4. 4. API   Readiness   visualize  
  5. 5. Service  Defini+ons   The  best  way  to  visualize  your  API  
  6. 6. Describing  is  not  really  visualizing  
  7. 7. “The  best  design  gets   out  of  the  way   between  the  viewer’s   brain  and  the   content.”     –  Edward  Tu>e  
  8. 8. – Swagger.ed  (credit  -­‐  @chefarchitect)   New  Ideas  Coloring  outside  the  lines    
  9. 9. Visualizing:     New  ideas   – Ardoq   New  Ideas  Coloring  outside  the  lines    
  10. 10. Visualizing:     New  ideas   – LucyBot   New  Ideas  Coloring  outside  the  lines    
  11. 11. API   Readiness   visualize   validate  
  12. 12. Func+onal  Test   Live  up  to  your  own  hype  
  13. 13. Load  Test   Don’t  let  success  kill  you  
  14. 14. Security  Test   Know  where  the  dangers  are  
  15. 15. API   Readiness   visualize   validate   virtualize  
  16. 16. Why  virtualize  your   APIs?  
  17. 17. Bootstrap Parallel  dev  and  test   Test Design Virtual API Generate from spec or with tools Client Development Integration Development
  18. 18. Isolate Test  execuEon  and  development   Test Execution (automated or manual) Development Component in dev or test 3rd party APIs (virtualized) Other APIs (virtualized) Legacy Systems (virtualized) •  Simulate (un)expected behavior •  Minimize impact on and usage of external systems •  Assert usage of external components
  19. 19. Performance Test 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
  20. 20. Provide Sandbox Hardware / Software Solution API Virtual API Evaluate Integrate Integration Test
  21. 21. Three  Levels   of  API   Virtualiza+on   StaEc  Mocks   Static responses •  Semantically correct •  No logic •  Payloads generated from schemas or examples Code or generated from metadata   Dynamic  Mocks   Dynamic responses •  Based on input •  Re-use input in output •  Scripting •  Data-driven / Data-generation •  Simulate state Assertions on incoming content   Virtual  APIs   Runtime behavior simulation Runtime management •  Redirect traffic to Virtual APIs dynamically •  Access control •  Deployment •  Test execution integration      
  22. 22. API   Readiness   visualize   validate   virtualize   monitor  
  23. 23. MONITORING   Virtual  APIs   Mock  Services   ProducEon   APIs   Keep  producEon   stable     Prevent  boTlenecks   Test   Dev  Test  Dev   Test   Ongoing  development   API   Monitoring  
  24. 24. visualize   validate   virtualize   monitor  
  25. 25. Thank  You  

×