SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Test Data Management
The Underestimated Pain
Wolfgang Platz, Founder & CPO
© 2015 Tricentis GmbH
All rights reserved.
According to our customer surveys and confirmed by industry statistics, manual testers spend 50 - 75% of
their effort on finding and preparing appropriate test data. Considering the fact that manual testing still
accounts for 80+% of test operation efforts, up to half (!) of the overall testing effort goes into dealing with
test data.
In addition, test automation requires having test data under full control: only with test data perfectly fitting
the test description can automated test cases obtain stability. This is less an issue for simple test scenarios
that create business objects (such as business partners, accounts). But it becomes a huge challenge as
soon as objects need to have a certain state or history in order to be an appropriate testing basis (e.g.:
accounts with a certain balance which require a series of previous transactions).
Despite the critical role of test data management, organizations usually do not pay an appropriate amount of
attention to it from the beginning. It’s an underestimated pain.
50–75%of manual testing effort is used to find and prepare
appropriate test data
Graphic: Finding and preparing test data generates huge effort for manual
testing + constrains test automation rates.
Using production data (live data) for test purposes seems to be a simple solution and is the natural
approach to fulfill the needs of testing. Customers expect from production data:
• Production data contains all test-relevant combinations for testing.
• Production data is already there!
That’s a huge advantage! No need to create test data – just use them!
However, using production data for testing has some severe down-sides that massively constrain its
usability, cause risk, and create massive efforts.
Why people love production data
$3.5 maverage cost of a data breach to a company2.
Why production data is insufficient, expensive and even dangerous
Let’s have a closer look at production data and critique the previous statements. We will, however, find out that
they are only partially true:
• Production data contains all relevant combinations for regression testing.
While production data contains a great variety of data for regression testing, they are often not sufficient for
new functionality. Since this functionality has not been productive as of yet, it is likely to miss test data for its
test.
• Production data is already there! – but is grows old.
Production data is usually provided as a snap shot. The problem with this: the data grows old! A test-person
of age 17 may have turned 18 – and not be suitable for your particular tests any more. You would need to
find a new person – or create one.
Operating test environments with production data is expensive: since the data is of considerable size, operating
them over time consumes CPU which may cause substantial cost, especially for HOST systems (MIPS
consumption).
Even more, the use of production data for test is becoming a no-go in enterprise companies, since …
• Using production data is a security issue.
Test data may be exposed to such unauthorized sources like in-house testing staff, consultants, partners,
and even offshore personnel. Compliance regulatory has become very strict about the use of live data for
test purposes, requiring anonymization (masking).
For complex system landscapes, masking is a huge challenge that can hardly be accomplished or not solved
at all.
1… The Insecurity of Test Data: The Unseen Crisis, Ponemon Institute
69%of IT professionals use production data for testing
their apps1
2… 2014 Cost of Data Breach Study: Global Analysis, sponsored by IBM
“A huge benefit of our switch to synthetic test data was the
reduction of data volumes. All of a sudden our operating cost of
the test environment – which was primarily driven by MIPS
consumption – went down by 95%.”
QA director, major retail bank
How to set-up a sufficient test data management
Tricentis has come up with a list of 5 steps to shift test data management to the level you require:
Scope out the area of active test data management1
2
3
4
Automate provisioning of synthetic test data
Connect multi-step scenarios with a logical time axis
Complement remaining leaks through extracts of production data
Obtain “stateful” test data management5
Using synthetic test data is a challenge too.
Synthetic data can be used to test both existing and new functionality – and it does not face any privacy issues,
making it an attractive alternative.
Synthetic test data also contains thousands of records instead of millions, thus reducing your operating costs
significantly.
On the other hand, the provisioning of synthetic test data is an effort that requires full automation. And synthetic
test data needs to cope with the volatility of date/time. It requires a detailed provisioning plan to obtain the desired
test objects and states.
Scope out the area of active test data
management
The first step is to find out which data objects we need to be able to create automatically whenever needed –
those objects will to be under active control of test data management:
• Definition data: This data (e.g.: product definitions) does not change substantially from release to
release, nor is it consumed by the test per se (a product does not vanish when it is used as the
definition of an account). The number of records is limited. We do not need to actively manage them.
• (Operational) Master Data: This data (partners, contracts, accounts) is subject to ongoing change.
Comprehensive tests will require thousands of records that we need to automatically generate and
actively manage.
• Transaction Data: The most volatile data comes in high volumes and will affect operational master data.
We need to automatically create transactions and track the changes they cause.
With Tricentis Tosca Testsuite™, customers design test case data simultaneously with the required test data
basis.
E.g.: To create a certain loan account, the app must already have registered a business partner with a good
rating (the future account holder). When testers design the test data for the loan account, they will also
design the specific business partner that must be provided prior to the test.
Graphic: Out of this simplified bank example, all operational master data and transaction
data will be subject to an active test data management.
Graphic: Test Data Design and Test Data Management in Tosca Testsuite™, process
overview
Automate provisioning of synthetic test data
Data objects under active management require automated provisioning – otherwise you will end up
with repeated pizza-party-style manual data generation events (your SMEs will refuse to do that) and
never achieve sophisticated data object states (since those will require a series of steps to be
performed).
In principle, all possible interfaces to the app’s data layer are a feasible option for the automated
generation, however, we recommend to use the app’s APIs for this purpose:
• UI based test data generation is time-consuming (slow) and lacks stability.
• Direct SQL insertion into the app’s persistency layer is certainly fast, but will have to rebuild
parts of the app’s business logic in order to achieve consistent data – leading to an SQL based
development project.
• Using an API interface is the best option, since it is both fast but already benefits from the app’s
logic to interact with the persistency layer.
Bottom line: whenever the required data can be created/administered through an API, use it. Tosca
Testsuite™ is an ideal solution, since its Model Based Test Automation supports all three options.
Graphic: Use API access for the automated generation/ administration of synthetic
test data whenever possible.
Tip
SMEs of your business units might want to assign “their” names to business
partners. It will be an easy thing to accomplish this wish and greatly enhance the
acceptance of synthetic data.
“We switched to synthetic test data because of data privacy issues.
Before Tosca, creating the required data was a huge manual effort that
we had to go through repeatedly. Now it’s all automated.”
QA director, major Swiss bank
Graphic: The creation of test data objects needs to follow their
hierarchy. Dynamic IDs of parents need to be referenced by their
How to deal with dynamic IDs
The creation of test data objects needs to follow their hierarchy (1 … business
partner,
2 … account, etc.). The app will dynamically assign IDs to newly created objects
(e.g. ID of a new business partner). Subsequently created objects (e.g. account)
will need to refer to the dynamic IDs of their parent objects (business partner).
As a consequence, your data generator must not refer to hard-coded IDs, but
needs to select the appropriate dynamic IDs at run-time instead.
Tosca’s Test Data Management has built-in functionality to register and administer
dynamic IDs.
Connect multi-step scenarios with a logical time
axis
While the creation of test data objects is rather straight forward, those objects might still require end-of-day
processing to be ready for further treatment. E.g. Swiss banks will do in-depth batch-checks on new business
partners, before they can become an account holder.
Even more complex is the task of bringing test data objects into the desired state. E.g. an account may
require a certain bookings history to trigger specific calculations of interest rates.
According to Tricentis’ customer projects, more than 50% of core-banking use-cases require one or more
previously run end-of-day procedures. The vast majority can be run on the same business day, but some
require end-of-day or even end-of-month routines to happen on very specific dates. All in all, to
comprehensively test a complex bank you will need 20+ logical business days to run through.
Setting-up a powerful test data management system requires implementing a logical time axis, holding the
required business days. The days need to be dynamic as well: as time goes by, the 15th of the month will be
the 15th of May, the 15th of June, etc.. Your automated test data generator needs to link to those dynamic
dates.
Customers benefit from Tosca’s built-in concepts and the domain expertise of Tricentis and its partners.
50%of core banking use-cases require one or more previously
run end-of-day procedures.
Graphic: A comprehensive test of a core banking
app requires 20+ logical business days.
“After we had designed test cases and their required test data
basis together with Tricentis, we derived 25 logical business
days. Today our tests are run on a rigid battle-plan. Through
dynamic links to business dates, maintenance in Tosca’s Test
Data Management is avoided successfully.”
QA director, major retail bank
Complement remaining leaks through extracts of
production data
Synthetic test data generation sometimes fails when data objects with a long lasting history are required. E.g.: It
might be difficult or even impossible to provide a 40-years-life insurance contract that has been signed 25 years
ago. Such “old” data constellation will be part of production data however.
Deeper investigations reveal that this problem is rather small. On average, less than 2% of the test cases require
data that cannot be provided synthetically. In addition, the criticality of use-cases declines with the age of data
objects: If a certain use-case cannot be performed for a couple of days, this is in general less critical for a 25 year
old contract than a very new one.
The use of synthetic and production data is complementary: synthetic data can be added to production data and
vice versa. Ideally customers use extractors/loaders to identify and load data objects that cannot be provided
synthetically. Since the dimension of the problem is very limited, even direct SQL insertion is a valid option and
anonymization is less of importance.
Through its data-base engine, Tosca provides a powerful toolset to set up extractors/loaders of production data.
<2%On average, less than 2% of test cases require data that
cannot be provided synthetically.
Obtain stateful test data management
The power of synthetic test data is a well known fact in the testing industry. However, the implementation
success is rather low. In addition to unresolved challenges with dynamic IDs and date/times, customers face
ongoing changes that testing creates in their test databases.
Imagine you would grant a loan to a certain business partner. The loan can be approved, since the business
partner has a good customer rating. Through granting the loan, the rating of the business partner is lowered,
Graphic: List of standard sales orders with different states, tracked by Tosca Testsuite™.
Tricentis GmbH
Saturn Tower
Leonard Bernstein Straße 10
1220 Vienna
Austria
Stay in
touch

Weitere ähnliche Inhalte

Was ist angesagt?

Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
powerpoint template for testing training
powerpoint template for testing trainingpowerpoint template for testing training
powerpoint template for testing training
John Roddy
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
Oana Feidi
 

Was ist angesagt? (20)

Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8
 
6 Ways to Measure the ROI of Automated Testing
6 Ways to Measure the ROI of Automated Testing6 Ways to Measure the ROI of Automated Testing
6 Ways to Measure the ROI of Automated Testing
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentation
 
Software Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftware Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief Overview
 
Test Strategy
Test StrategyTest Strategy
Test Strategy
 
Risk-based Testing
Risk-based TestingRisk-based Testing
Risk-based Testing
 
Performance Testing Overview
Performance Testing OverviewPerformance Testing Overview
Performance Testing Overview
 
Agile QA and Testing process
Agile QA and Testing processAgile QA and Testing process
Agile QA and Testing process
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Introduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and ToolsIntroduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and Tools
 
powerpoint template for testing training
powerpoint template for testing trainingpowerpoint template for testing training
powerpoint template for testing training
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
Agile Qa Framework Jacky Wu
Agile Qa Framework Jacky WuAgile Qa Framework Jacky Wu
Agile Qa Framework Jacky Wu
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with Agile
 
Sap test center of excellence
Sap test center of excellenceSap test center of excellence
Sap test center of excellence
 
Seven testing principles
Seven testing principlesSeven testing principles
Seven testing principles
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test Automation
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
 

Andere mochten auch

Pugazhvanan_Ganapathy_Tricentis_Certified_Professional_(Tosca_9.0)
Pugazhvanan_Ganapathy_Tricentis_Certified_Professional_(Tosca_9.0)Pugazhvanan_Ganapathy_Tricentis_Certified_Professional_(Tosca_9.0)
Pugazhvanan_Ganapathy_Tricentis_Certified_Professional_(Tosca_9.0)
Pugazhvanan Ganapathy
 
'Test Data Management and Project Quality Go Hand In Hand' by Kristian Fische...
'Test Data Management and Project Quality Go Hand In Hand' by Kristian Fische...'Test Data Management and Project Quality Go Hand In Hand' by Kristian Fische...
'Test Data Management and Project Quality Go Hand In Hand' by Kristian Fische...
TEST Huddle
 
BizDataX White paper Test Data Management
BizDataX White paper Test Data ManagementBizDataX White paper Test Data Management
BizDataX White paper Test Data Management
Dragan Kinkela
 

Andere mochten auch (20)

Pre-Con Ed: Test Data Management and Compliance: Is your Test Data Ready for ...
Pre-Con Ed: Test Data Management and Compliance: Is your Test Data Ready for ...Pre-Con Ed: Test Data Management and Compliance: Is your Test Data Ready for ...
Pre-Con Ed: Test Data Management and Compliance: Is your Test Data Ready for ...
 
Software fails 2016
Software fails 2016Software fails 2016
Software fails 2016
 
Pugazhvanan_Ganapathy_Tricentis_Certified_Professional_(Tosca_9.0)
Pugazhvanan_Ganapathy_Tricentis_Certified_Professional_(Tosca_9.0)Pugazhvanan_Ganapathy_Tricentis_Certified_Professional_(Tosca_9.0)
Pugazhvanan_Ganapathy_Tricentis_Certified_Professional_(Tosca_9.0)
 
Champion Circle Of Data Management Assurance Ibm Optim
Champion Circle Of Data Management Assurance Ibm OptimChampion Circle Of Data Management Assurance Ibm Optim
Champion Circle Of Data Management Assurance Ibm Optim
 
'Test Data Management and Project Quality Go Hand In Hand' by Kristian Fische...
'Test Data Management and Project Quality Go Hand In Hand' by Kristian Fische...'Test Data Management and Project Quality Go Hand In Hand' by Kristian Fische...
'Test Data Management and Project Quality Go Hand In Hand' by Kristian Fische...
 
Agile Testing
Agile Testing Agile Testing
Agile Testing
 
Need for scaling agile
Need for scaling agileNeed for scaling agile
Need for scaling agile
 
Test Automation NYC 2014
Test Automation NYC 2014Test Automation NYC 2014
Test Automation NYC 2014
 
Ibm test data_management_v0.4
Ibm test data_management_v0.4Ibm test data_management_v0.4
Ibm test data_management_v0.4
 
BizDataX White paper Test Data Management
BizDataX White paper Test Data ManagementBizDataX White paper Test Data Management
BizDataX White paper Test Data Management
 
Comparación
ComparaciónComparación
Comparación
 
Scrum best practices
Scrum best practicesScrum best practices
Scrum best practices
 
Tech Vision: Next-Generation Performance Testing With BlazeMeter, Service Vir...
Tech Vision: Next-Generation Performance Testing With BlazeMeter, Service Vir...Tech Vision: Next-Generation Performance Testing With BlazeMeter, Service Vir...
Tech Vision: Next-Generation Performance Testing With BlazeMeter, Service Vir...
 
DATPROF Test data Management (data privacy & data subsetting) - English
DATPROF Test data Management (data privacy & data subsetting) - EnglishDATPROF Test data Management (data privacy & data subsetting) - English
DATPROF Test data Management (data privacy & data subsetting) - English
 
How to define mobile automation strategy
How to define mobile automation strategyHow to define mobile automation strategy
How to define mobile automation strategy
 
OSI Referans Modeli ve Katmanları - Alican Uzunhan
OSI Referans Modeli ve Katmanları - Alican UzunhanOSI Referans Modeli ve Katmanları - Alican Uzunhan
OSI Referans Modeli ve Katmanları - Alican Uzunhan
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Software development life cycle yazılım geliştirme yaşam döngüsü
Software development life cycle   yazılım geliştirme yaşam döngüsüSoftware development life cycle   yazılım geliştirme yaşam döngüsü
Software development life cycle yazılım geliştirme yaşam döngüsü
 

Ähnlich wie Test Data Management: The Underestimated Pain

Testing Data & Data-Centric Applications - Whitepaper
Testing Data & Data-Centric Applications - WhitepaperTesting Data & Data-Centric Applications - Whitepaper
Testing Data & Data-Centric Applications - Whitepaper
Ryan Dowd
 
Data Collection Process And Integrity
Data Collection Process And IntegrityData Collection Process And Integrity
Data Collection Process And Integrity
Gerrit Klaschke, CSM
 

Ähnlich wie Test Data Management: The Underestimated Pain (20)

Testing Data & Data-Centric Applications - Whitepaper
Testing Data & Data-Centric Applications - WhitepaperTesting Data & Data-Centric Applications - Whitepaper
Testing Data & Data-Centric Applications - Whitepaper
 
MetaSuite and_hp_quality_center_enterprise
MetaSuite and_hp_quality_center_enterpriseMetaSuite and_hp_quality_center_enterprise
MetaSuite and_hp_quality_center_enterprise
 
Five costly mistakes applying spc [whitepaper]
Five costly mistakes applying spc [whitepaper]Five costly mistakes applying spc [whitepaper]
Five costly mistakes applying spc [whitepaper]
 
Intelligent Interface for Product Tables - Whitepaper
Intelligent Interface for Product Tables - WhitepaperIntelligent Interface for Product Tables - Whitepaper
Intelligent Interface for Product Tables - Whitepaper
 
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...
 
Machine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionMachine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout Session
 
Leveraging Automated Data Validation to Reduce Software Development Timeline...
Leveraging Automated Data Validation  to Reduce Software Development Timeline...Leveraging Automated Data Validation  to Reduce Software Development Timeline...
Leveraging Automated Data Validation to Reduce Software Development Timeline...
 
From Data to Insights: How IT Operations Data Can Boost Quality
From Data to Insights: How IT Operations Data Can Boost QualityFrom Data to Insights: How IT Operations Data Can Boost Quality
From Data to Insights: How IT Operations Data Can Boost Quality
 
Machine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionMachine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout Session
 
SplunkLive! Munich 2018: Integrating Metrics and Logs
SplunkLive! Munich 2018: Integrating Metrics and LogsSplunkLive! Munich 2018: Integrating Metrics and Logs
SplunkLive! Munich 2018: Integrating Metrics and Logs
 
Deliver Trusted Data by Leveraging ETL Testing
Deliver Trusted Data by Leveraging ETL TestingDeliver Trusted Data by Leveraging ETL Testing
Deliver Trusted Data by Leveraging ETL Testing
 
Claims
ClaimsClaims
Claims
 
Data Collection Process And Integrity
Data Collection Process And IntegrityData Collection Process And Integrity
Data Collection Process And Integrity
 
SplunkLive! Frankfurt 2018 - Integrating Metrics & Logs
SplunkLive! Frankfurt 2018 - Integrating Metrics & LogsSplunkLive! Frankfurt 2018 - Integrating Metrics & Logs
SplunkLive! Frankfurt 2018 - Integrating Metrics & Logs
 
Computer Assisted Audit Techniques (CAATS) - IS AUDIT
Computer Assisted Audit Techniques (CAATS) - IS AUDITComputer Assisted Audit Techniques (CAATS) - IS AUDIT
Computer Assisted Audit Techniques (CAATS) - IS AUDIT
 
ML in GRC: Supporting Human Decision Making for Regulatory Adherence with Mac...
ML in GRC: Supporting Human Decision Making for Regulatory Adherence with Mac...ML in GRC: Supporting Human Decision Making for Regulatory Adherence with Mac...
ML in GRC: Supporting Human Decision Making for Regulatory Adherence with Mac...
 
Etl testing strategies
Etl testing strategiesEtl testing strategies
Etl testing strategies
 
Elastic Stack: Using data for insight and action
Elastic Stack: Using data for insight and actionElastic Stack: Using data for insight and action
Elastic Stack: Using data for insight and action
 
Cloud Storage Auditing Protocol with Verifiable Outsourcing of Key Updates
Cloud Storage Auditing Protocol with Verifiable Outsourcing of Key UpdatesCloud Storage Auditing Protocol with Verifiable Outsourcing of Key Updates
Cloud Storage Auditing Protocol with Verifiable Outsourcing of Key Updates
 
Building a Robust Big Data QA Ecosystem to Mitigate Data Integrity Challenges
Building a Robust Big Data QA Ecosystem to Mitigate Data Integrity ChallengesBuilding a Robust Big Data QA Ecosystem to Mitigate Data Integrity Challenges
Building a Robust Big Data QA Ecosystem to Mitigate Data Integrity Challenges
 

Kürzlich hochgeladen

Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 

Kürzlich hochgeladen (20)

Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 

Test Data Management: The Underestimated Pain

  • 1. Test Data Management The Underestimated Pain Wolfgang Platz, Founder & CPO © 2015 Tricentis GmbH All rights reserved.
  • 2. According to our customer surveys and confirmed by industry statistics, manual testers spend 50 - 75% of their effort on finding and preparing appropriate test data. Considering the fact that manual testing still accounts for 80+% of test operation efforts, up to half (!) of the overall testing effort goes into dealing with test data. In addition, test automation requires having test data under full control: only with test data perfectly fitting the test description can automated test cases obtain stability. This is less an issue for simple test scenarios that create business objects (such as business partners, accounts). But it becomes a huge challenge as soon as objects need to have a certain state or history in order to be an appropriate testing basis (e.g.: accounts with a certain balance which require a series of previous transactions). Despite the critical role of test data management, organizations usually do not pay an appropriate amount of attention to it from the beginning. It’s an underestimated pain. 50–75%of manual testing effort is used to find and prepare appropriate test data Graphic: Finding and preparing test data generates huge effort for manual testing + constrains test automation rates. Using production data (live data) for test purposes seems to be a simple solution and is the natural approach to fulfill the needs of testing. Customers expect from production data: • Production data contains all test-relevant combinations for testing. • Production data is already there! That’s a huge advantage! No need to create test data – just use them! However, using production data for testing has some severe down-sides that massively constrain its usability, cause risk, and create massive efforts. Why people love production data
  • 3. $3.5 maverage cost of a data breach to a company2. Why production data is insufficient, expensive and even dangerous Let’s have a closer look at production data and critique the previous statements. We will, however, find out that they are only partially true: • Production data contains all relevant combinations for regression testing. While production data contains a great variety of data for regression testing, they are often not sufficient for new functionality. Since this functionality has not been productive as of yet, it is likely to miss test data for its test. • Production data is already there! – but is grows old. Production data is usually provided as a snap shot. The problem with this: the data grows old! A test-person of age 17 may have turned 18 – and not be suitable for your particular tests any more. You would need to find a new person – or create one. Operating test environments with production data is expensive: since the data is of considerable size, operating them over time consumes CPU which may cause substantial cost, especially for HOST systems (MIPS consumption). Even more, the use of production data for test is becoming a no-go in enterprise companies, since … • Using production data is a security issue. Test data may be exposed to such unauthorized sources like in-house testing staff, consultants, partners, and even offshore personnel. Compliance regulatory has become very strict about the use of live data for test purposes, requiring anonymization (masking). For complex system landscapes, masking is a huge challenge that can hardly be accomplished or not solved at all. 1… The Insecurity of Test Data: The Unseen Crisis, Ponemon Institute 69%of IT professionals use production data for testing their apps1 2… 2014 Cost of Data Breach Study: Global Analysis, sponsored by IBM “A huge benefit of our switch to synthetic test data was the reduction of data volumes. All of a sudden our operating cost of the test environment – which was primarily driven by MIPS consumption – went down by 95%.” QA director, major retail bank
  • 4. How to set-up a sufficient test data management Tricentis has come up with a list of 5 steps to shift test data management to the level you require: Scope out the area of active test data management1 2 3 4 Automate provisioning of synthetic test data Connect multi-step scenarios with a logical time axis Complement remaining leaks through extracts of production data Obtain “stateful” test data management5 Using synthetic test data is a challenge too. Synthetic data can be used to test both existing and new functionality – and it does not face any privacy issues, making it an attractive alternative. Synthetic test data also contains thousands of records instead of millions, thus reducing your operating costs significantly. On the other hand, the provisioning of synthetic test data is an effort that requires full automation. And synthetic test data needs to cope with the volatility of date/time. It requires a detailed provisioning plan to obtain the desired test objects and states.
  • 5. Scope out the area of active test data management
  • 6. The first step is to find out which data objects we need to be able to create automatically whenever needed – those objects will to be under active control of test data management: • Definition data: This data (e.g.: product definitions) does not change substantially from release to release, nor is it consumed by the test per se (a product does not vanish when it is used as the definition of an account). The number of records is limited. We do not need to actively manage them. • (Operational) Master Data: This data (partners, contracts, accounts) is subject to ongoing change. Comprehensive tests will require thousands of records that we need to automatically generate and actively manage. • Transaction Data: The most volatile data comes in high volumes and will affect operational master data. We need to automatically create transactions and track the changes they cause. With Tricentis Tosca Testsuite™, customers design test case data simultaneously with the required test data basis. E.g.: To create a certain loan account, the app must already have registered a business partner with a good rating (the future account holder). When testers design the test data for the loan account, they will also design the specific business partner that must be provided prior to the test. Graphic: Out of this simplified bank example, all operational master data and transaction data will be subject to an active test data management. Graphic: Test Data Design and Test Data Management in Tosca Testsuite™, process overview
  • 7. Automate provisioning of synthetic test data
  • 8. Data objects under active management require automated provisioning – otherwise you will end up with repeated pizza-party-style manual data generation events (your SMEs will refuse to do that) and never achieve sophisticated data object states (since those will require a series of steps to be performed). In principle, all possible interfaces to the app’s data layer are a feasible option for the automated generation, however, we recommend to use the app’s APIs for this purpose: • UI based test data generation is time-consuming (slow) and lacks stability. • Direct SQL insertion into the app’s persistency layer is certainly fast, but will have to rebuild parts of the app’s business logic in order to achieve consistent data – leading to an SQL based development project. • Using an API interface is the best option, since it is both fast but already benefits from the app’s logic to interact with the persistency layer. Bottom line: whenever the required data can be created/administered through an API, use it. Tosca Testsuite™ is an ideal solution, since its Model Based Test Automation supports all three options. Graphic: Use API access for the automated generation/ administration of synthetic test data whenever possible. Tip SMEs of your business units might want to assign “their” names to business partners. It will be an easy thing to accomplish this wish and greatly enhance the acceptance of synthetic data. “We switched to synthetic test data because of data privacy issues. Before Tosca, creating the required data was a huge manual effort that we had to go through repeatedly. Now it’s all automated.” QA director, major Swiss bank
  • 9. Graphic: The creation of test data objects needs to follow their hierarchy. Dynamic IDs of parents need to be referenced by their How to deal with dynamic IDs The creation of test data objects needs to follow their hierarchy (1 … business partner, 2 … account, etc.). The app will dynamically assign IDs to newly created objects (e.g. ID of a new business partner). Subsequently created objects (e.g. account) will need to refer to the dynamic IDs of their parent objects (business partner). As a consequence, your data generator must not refer to hard-coded IDs, but needs to select the appropriate dynamic IDs at run-time instead. Tosca’s Test Data Management has built-in functionality to register and administer dynamic IDs.
  • 10. Connect multi-step scenarios with a logical time axis
  • 11. While the creation of test data objects is rather straight forward, those objects might still require end-of-day processing to be ready for further treatment. E.g. Swiss banks will do in-depth batch-checks on new business partners, before they can become an account holder. Even more complex is the task of bringing test data objects into the desired state. E.g. an account may require a certain bookings history to trigger specific calculations of interest rates. According to Tricentis’ customer projects, more than 50% of core-banking use-cases require one or more previously run end-of-day procedures. The vast majority can be run on the same business day, but some require end-of-day or even end-of-month routines to happen on very specific dates. All in all, to comprehensively test a complex bank you will need 20+ logical business days to run through. Setting-up a powerful test data management system requires implementing a logical time axis, holding the required business days. The days need to be dynamic as well: as time goes by, the 15th of the month will be the 15th of May, the 15th of June, etc.. Your automated test data generator needs to link to those dynamic dates. Customers benefit from Tosca’s built-in concepts and the domain expertise of Tricentis and its partners. 50%of core banking use-cases require one or more previously run end-of-day procedures.
  • 12. Graphic: A comprehensive test of a core banking app requires 20+ logical business days. “After we had designed test cases and their required test data basis together with Tricentis, we derived 25 logical business days. Today our tests are run on a rigid battle-plan. Through dynamic links to business dates, maintenance in Tosca’s Test Data Management is avoided successfully.” QA director, major retail bank
  • 13. Complement remaining leaks through extracts of production data
  • 14. Synthetic test data generation sometimes fails when data objects with a long lasting history are required. E.g.: It might be difficult or even impossible to provide a 40-years-life insurance contract that has been signed 25 years ago. Such “old” data constellation will be part of production data however. Deeper investigations reveal that this problem is rather small. On average, less than 2% of the test cases require data that cannot be provided synthetically. In addition, the criticality of use-cases declines with the age of data objects: If a certain use-case cannot be performed for a couple of days, this is in general less critical for a 25 year old contract than a very new one. The use of synthetic and production data is complementary: synthetic data can be added to production data and vice versa. Ideally customers use extractors/loaders to identify and load data objects that cannot be provided synthetically. Since the dimension of the problem is very limited, even direct SQL insertion is a valid option and anonymization is less of importance. Through its data-base engine, Tosca provides a powerful toolset to set up extractors/loaders of production data. <2%On average, less than 2% of test cases require data that cannot be provided synthetically.
  • 15. Obtain stateful test data management
  • 16. The power of synthetic test data is a well known fact in the testing industry. However, the implementation success is rather low. In addition to unresolved challenges with dynamic IDs and date/times, customers face ongoing changes that testing creates in their test databases. Imagine you would grant a loan to a certain business partner. The loan can be approved, since the business partner has a good customer rating. Through granting the loan, the rating of the business partner is lowered, Graphic: List of standard sales orders with different states, tracked by Tosca Testsuite™.
  • 17. Tricentis GmbH Saturn Tower Leonard Bernstein Straße 10 1220 Vienna Austria Stay in touch