SlideShare a Scribd company logo
Eurostar Innovation week 2
Mocking 3rd
Party Services
Date 3nd
September 2015
About Zombies.. Continued from
yesterday’s Circuit Breakers
• If Eurostar customers may behave like
Zombies when EIF is down(1 hour/1 day per
week)..
then what about Eurostar Testers who
access Eurostar sites (24/7) …
This is what it happens….
News from Eurostar Bulletin
Current System
If 3rd
Party services are unstable /
unavailable…
• Delays testing progress
 Tests fail – need to be re-tested either
 Manually
 Automated (False positives given)
 Gives inaccurate results of front end code
• Can’t emulate real time scenarios
 Unable to test production issues
 Error conditions cannot be tested (e.g Payment, GDS)
• 3rd
party services response is slow (performance)
Introduction of Mock Envs
Tools Evaluated
– Wiremock
– Apiary
– Mockable.IO
– Soap UI
– Charles
Breakdown of tools
Wiremock
– How it works
• Java application is created at backend
• Deployed as normal web application and have json files fulfilling requests
• End points diverted to mock services
– Pros
• Emulates any test condition
• Handles multiple requests on single URL (POST requests)
• Full control over responses
– Cons
• Complex programming
• Maintenance overheads
Breakdown of tools cont…
Soap UI
– How it works
• Responses as per preconfigured JSON files
• Uses groovy scripts to programme(light weight)
– Pros
• Simple to mock environment
• Handles multiple requests (GET requests)
• Usable for all static responses & happy paths
• No maintenance overhead
– Cons
• Running in Jenkins server
• Running from command line like a real server is not easy
Breakdown of tools cont…
Apiary & Mockable.IO
– How it works
• Free online tool
• Blueprint syntax (Apiary only)
• Responses as per preconfigured JSON files
– Pros
• Simple to mock environment
• Handles multiple requests (GET requests)
• Usable for all static responses & happy paths
• No maintenance overhead
• Full documentation available (Apiary only)
– Cons
• Unable to manipulate responses
• Payload cannot be validated
• Negative conditions not testable
Summary
Challenges of mocking services
•Time effective to build
•3rd
party maintenance / changes communications
•Maintenance of mock services in line with 3rd
party
service upgrades and changes
Summary
Benefits of mocking services
•Independent frontend
testing
•Rapid test completion
•Faster feedback
•More combinations testable
•Isolated testing
•Error scenario simulation
•More controlled services
•Mock services support TDD
•Supports POC on all
platforms
•Faster = Saved effort =
Saved Time = Saved £££

More Related Content

Viewers also liked

Deck 11
Deck 11Deck 11
Deck 11
raphael0202
 
PowerShell-1
PowerShell-1PowerShell-1
PowerShell-1
Saravanan G
 
Ciencia y tecnología
Ciencia y tecnologíaCiencia y tecnología
Ciencia y tecnología
Samuel David Zepeda
 
Module 09 demos and retrospectives gla
Module 09   demos and retrospectives glaModule 09   demos and retrospectives gla
Module 09 demos and retrospectives gla
Sriram Angajala
 
Cell project 1 : Cell studying
Cell project 1 : Cell studyingCell project 1 : Cell studying
Cell project 1 : Cell studying
IPST Thailand
 
As tartarugas
As tartarugasAs tartarugas
As tartarugas
dinamizanormaliza
 
Cómo construir un banco de baterías de autos para apagones
Cómo construir un banco de baterías de autos para apagonesCómo construir un banco de baterías de autos para apagones
Cómo construir un banco de baterías de autos para apagones
Enerjet
 
Proceso de fabricacion del papel
Proceso de fabricacion del papelProceso de fabricacion del papel
Proceso de fabricacion del papel
Jose Alfredo Mendoza Ipanaque
 
El desarrollo evolutivo
El desarrollo evolutivoEl desarrollo evolutivo
El desarrollo evolutivo
Maria Trinidad Hernandez Moya
 

Viewers also liked (9)

Deck 11
Deck 11Deck 11
Deck 11
 
PowerShell-1
PowerShell-1PowerShell-1
PowerShell-1
 
Ciencia y tecnología
Ciencia y tecnologíaCiencia y tecnología
Ciencia y tecnología
 
Module 09 demos and retrospectives gla
Module 09   demos and retrospectives glaModule 09   demos and retrospectives gla
Module 09 demos and retrospectives gla
 
Cell project 1 : Cell studying
Cell project 1 : Cell studyingCell project 1 : Cell studying
Cell project 1 : Cell studying
 
As tartarugas
As tartarugasAs tartarugas
As tartarugas
 
Cómo construir un banco de baterías de autos para apagones
Cómo construir un banco de baterías de autos para apagonesCómo construir un banco de baterías de autos para apagones
Cómo construir un banco de baterías de autos para apagones
 
Proceso de fabricacion del papel
Proceso de fabricacion del papelProceso de fabricacion del papel
Proceso de fabricacion del papel
 
El desarrollo evolutivo
El desarrollo evolutivoEl desarrollo evolutivo
El desarrollo evolutivo
 

Similar to Eurostar innovation week 2 (3) (1)

Mobile Testing
Mobile TestingMobile Testing
Mobile Testing
Sriram Angajala
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
Mihai-Cristian Fratila
 
Testing - How Vital and How Easy to use
Testing - How Vital and How Easy to useTesting - How Vital and How Easy to use
Testing - How Vital and How Easy to use
Uma Ghotikar
 
mobile development with androiddfdgdfhdgfdhf.pptx
mobile development with androiddfdgdfhdgfdhf.pptxmobile development with androiddfdgdfhdgfdhf.pptx
mobile development with androiddfdgdfhdgfdhf.pptx
NgLQun
 
Testing microservices
Testing microservicesTesting microservices
Testing microservices
Konstantinos Sidiropoulos
 
Reliable mobile test automation
Reliable mobile test automationReliable mobile test automation
Reliable mobile test automation
Vishal Banthia
 
Microservices: The Best Practices
Microservices: The Best PracticesMicroservices: The Best Practices
Microservices: The Best Practices
Pavel Mička
 
Making a Mock by Kelsey Shannahan
Making a Mock by Kelsey ShannahanMaking a Mock by Kelsey Shannahan
Making a Mock by Kelsey Shannahan
QA or the Highway
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh Dahal
QA or the Highway
 
Winning the battle against Automated testing
Winning the battle against Automated testingWinning the battle against Automated testing
Winning the battle against Automated testing
Elena Laskavaia
 
Mobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar GargMobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar Garg
oGuild .
 
Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Applitools
 
Konstantinos Sidiropoulos - Testing microservices a real example
Konstantinos Sidiropoulos - Testing microservices a real exampleKonstantinos Sidiropoulos - Testing microservices a real example
Konstantinos Sidiropoulos - Testing microservices a real example
PetrosPlakogiannis
 
WE-06-Testing.ppt
WE-06-Testing.pptWE-06-Testing.ppt
WE-06-Testing.ppt
javed281701
 
What Do We Automate First
What Do We Automate FirstWhat Do We Automate First
What Do We Automate First
rrice2000
 
Android CD
Android CDAndroid CD
Android CD
Eugen Martynov
 
Testing for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration MondayTesting for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration Monday
BizTalk360
 
Automated Exploratory Testing
Automated Exploratory TestingAutomated Exploratory Testing
Automated Exploratory Testing
Justin Ison
 
Meetup 24/3/2016 - Node.js User Group Belgium
Meetup 24/3/2016 - Node.js User Group BelgiumMeetup 24/3/2016 - Node.js User Group Belgium
Meetup 24/3/2016 - Node.js User Group Belgium
Digipolis Antwerpen
 
AngularJS One Day Workshop
AngularJS One Day WorkshopAngularJS One Day Workshop
AngularJS One Day Workshop
Shyam Seshadri
 

Similar to Eurostar innovation week 2 (3) (1) (20)

Mobile Testing
Mobile TestingMobile Testing
Mobile Testing
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 
Testing - How Vital and How Easy to use
Testing - How Vital and How Easy to useTesting - How Vital and How Easy to use
Testing - How Vital and How Easy to use
 
mobile development with androiddfdgdfhdgfdhf.pptx
mobile development with androiddfdgdfhdgfdhf.pptxmobile development with androiddfdgdfhdgfdhf.pptx
mobile development with androiddfdgdfhdgfdhf.pptx
 
Testing microservices
Testing microservicesTesting microservices
Testing microservices
 
Reliable mobile test automation
Reliable mobile test automationReliable mobile test automation
Reliable mobile test automation
 
Microservices: The Best Practices
Microservices: The Best PracticesMicroservices: The Best Practices
Microservices: The Best Practices
 
Making a Mock by Kelsey Shannahan
Making a Mock by Kelsey ShannahanMaking a Mock by Kelsey Shannahan
Making a Mock by Kelsey Shannahan
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh Dahal
 
Winning the battle against Automated testing
Winning the battle against Automated testingWinning the battle against Automated testing
Winning the battle against Automated testing
 
Mobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar GargMobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar Garg
 
Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...
 
Konstantinos Sidiropoulos - Testing microservices a real example
Konstantinos Sidiropoulos - Testing microservices a real exampleKonstantinos Sidiropoulos - Testing microservices a real example
Konstantinos Sidiropoulos - Testing microservices a real example
 
WE-06-Testing.ppt
WE-06-Testing.pptWE-06-Testing.ppt
WE-06-Testing.ppt
 
What Do We Automate First
What Do We Automate FirstWhat Do We Automate First
What Do We Automate First
 
Android CD
Android CDAndroid CD
Android CD
 
Testing for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration MondayTesting for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration Monday
 
Automated Exploratory Testing
Automated Exploratory TestingAutomated Exploratory Testing
Automated Exploratory Testing
 
Meetup 24/3/2016 - Node.js User Group Belgium
Meetup 24/3/2016 - Node.js User Group BelgiumMeetup 24/3/2016 - Node.js User Group Belgium
Meetup 24/3/2016 - Node.js User Group Belgium
 
AngularJS One Day Workshop
AngularJS One Day WorkshopAngularJS One Day Workshop
AngularJS One Day Workshop
 

More from Sriram Angajala

Banana apps portfolio
Banana apps portfolioBanana apps portfolio
Banana apps portfolio
Sriram Angajala
 
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
LONDON SDET MEETUP - Difference between Selenium and Cypress presentationLONDON SDET MEETUP - Difference between Selenium and Cypress presentation
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
Sriram Angajala
 
Software devops engineer in test (SDET)
Software devops engineer in test (SDET)Software devops engineer in test (SDET)
Software devops engineer in test (SDET)
Sriram Angajala
 
Nightwatch JS for End to End Tests
Nightwatch JS for End to End TestsNightwatch JS for End to End Tests
Nightwatch JS for End to End Tests
Sriram Angajala
 
London SDET Meetup main presentation - How SDET can transform your organisati...
London SDET Meetup main presentation - How SDET can transform your organisati...London SDET Meetup main presentation - How SDET can transform your organisati...
London SDET Meetup main presentation - How SDET can transform your organisati...
Sriram Angajala
 
Bdd development flow process from end to end
Bdd development flow process from end to endBdd development flow process from end to end
Bdd development flow process from end to end
Sriram Angajala
 
What is an Automation Framework ?
What is an Automation Framework ?�What is an Automation Framework ?�
What is an Automation Framework ?
Sriram Angajala
 
Emerging5.0
Emerging5.0Emerging5.0
Emerging5.0
Sriram Angajala
 
Emerging4.0
Emerging4.0Emerging4.0
Emerging4.0
Sriram Angajala
 
Citymovies
CitymoviesCitymovies
Citymovies
Sriram Angajala
 
Automated visual-regression-testing
Automated visual-regression-testingAutomated visual-regression-testing
Automated visual-regression-testing
Sriram Angajala
 
Automated visual-regression-testing (1)
Automated visual-regression-testing (1)Automated visual-regression-testing (1)
Automated visual-regression-testing (1)
Sriram Angajala
 
Amma Web Site launch
Amma Web Site launchAmma Web Site launch
Amma Web Site launch
Sriram Angajala
 
Ci selenium
Ci seleniumCi selenium
Ci selenium
Sriram Angajala
 
Selenium ide material (2)
Selenium ide material (2)Selenium ide material (2)
Selenium ide material (2)
Sriram Angajala
 
Selenium ide material (1)
Selenium ide material (1)Selenium ide material (1)
Selenium ide material (1)
Sriram Angajala
 
Gcs day1
Gcs day1Gcs day1
Gcs day1
Sriram Angajala
 
Insoft training day_1
Insoft training day_1Insoft training day_1
Insoft training day_1
Sriram Angajala
 
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Sriram Angajala
 

More from Sriram Angajala (19)

Banana apps portfolio
Banana apps portfolioBanana apps portfolio
Banana apps portfolio
 
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
LONDON SDET MEETUP - Difference between Selenium and Cypress presentationLONDON SDET MEETUP - Difference between Selenium and Cypress presentation
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
 
Software devops engineer in test (SDET)
Software devops engineer in test (SDET)Software devops engineer in test (SDET)
Software devops engineer in test (SDET)
 
Nightwatch JS for End to End Tests
Nightwatch JS for End to End TestsNightwatch JS for End to End Tests
Nightwatch JS for End to End Tests
 
London SDET Meetup main presentation - How SDET can transform your organisati...
London SDET Meetup main presentation - How SDET can transform your organisati...London SDET Meetup main presentation - How SDET can transform your organisati...
London SDET Meetup main presentation - How SDET can transform your organisati...
 
Bdd development flow process from end to end
Bdd development flow process from end to endBdd development flow process from end to end
Bdd development flow process from end to end
 
What is an Automation Framework ?
What is an Automation Framework ?�What is an Automation Framework ?�
What is an Automation Framework ?
 
Emerging5.0
Emerging5.0Emerging5.0
Emerging5.0
 
Emerging4.0
Emerging4.0Emerging4.0
Emerging4.0
 
Citymovies
CitymoviesCitymovies
Citymovies
 
Automated visual-regression-testing
Automated visual-regression-testingAutomated visual-regression-testing
Automated visual-regression-testing
 
Automated visual-regression-testing (1)
Automated visual-regression-testing (1)Automated visual-regression-testing (1)
Automated visual-regression-testing (1)
 
Amma Web Site launch
Amma Web Site launchAmma Web Site launch
Amma Web Site launch
 
Ci selenium
Ci seleniumCi selenium
Ci selenium
 
Selenium ide material (2)
Selenium ide material (2)Selenium ide material (2)
Selenium ide material (2)
 
Selenium ide material (1)
Selenium ide material (1)Selenium ide material (1)
Selenium ide material (1)
 
Gcs day1
Gcs day1Gcs day1
Gcs day1
 
Insoft training day_1
Insoft training day_1Insoft training day_1
Insoft training day_1
 
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
 

Recently uploaded

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 

Recently uploaded (20)

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 

Eurostar innovation week 2 (3) (1)

  • 1. Eurostar Innovation week 2 Mocking 3rd Party Services Date 3nd September 2015
  • 2. About Zombies.. Continued from yesterday’s Circuit Breakers • If Eurostar customers may behave like Zombies when EIF is down(1 hour/1 day per week).. then what about Eurostar Testers who access Eurostar sites (24/7) …
  • 3. This is what it happens…. News from Eurostar Bulletin
  • 5. If 3rd Party services are unstable / unavailable… • Delays testing progress  Tests fail – need to be re-tested either  Manually  Automated (False positives given)  Gives inaccurate results of front end code • Can’t emulate real time scenarios  Unable to test production issues  Error conditions cannot be tested (e.g Payment, GDS) • 3rd party services response is slow (performance)
  • 7. Tools Evaluated – Wiremock – Apiary – Mockable.IO – Soap UI – Charles
  • 8. Breakdown of tools Wiremock – How it works • Java application is created at backend • Deployed as normal web application and have json files fulfilling requests • End points diverted to mock services – Pros • Emulates any test condition • Handles multiple requests on single URL (POST requests) • Full control over responses – Cons • Complex programming • Maintenance overheads
  • 9. Breakdown of tools cont… Soap UI – How it works • Responses as per preconfigured JSON files • Uses groovy scripts to programme(light weight) – Pros • Simple to mock environment • Handles multiple requests (GET requests) • Usable for all static responses & happy paths • No maintenance overhead – Cons • Running in Jenkins server • Running from command line like a real server is not easy
  • 10. Breakdown of tools cont… Apiary & Mockable.IO – How it works • Free online tool • Blueprint syntax (Apiary only) • Responses as per preconfigured JSON files – Pros • Simple to mock environment • Handles multiple requests (GET requests) • Usable for all static responses & happy paths • No maintenance overhead • Full documentation available (Apiary only) – Cons • Unable to manipulate responses • Payload cannot be validated • Negative conditions not testable
  • 11. Summary Challenges of mocking services •Time effective to build •3rd party maintenance / changes communications •Maintenance of mock services in line with 3rd party service upgrades and changes
  • 12. Summary Benefits of mocking services •Independent frontend testing •Rapid test completion •Faster feedback •More combinations testable •Isolated testing •Error scenario simulation •More controlled services •Mock services support TDD •Supports POC on all platforms •Faster = Saved effort = Saved Time = Saved £££