SlideShare a Scribd company logo
1 of 95
Download to read offline
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010
Testing REST Web Services at DEVOXX 2010

More Related Content

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Editor's Notes

  1. Welcome.
  2. My name is Jan Algermissen. I am working as a software architect and consultant focussing on Enterprise REST. On solving classic enterprise IT problems with Web architecture. Contact Information on Intro slide. If you asked me, how well REST and the Enterprise fit together it comes as now surprise that to me personally they a re a perfect couple. <click>
  3. There you have it - pure harmony. However I also think that a number of aspects of REST need more explanation to make the whole concept suitable for Enterprise development. To me, one of these aspects is testing so this is the basic motivation behind this talk. Agenda: 1. Look at contract between client and server that exists in RESTful systems 2. Explore expectations made by clients 3. Introduce a method for testing. Q. Who knows what REST is? Who has created enterprise production systems that use REST? Have you developed a dedicated testing process? And who is only here to learn about REST? I like to start out with a rather bold statement:
  4. The precondition for testing is having a contract. Contract is the basis for expectations. Expectations is what we are going to test. Let’s explore the contract.
  5. RPC Style integration. Every provider has a special contract the consumer has to understand (implement). This leads to undesirable coupling and eventually makes evolving the system very difficult. One of the primary design goals of REST is to improve this situation.
  6. REST eliminates all service specific contract. Moves it to a global space. E.g. IANA, in case of the World Wide Web. Consequence is that there are no service specific contracts anymore and therefore no coupling between individual clients and servers. REST eliminates all service descriptions.
  7. No idl, no wsdl, no wadl, not even html because there is nothing to describe.
  8. No idl, no wsdl, no wadl, not even html because there is nothing to describe.
  9. No idl, no wsdl, no wadl, not even html because there is nothing to describe.
  10. No idl, no wsdl, no wadl, not even html because there is nothing to describe.
  11. So then - how and what to test. And what is informing the client developer about what she is allowed to do? Does this mean that a server developer can basically do *anything*? Let’s look at expectations once more. Since communication exists between client and server there surely is some shared knowledge. Based on that knowledge the client makes assumptions about the server.
  12. Is that right? Did some digging through the mailing lists and came up with the following interesting quote:
  13. Where do these expectations come from? First, the server is telling us something about the resources!
  14. Another source to learn about expectations about resources is Tim Berners Lee’s classic Web design article: “Cool URIs Don’t change”.
  15. Testing process running over time. Accumulating information in turn used for testing. Continuous operation or explicit activation.
  16. Questions?