SlideShare a Scribd company logo
1 of 22
Snapshot Regression Test
ースナップショットを用いたリグレッション自動テスト
2020/6/30
Satoru Awasawa
Travel Agile Dept. QA Section
Rakuten, Inc.
2
Agenda
Introduction
自己紹介
Rakuten Travel 使ってみてください!
テスト自動化
自動テストの問題って?
じゃーこうすればどうかな?
アーキテクチャー紹介
デモ
3
Satoru Awasawa
Java Developer + System Architect
7 years in JAPAN AIRLINE system company
5 years in Rakuten Travel ‘Backend API’
Tech Manager
2 years in Rakuten Travel ‘Backend API’
QA Senior Manager
1 year before coming to QA!
As of now managing both manual testing and automation testing
My hobby
Splatoon2(Nintendo-switch)
Golf (Not virtual but real!)
4
What’s ‘Rakuten Travel’?
https://travel.rakuten.co.jp/ (2020/3/22)
5
What’s ‘Rakuten Travel’?
Domesti
c Hotels
Overseas
hotels
JAL DP
ANA DP
Overseas
DP
AIR
Bus
Rent-a-
car
https://travel.rakuten.com/ (2020/6/18)
https://travel.rakuten.co.jp/ (SP)
(2020/6/18)
6
What’s ‘Rakuten Travel’?
https://www.mlit.go.jp/report/press/content/001339698.pdf (国土交通省HPより) (2020/6/18)
©️いらすとや
7
What’s the problem of automation test?
SCENARIO EXPECTED
VALUE
TEST DATA
8
©️いらすとや
9
Effort Comparison for Test Execution (1000 Test Cases)
0
83
833
1666
500 525
750
1000
0
200
400
600
800
1000
1200
1400
1600
1800
Initial 1time 10times 20times
Man*Day(人日)
Manual Test
Automation Test
10
with Getting the snapshot
New automation test
framework “SRT”
https://publicdomainq.net/camera-taking-picture-0019733/
11
New Automation Testing ‘SRT’
Manual Tester
Data
Req•
Res•
API
Req•
Res•
APIHTTP
©️いらすとや
12
New Automation Testing ‘SRT’
Manual Tester
Data
Req•
Res•
API
Req•
Res•
APIHTTP
Data
Req•
Res•
Req•
Res•
HTTP
Snapshot
©️いらすとや
13
New Automation Testing ‘SRT’
Manual Tester
Data
Req•
Res•
API
• Req
• Res
APIHTTP
Data
Req•
Res•
Req•
Res•
HTTP
Snapshot
Get the RQ+RS set snapshot with
traceID and stacked it as regression
test cases
At the same time, Get the Data set
snapshot.
©️いらすとや
14
New Automation Testing ‘SRT’
Developer
Data
Req•
Res•
API
Req•
Res•
APIHTTP
Data
Req•
Res•
Req•
Res•
HTTP
Snapshot
©️いらすとや
15
New Automation Testing ‘SRT’
Developer
Data
Req•
Res•
API
• Req
• Res
APIHTTP Data
Req•
Res•
Req•
Res•
HTTP
Snapshot©️いらすとや
16
New Automation Testing ‘SRT’
Developer
Data
Req•
Res•
API
Req•
Res•
APIHTTP Data
Req•
Res•
Req•
Res•
HTTP
Snapshot©️いらすとや
17
SRT Architecture (TestCase Creation)
Manual Tester
Capture
Start
Take Data
Snapshot
Mongo Oracle
Mongo Oracle
Log Analyzer
Preparation
Execution <API RQ/RS Data>
<Test Id> <Transaction Id>
Test DB
<Test Specification>
TestID
RQ+RS
DataSet
App Client
STG
Proxy
©️いらすとや
18
SRT Architecture (Test Execution)
Developer
Restore
Data
Snapshot
Mongo Oracle
Commit
Test DB
<Test Specification>
TestID
RQ+RS
DataSet
QA
Test
Executer
Build/Deploy
CICD©️いらすとや
19
Demo
Recordingthe scenario which is tested by manual tester
Execution with updated data
Execution with wrong code
20
©️いらすとや
21
Effort Comparison for Test Execution (1000 Test Cases)
0
83
833
1666
500 525
750
1000
83 84 93 103
0
200
400
600
800
1000
1200
1400
1600
1800
Initial 1time 10times 20times
Man*Day(人日)
Manual Test
Automation Test
New AT 'SRT'
Snapshot Regression Testースナップショットを用いたリグレッション自動テスト

More Related Content

Similar to Snapshot Regression Testースナップショットを用いたリグレッション自動テスト

Visual Testing: The Missing Piece of the Puzzle -- presentation by Gil Tayar
Visual Testing: The Missing Piece of the Puzzle -- presentation by Gil TayarVisual Testing: The Missing Piece of the Puzzle -- presentation by Gil Tayar
Visual Testing: The Missing Piece of the Puzzle -- presentation by Gil Tayar
Applitools
 

Similar to Snapshot Regression Testースナップショットを用いたリグレッション自動テスト (20)

Selenium to Appium - how hard can it be (SauceCon).
Selenium to Appium - how hard can it be (SauceCon).Selenium to Appium - how hard can it be (SauceCon).
Selenium to Appium - how hard can it be (SauceCon).
 
Visual Testing: The Missing Piece of the Puzzle -- presentation by Gil Tayar
Visual Testing: The Missing Piece of the Puzzle -- presentation by Gil TayarVisual Testing: The Missing Piece of the Puzzle -- presentation by Gil Tayar
Visual Testing: The Missing Piece of the Puzzle -- presentation by Gil Tayar
 
From Selenium to Appium: How Hard Can It Be? by Sergio Neves Barros
From Selenium to Appium: How Hard Can It Be? by Sergio Neves BarrosFrom Selenium to Appium: How Hard Can It Be? by Sergio Neves Barros
From Selenium to Appium: How Hard Can It Be? by Sergio Neves Barros
 
Designing Autonomous Car using OpenCV and Machine Learning
Designing Autonomous Car using OpenCV and Machine LearningDesigning Autonomous Car using OpenCV and Machine Learning
Designing Autonomous Car using OpenCV and Machine Learning
 
Test automationatrakutentravel
Test automationatrakutentravelTest automationatrakutentravel
Test automationatrakutentravel
 
製作 Unity Plugin for Android
製作 Unity Plugin for Android製作 Unity Plugin for Android
製作 Unity Plugin for Android
 
Bootiful Development with Spring Boot and Angular - RWX 2018
Bootiful Development with Spring Boot and Angular - RWX 2018Bootiful Development with Spring Boot and Angular - RWX 2018
Bootiful Development with Spring Boot and Angular - RWX 2018
 
Appium workshop technopark trivandrum
Appium workshop technopark trivandrumAppium workshop technopark trivandrum
Appium workshop technopark trivandrum
 
[Azure Council Experts (ACE) 第37回定例会] Microsoft Azureアップデート情報 (2019/08/22-201...
[Azure Council Experts (ACE) 第37回定例会] Microsoft Azureアップデート情報 (2019/08/22-201...[Azure Council Experts (ACE) 第37回定例会] Microsoft Azureアップデート情報 (2019/08/22-201...
[Azure Council Experts (ACE) 第37回定例会] Microsoft Azureアップデート情報 (2019/08/22-201...
 
20200613_勝手にLT_オンラインのSAP関連情報
20200613_勝手にLT_オンラインのSAP関連情報20200613_勝手にLT_オンラインのSAP関連情報
20200613_勝手にLT_オンラインのSAP関連情報
 
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
 
Sharada_Resume
Sharada_ResumeSharada_Resume
Sharada_Resume
 
IRJET - Obstacle Detection using a Stereo Vision of a Car
IRJET -  	  Obstacle Detection using a Stereo Vision of a CarIRJET -  	  Obstacle Detection using a Stereo Vision of a Car
IRJET - Obstacle Detection using a Stereo Vision of a Car
 
Microservices for the Masses with Spring Boot, JHipster, and OAuth - Switzerl...
Microservices for the Masses with Spring Boot, JHipster, and OAuth - Switzerl...Microservices for the Masses with Spring Boot, JHipster, and OAuth - Switzerl...
Microservices for the Masses with Spring Boot, JHipster, and OAuth - Switzerl...
 
Driver Drowsiness Detection System using Google ML Kit Face Detection API and...
Driver Drowsiness Detection System using Google ML Kit Face Detection API and...Driver Drowsiness Detection System using Google ML Kit Face Detection API and...
Driver Drowsiness Detection System using Google ML Kit Face Detection API and...
 
Resume subbu addanki
Resume subbu addankiResume subbu addanki
Resume subbu addanki
 
IRJET- Driver Monitoring System and Smart Vehicle
IRJET- Driver Monitoring System and Smart VehicleIRJET- Driver Monitoring System and Smart Vehicle
IRJET- Driver Monitoring System and Smart Vehicle
 
[Rakuten TechConf2014] [B-6] Rakuten Travel Architecture and Development Process
[Rakuten TechConf2014] [B-6] Rakuten Travel Architecture and Development Process[Rakuten TechConf2014] [B-6] Rakuten Travel Architecture and Development Process
[Rakuten TechConf2014] [B-6] Rakuten Travel Architecture and Development Process
 
Motion capture for Animation
Motion capture for AnimationMotion capture for Animation
Motion capture for Animation
 
GDD2010 appengine ja night + Slim3
GDD2010 appengine ja night + Slim3GDD2010 appengine ja night + Slim3
GDD2010 appengine ja night + Slim3
 

More from Rakuten Group, Inc.

More from Rakuten Group, Inc. (20)

コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
 
楽天における安全な秘匿情報管理への道のり
楽天における安全な秘匿情報管理への道のり楽天における安全な秘匿情報管理への道のり
楽天における安全な秘匿情報管理への道のり
 
What Makes Software Green?
What Makes Software Green?What Makes Software Green?
What Makes Software Green?
 
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
 
DataSkillCultureを浸透させる楽天の取り組み
DataSkillCultureを浸透させる楽天の取り組みDataSkillCultureを浸透させる楽天の取り組み
DataSkillCultureを浸透させる楽天の取り組み
 
大規模なリアルタイム監視の導入と展開
大規模なリアルタイム監視の導入と展開大規模なリアルタイム監視の導入と展開
大規模なリアルタイム監視の導入と展開
 
楽天における大規模データベースの運用
楽天における大規模データベースの運用楽天における大規模データベースの運用
楽天における大規模データベースの運用
 
楽天サービスを支えるネットワークインフラストラクチャー
楽天サービスを支えるネットワークインフラストラクチャー楽天サービスを支えるネットワークインフラストラクチャー
楽天サービスを支えるネットワークインフラストラクチャー
 
楽天の規模とクラウドプラットフォーム統括部の役割
楽天の規模とクラウドプラットフォーム統括部の役割楽天の規模とクラウドプラットフォーム統括部の役割
楽天の規模とクラウドプラットフォーム統括部の役割
 
Rakuten Services and Infrastructure Team.pdf
Rakuten Services and Infrastructure Team.pdfRakuten Services and Infrastructure Team.pdf
Rakuten Services and Infrastructure Team.pdf
 
The Data Platform Administration Handling the 100 PB.pdf
The Data Platform Administration Handling the 100 PB.pdfThe Data Platform Administration Handling the 100 PB.pdf
The Data Platform Administration Handling the 100 PB.pdf
 
Supporting Internal Customers as Technical Account Managers.pdf
Supporting Internal Customers as Technical Account Managers.pdfSupporting Internal Customers as Technical Account Managers.pdf
Supporting Internal Customers as Technical Account Managers.pdf
 
Making Cloud Native CI_CD Services.pdf
Making Cloud Native CI_CD Services.pdfMaking Cloud Native CI_CD Services.pdf
Making Cloud Native CI_CD Services.pdf
 
How We Defined Our Own Cloud.pdf
How We Defined Our Own Cloud.pdfHow We Defined Our Own Cloud.pdf
How We Defined Our Own Cloud.pdf
 
Travel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech infoTravel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info
 
Travel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech infoTravel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info
 
OWASPTop10_Introduction
OWASPTop10_IntroductionOWASPTop10_Introduction
OWASPTop10_Introduction
 
Introduction of GORA API Group technology
Introduction of GORA API Group technologyIntroduction of GORA API Group technology
Introduction of GORA API Group technology
 
100PBを越えるデータプラットフォームの実情
100PBを越えるデータプラットフォームの実情100PBを越えるデータプラットフォームの実情
100PBを越えるデータプラットフォームの実情
 
社内エンジニアを支えるテクニカルアカウントマネージャー
社内エンジニアを支えるテクニカルアカウントマネージャー社内エンジニアを支えるテクニカルアカウントマネージャー
社内エンジニアを支えるテクニカルアカウントマネージャー
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Snapshot Regression Testースナップショットを用いたリグレッション自動テスト