SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
17-10-19
© Atos
Tests d'intégration de micro-services :
approche pilotée par les contrats
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019
Who I am ?
▶ Sébastien René
– Solution Architect
– Atos Expert Community
@sebastienrene
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20193
Microservice architecture
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20194
Microservice architecture
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20195
A new application
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20196
Have to deal with versions
v1 v5 v2
v2 v5 v1
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20197
API documentation is static
Swagger UI
OpenAPI spec Service2
OpenAPI spec Service1
OpenAPI spec
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20198
Application automated build, deployment, test
and release
Deployment
Pipeline
Code BinariesBuild & Package
Provisioning Environments
Functional Non functional (security,
performance,..)
Code
Orchestrate
B
Register
code
A Register
binaries
DBuild / Assemble
Verify complete
C
Verify
code
E
Deploy /
Release
F
Verify
functional
G Verify
non-functional
H
Define Design
TestRequest Business value
Release
Configure &
Develop
Development Production
Quality
control
Test & Acceptance (on demand) I
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019
▶ Advantages:
– Simulates production.
– Tests real communication between services.
▶ Disadvantages :
– To test one microservice, we have to deploy all microservices, databases, …
– The environment where the tests run is locked for a single suite of tests
(nobody else would be able to run the tests in the meantime).
– They take a long time to run.
– The feedback comes very late in the process.
– They are extremely hard to debug.
9
End to end platform tests
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019
▶ Advantages:
– They provide very fast feedback.
– They have no infrastructure requirements.
▶ Disadvantages:
– The implementor of the service creates stubs that might have nothing to do
with reality.
– You can go to production with passing tests and failing production.
10
Mock other services
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201911
Contract testing
Consumer testing Provider verification
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019
▶ Test the interactions between
applications
▶ Make IT test easier to implement /
automate
▶ Acceptance test-driven developement
▶ Publish changes in contracts that are
immediately visible on both sides
12
Why I should use contracts ?
Enable
▶ Simulate all business features
▶ Create test scenario
▶ Performance and load testing
Not suitable for
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019
▶ Provider Contracts
– the producer of the API defines the
contracts and publishes it
– for producers that cannot directly
collaborate with their consumers
▶ Consumer-Driven Contracts
– the consumers describe how they
use the API
– for producer and consumer teams
working for the same organizations
13
Who creates the contract ?
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201914
The tools
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019
▶ Spring Cloud Contracts
– Tests and stubs generator
• REST API
• Messaging
– Contracts and stub storage
• Nexus / Artifactory
• Git
• Pact
– Stub runner (WireMock)
15
The tools
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201916
What is a Contract?
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201917
Maven Workflow
Contract
verifier
Contract
stub
runner
Contract
Maven Repo
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201918
Git Workflow
Contract
verifier
Contract
stub
runner
Contracts
Git repo
Merge request Take over MR
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201919
Demo
| 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201920
Merci aux Sponsors !

Contenu connexe

Tendances

Mahesh_Chaudhar_Softwaare_Engg_Automation
Mahesh_Chaudhar_Softwaare_Engg_AutomationMahesh_Chaudhar_Softwaare_Engg_Automation
Mahesh_Chaudhar_Softwaare_Engg_Automation
Mahesh Chaudhar
 
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
How to Scale Digital App Testing With Jenkins & Automation You Can TrustHow to Scale Digital App Testing With Jenkins & Automation You Can Trust
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
Perfecto by Perforce
 
DevOps Transformation in BH Telecom – Case Study by Jasmin Ahmetbašić and Edi...
DevOps Transformation in BH Telecom – Case Study by Jasmin Ahmetbašić and Edi...DevOps Transformation in BH Telecom – Case Study by Jasmin Ahmetbašić and Edi...
DevOps Transformation in BH Telecom – Case Study by Jasmin Ahmetbašić and Edi...
Bosnia Agile
 
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
Bosnia Agile
 

Tendances (20)

Mahesh_Chaudhar_Softwaare_Engg_Automation
Mahesh_Chaudhar_Softwaare_Engg_AutomationMahesh_Chaudhar_Softwaare_Engg_Automation
Mahesh_Chaudhar_Softwaare_Engg_Automation
 
The UX of DX: User Testing in the Invisible World of APIs
The UX of DX: User Testing in the Invisible World of APIsThe UX of DX: User Testing in the Invisible World of APIs
The UX of DX: User Testing in the Invisible World of APIs
 
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Commit Conf 2018)
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Commit Conf 2018)Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Commit Conf 2018)
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Commit Conf 2018)
 
Functional to Visual: AI-powered UI Testing from Testim and Applitools
Functional to Visual: AI-powered UI Testing from Testim and ApplitoolsFunctional to Visual: AI-powered UI Testing from Testim and Applitools
Functional to Visual: AI-powered UI Testing from Testim and Applitools
 
10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing
 
Ryanair Presentation- Growth ambitions require speed evolution of BDD in Ryanair
Ryanair Presentation- Growth ambitions require speed evolution of BDD in RyanairRyanair Presentation- Growth ambitions require speed evolution of BDD in Ryanair
Ryanair Presentation- Growth ambitions require speed evolution of BDD in Ryanair
 
Agile Drives Evolution in Testing Function
Agile Drives Evolution in Testing FunctionAgile Drives Evolution in Testing Function
Agile Drives Evolution in Testing Function
 
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
How to Scale Digital App Testing With Jenkins & Automation You Can TrustHow to Scale Digital App Testing With Jenkins & Automation You Can Trust
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
 
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation Factory
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation FactoryNeste: How to Build Business Case, Ramp-up and Run SAP Test Automation Factory
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation Factory
 
Testing Tools with AI
Testing Tools with AITesting Tools with AI
Testing Tools with AI
 
Real Testing Scenario Strategy - The Role of Exploratory Testing
Real Testing Scenario Strategy - The Role of Exploratory TestingReal Testing Scenario Strategy - The Role of Exploratory Testing
Real Testing Scenario Strategy - The Role of Exploratory Testing
 
[webinar] Best of Breed: Successful Test Automation Practices from Innovative...
[webinar] Best of Breed: Successful Test Automation Practices from Innovative...[webinar] Best of Breed: Successful Test Automation Practices from Innovative...
[webinar] Best of Breed: Successful Test Automation Practices from Innovative...
 
What's New with Perfecto? - Mid-Year Edition
What's New with Perfecto? - Mid-Year EditionWhat's New with Perfecto? - Mid-Year Edition
What's New with Perfecto? - Mid-Year Edition
 
Testing Microsoft Dynamics NAV with Rapise
Testing Microsoft Dynamics NAV with RapiseTesting Microsoft Dynamics NAV with Rapise
Testing Microsoft Dynamics NAV with Rapise
 
Bringing Quality Design Systems to Life with Storybook & Applitools
Bringing Quality Design Systems to Life with Storybook & ApplitoolsBringing Quality Design Systems to Life with Storybook & Applitools
Bringing Quality Design Systems to Life with Storybook & Applitools
 
ESLint Plugin for UI Tests
ESLint Plugin for UI TestsESLint Plugin for UI Tests
ESLint Plugin for UI Tests
 
Monitor your spring boot application performances using inspectit apm
Monitor your spring boot application performances using inspectit apmMonitor your spring boot application performances using inspectit apm
Monitor your spring boot application performances using inspectit apm
 
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
 
DevOps Transformation in BH Telecom – Case Study by Jasmin Ahmetbašić and Edi...
DevOps Transformation in BH Telecom – Case Study by Jasmin Ahmetbašić and Edi...DevOps Transformation in BH Telecom – Case Study by Jasmin Ahmetbašić and Edi...
DevOps Transformation in BH Telecom – Case Study by Jasmin Ahmetbašić and Edi...
 
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
 

Similaire à Tests d'intégration de micro-services : approche pilotée par les contrats - RENE - Atos - Soirée du Test Logiciel Sophia 2019

Similaire à Tests d'intégration de micro-services : approche pilotée par les contrats - RENE - Atos - Soirée du Test Logiciel Sophia 2019 (20)

Ensure the integration of Microservices with Consumer Driven Contracts
Ensure the integration of Microservices with Consumer Driven ContractsEnsure the integration of Microservices with Consumer Driven Contracts
Ensure the integration of Microservices with Consumer Driven Contracts
 
AI in Test Automation
AI in Test AutomationAI in Test Automation
AI in Test Automation
 
[WSO2 Integration Summit Nairobi 2019] Transforming Your Business Through APIs
[WSO2 Integration Summit Nairobi 2019] Transforming Your Business Through APIs[WSO2 Integration Summit Nairobi 2019] Transforming Your Business Through APIs
[WSO2 Integration Summit Nairobi 2019] Transforming Your Business Through APIs
 
DevOps Fest 2019. Володимир Кімак. Mobile CI/CD. Cross-platform app approach
DevOps Fest 2019. Володимир Кімак. Mobile CI/CD. Cross-platform app approachDevOps Fest 2019. Володимир Кімак. Mobile CI/CD. Cross-platform app approach
DevOps Fest 2019. Володимир Кімак. Mobile CI/CD. Cross-platform app approach
 
[WSO2 Integration Summit London 2019] Transforming Your Business through APIs
[WSO2 Integration Summit London 2019] Transforming Your Business through APIs[WSO2 Integration Summit London 2019] Transforming Your Business through APIs
[WSO2 Integration Summit London 2019] Transforming Your Business through APIs
 
From Manual To Automated Software Testing - A Webinar Presentation
From Manual To Automated Software Testing - A Webinar PresentationFrom Manual To Automated Software Testing - A Webinar Presentation
From Manual To Automated Software Testing - A Webinar Presentation
 
CWIN17 telford api management, practical implementation experience - david ru...
CWIN17 telford api management, practical implementation experience - david ru...CWIN17 telford api management, practical implementation experience - david ru...
CWIN17 telford api management, practical implementation experience - david ru...
 
[WSO2 Integration Summit Singapore 2019] Transforming Your Business through APIs
[WSO2 Integration Summit Singapore 2019] Transforming Your Business through APIs[WSO2 Integration Summit Singapore 2019] Transforming Your Business through APIs
[WSO2 Integration Summit Singapore 2019] Transforming Your Business through APIs
 
Powering an API-driven world | Yenlo - WSO2 Integration Summit 2019, San Fran...
Powering an API-driven world | Yenlo - WSO2 Integration Summit 2019, San Fran...Powering an API-driven world | Yenlo - WSO2 Integration Summit 2019, San Fran...
Powering an API-driven world | Yenlo - WSO2 Integration Summit 2019, San Fran...
 
[WSO2 Integration Summit San Francisco 2019] The API-driven World
[WSO2 Integration Summit San Francisco 2019] The API-driven World[WSO2 Integration Summit San Francisco 2019] The API-driven World
[WSO2 Integration Summit San Francisco 2019] The API-driven World
 
Advanced System Engineering in the Automotive Industry - Dr Alain Pfouga (pro...
Advanced System Engineering in the Automotive Industry - Dr Alain Pfouga (pro...Advanced System Engineering in the Automotive Industry - Dr Alain Pfouga (pro...
Advanced System Engineering in the Automotive Industry - Dr Alain Pfouga (pro...
 
WSO2 Integration Summit Johannesburg 2019 - Leveraging Enterprise Integration...
WSO2 Integration Summit Johannesburg 2019 - Leveraging Enterprise Integration...WSO2 Integration Summit Johannesburg 2019 - Leveraging Enterprise Integration...
WSO2 Integration Summit Johannesburg 2019 - Leveraging Enterprise Integration...
 
IRJET- Grab Cab
IRJET-  	  Grab CabIRJET-  	  Grab Cab
IRJET- Grab Cab
 
[Webinar] Transforming Telcos with Digital Process Automation (December 10, 2...
[Webinar] Transforming Telcos with Digital Process Automation (December 10, 2...[Webinar] Transforming Telcos with Digital Process Automation (December 10, 2...
[Webinar] Transforming Telcos with Digital Process Automation (December 10, 2...
 
CWIN17 telford application integration and ap is - lisa eckersley
CWIN17 telford   application integration and ap is - lisa eckersleyCWIN17 telford   application integration and ap is - lisa eckersley
CWIN17 telford application integration and ap is - lisa eckersley
 
IRJET- Agriculture Business to Business Website
IRJET- Agriculture Business to Business WebsiteIRJET- Agriculture Business to Business Website
IRJET- Agriculture Business to Business Website
 
MicroShed Testing
MicroShed TestingMicroShed Testing
MicroShed Testing
 
Tech Mahindra - OpenStack Summit 2016/Red Hat NFV Mini Summit
Tech Mahindra - OpenStack Summit 2016/Red Hat NFV Mini SummitTech Mahindra - OpenStack Summit 2016/Red Hat NFV Mini Summit
Tech Mahindra - OpenStack Summit 2016/Red Hat NFV Mini Summit
 
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
 
Automating Web UI Testing | Inflectra Webinars | (Part 1)
Automating Web UI Testing | Inflectra Webinars | (Part 1)Automating Web UI Testing | Inflectra Webinars | (Part 1)
Automating Web UI Testing | Inflectra Webinars | (Part 1)
 

Plus de TelecomValley

Plus de TelecomValley (20)

Rapport d'activité SoFAB 2022
Rapport d'activité SoFAB 2022Rapport d'activité SoFAB 2022
Rapport d'activité SoFAB 2022
 
Rapport d'activité 2022
Rapport d'activité 2022Rapport d'activité 2022
Rapport d'activité 2022
 
Rapport d'activité 2021 - Telecom Valley
Rapport d'activité 2021 - Telecom ValleyRapport d'activité 2021 - Telecom Valley
Rapport d'activité 2021 - Telecom Valley
 
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
 
Rapport d'activité SoFAB 2020
Rapport d'activité SoFAB 2020Rapport d'activité SoFAB 2020
Rapport d'activité SoFAB 2020
 
Rapport d'activité Telecom Valley 2020
Rapport d'activité Telecom Valley 2020Rapport d'activité Telecom Valley 2020
Rapport d'activité Telecom Valley 2020
 
Rapport d'activité SoFAB 2019
Rapport d'activité SoFAB 2019Rapport d'activité SoFAB 2019
Rapport d'activité SoFAB 2019
 
Rapport d'activité Telecom Valley 2019
Rapport d'activité Telecom Valley 2019Rapport d'activité Telecom Valley 2019
Rapport d'activité Telecom Valley 2019
 
Revue de presse Telecom Valley - Février 2020
Revue de presse Telecom Valley - Février 2020Revue de presse Telecom Valley - Février 2020
Revue de presse Telecom Valley - Février 2020
 
Revue de presse Telecom Valley - Janvier 2020
Revue de presse Telecom Valley - Janvier 2020Revue de presse Telecom Valley - Janvier 2020
Revue de presse Telecom Valley - Janvier 2020
 
Revue de presse Telecom Valley - Décembre 2019
Revue de presse Telecom Valley - Décembre 2019Revue de presse Telecom Valley - Décembre 2019
Revue de presse Telecom Valley - Décembre 2019
 
Revue de presse Telecom Valley - Novembre 2019
Revue de presse Telecom Valley - Novembre 2019Revue de presse Telecom Valley - Novembre 2019
Revue de presse Telecom Valley - Novembre 2019
 
Revue de presse Telecom Valley - Octobre 2019
Revue de presse Telecom Valley - Octobre 2019Revue de presse Telecom Valley - Octobre 2019
Revue de presse Telecom Valley - Octobre 2019
 
Revue de presse Telecom Valley - Septembre 2019
Revue de presse Telecom Valley - Septembre 2019Revue de presse Telecom Valley - Septembre 2019
Revue de presse Telecom Valley - Septembre 2019
 
Présentation Team France Export régionale - 29/11/19
Présentation Team France Export régionale - 29/11/19Présentation Team France Export régionale - 29/11/19
Présentation Team France Export régionale - 29/11/19
 
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...
 
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...
 
Et si mon test était la spécification de mon application ? - JACOB - iWE - So...
Et si mon test était la spécification de mon application ? - JACOB - iWE - So...Et si mon test était la spécification de mon application ? - JACOB - iWE - So...
Et si mon test était la spécification de mon application ? - JACOB - iWE - So...
 
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFEA la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE
 
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.12019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1
 

Dernier

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Dernier (20)

Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 

Tests d'intégration de micro-services : approche pilotée par les contrats - RENE - Atos - Soirée du Test Logiciel Sophia 2019

  • 1. 17-10-19 © Atos Tests d'intégration de micro-services : approche pilotée par les contrats
  • 2. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019 Who I am ? ▶ Sébastien René – Solution Architect – Atos Expert Community @sebastienrene
  • 3. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20193 Microservice architecture
  • 4. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20194 Microservice architecture
  • 5. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20195 A new application
  • 6. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20196 Have to deal with versions v1 v5 v2 v2 v5 v1
  • 7. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20197 API documentation is static Swagger UI OpenAPI spec Service2 OpenAPI spec Service1 OpenAPI spec
  • 8. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS20198 Application automated build, deployment, test and release Deployment Pipeline Code BinariesBuild & Package Provisioning Environments Functional Non functional (security, performance,..) Code Orchestrate B Register code A Register binaries DBuild / Assemble Verify complete C Verify code E Deploy / Release F Verify functional G Verify non-functional H Define Design TestRequest Business value Release Configure & Develop Development Production Quality control Test & Acceptance (on demand) I
  • 9. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019 ▶ Advantages: – Simulates production. – Tests real communication between services. ▶ Disadvantages : – To test one microservice, we have to deploy all microservices, databases, … – The environment where the tests run is locked for a single suite of tests (nobody else would be able to run the tests in the meantime). – They take a long time to run. – The feedback comes very late in the process. – They are extremely hard to debug. 9 End to end platform tests
  • 10. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019 ▶ Advantages: – They provide very fast feedback. – They have no infrastructure requirements. ▶ Disadvantages: – The implementor of the service creates stubs that might have nothing to do with reality. – You can go to production with passing tests and failing production. 10 Mock other services
  • 11. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201911 Contract testing Consumer testing Provider verification
  • 12. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019 ▶ Test the interactions between applications ▶ Make IT test easier to implement / automate ▶ Acceptance test-driven developement ▶ Publish changes in contracts that are immediately visible on both sides 12 Why I should use contracts ? Enable ▶ Simulate all business features ▶ Create test scenario ▶ Performance and load testing Not suitable for
  • 13. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019 ▶ Provider Contracts – the producer of the API defines the contracts and publishes it – for producers that cannot directly collaborate with their consumers ▶ Consumer-Driven Contracts – the consumers describe how they use the API – for producer and consumer teams working for the same organizations 13 Who creates the contract ?
  • 14. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201914 The tools
  • 15. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS2019 ▶ Spring Cloud Contracts – Tests and stubs generator • REST API • Messaging – Contracts and stub storage • Nexus / Artifactory • Git • Pact – Stub runner (WireMock) 15 The tools
  • 16. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201916 What is a Contract?
  • 17. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201917 Maven Workflow Contract verifier Contract stub runner Contract Maven Repo
  • 18. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201918 Git Workflow Contract verifier Contract stub runner Contracts Git repo Merge request Take over MR
  • 19. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201919 Demo
  • 20. | 17-10-2019 | 3ème édition Soirée du Test Logiciel Sophia #STLS201920 Merci aux Sponsors !