The document discusses test data management using MetaSuite. It provides an overview of MetaSuite's capabilities including test data integration, sampling, masking, and maintaining referential integrity. It then presents a use case where MetaSuite is used to take a sample of customer data from a source, mask some fields, generate test emails and bank accounts, and select related order data to build a customized test data set for functional testing of an application. Business and technical rules are defined to ensure the test data respects both logical requirements and privacy standards.
2. Agenda
• Test Data Management
- In general
- MetaSuite product overview
- Use case overview with MetaSuite
• Integrated Life Cycle Management
- Build application, including test sets
- Dynamically Deploy application and test sets
- Execute HPALM (Quality Center) automated tests
• Minerva SoftCare GmbH
4. What the management wants
Do more
with less
Cut
costs
Master
risks
Grow
revenue
5. Application Life Cycle and the Business
Smaller
budgets
Cost
efficiency
Applications
play major role
in Revenue
Growth
Shorter and
more complex
Application
Life Cycle
6. Role of testing and TDM
and what can we learn
According to the World Quality Report (2013-2014)
QA functions
are becoming
more mature
Increase in IT
budgets for
testing
QA teams
engaged too
late in
development
Rise of mobile
testing
Challenging
Test data
environments
and creation
7. Consistent test data management process
and what can we do
Manage small to large manageable data sets
Data sets should correspond to the testers needs
Comply with security and privacy regulations
Create a repeatable cost-efficient process whereby test data
are fresh, accurate, comprehensive and sufficient complex
11. Business case
Tasks and questions
Can I do this ?
a) Subset
b) Mask
c) Generate
d) Go back to complete previous state
e) Go selective back to previous state (only
the customer database)
f) Data aging
12.
13. MetaSuite: Data Integration
Data Integration made easy
Platform and database or file system independent
4 KEY FUNCTIONS
▶ Collect
▶ Map
▶ Generate
▶ Run
14. MetaSuite: Test Data Management
Data Integration made easy
Platform and database or file system independent
KEY FUNCTIONS
▶ Sample: take a representative
sample
▶ Mask: make sure privacy
is guaranteed
▶ Referential Integrity must be kept!
▶ Business Logic must be respected
20. Functional test data requirements
Customers table
• Take a sample of the customers.
• Mask CustomerID.
• Add email address, whereby email =
contactname@HappyCompany.com
• Add “dummy” Belgian Bank Account Number, IBAN
format.
Orders table
• Just select these orders related to the customers in the
sample.
• Change ShippedDate.
21. Business and technical rules
Customers table:
CUSTOMERS
Business rule
MetaSuite (technical rule)
CustomerID
New field: Email
New field: Bank_Account
CustomerID is confidential and could harm privacy. Mask it
Email address is fcontactname@HappyCompany.com
Just provide valid Belgian bank account number
As the key is alphanumeric, use alphanumeric TRANSPOSE function
Use CONCAT function
Use system function BE-IBAN
Orders table:
ORDERS
Business rule
MetaSuite (technical rule)
CustomerID
Select orders
Shipment date
CustomerID must be equal to CustomerID of Customers table
Take only orders for Customers from the Customer sample
Due to new functionality, put shipment date equal to OrderDate plus 10 days
Use same TRANSPOSE function as for Customer.CustomerID
Use Data List function to exclude orders from customers that are not part of the customer sample
Use system function ADD-SUB-FIXED
22. MetaSuite Process
1
2
3
Collect Data Definitions
▶ Use Collect from Catalog
Create customer sample and apply business rules
▶ Use Test Data Wizard
Select Orders related to customer sample and apply
technical rule
▶ Use Test Data Wizard
25. Use generate button to see first result
Customer ID CompanyName
ContactName
ContactTitle
Address
City
ALFKI
Alfreds Futterkiste
Maria Anders
Sales Representative
Obere Str. 57
Berlin
Region PostalCode Country
ANTON
Antonio Moreno Taquería
Antonio Moreno
Owner
Mataderos 2312
México D.F.
5023 Mexico
BLAUS
Blauer See Delikatessen
Hanna Moos
Sales Representative
Forsterstr. 57
Mannheim
68306 Germany
BSBEV
B's Beverages
Victoria Ashworth Sales Representative
Fauntleroy Circus
London
CHOPS
Chop-suey Chinese
Yang Wang
Owner
Hauptstr. 29
Bern
3012 Switzerland
ERNSH
Ernst Handel
Roland Mendel
Sales Manager
Kirchgasse 6
Graz
8010 Austria
FAMIA
Familia Arquibaldo
Aria Cruz
Marketing Assistant
Rua Orós, 92
São Paulo
FISSA
FISSA Fabrica Inter. Salchichas S.A.
Diego Roel
Accounting Manager
C/ Moralzarzal, 86 Madrid
28034 Spain
FRANR
France restauration
Carine Schmitt
Marketing Manager
54, rue Royale
Nantes
44000 France
FRANK
Frankenversand
Peter Franken
Marketing Manager
Berliner Platz 43
München
80805 Germany
12209 Germany
EC2 5NT UK
SP
05442-030 Brazil
Phone
Fax
030-0074321 030-0076545
(5) 555-3932
0621-08460
0621-08924
(171) 555-1212
0452-076545
7675-3425
7675-3426
(11) 555-9857
(91) 555 94 44 (91) 555 55 93
40.32.21.21
40.32.21.20
089-0877310 089-0877451
26. Transformed CustomerID
Before:
Customer ID
CompanyName
ContactName
ContactTitle
Address
City
ALFKI
Alfreds Futterkiste
Maria Anders
Sales Representative
Obere Str. 57
Berlin
ANTON
Antonio Moreno Taquería
Antonio Moreno
Owner
Mataderos 2312
BLAUS
Blauer See Delikatessen
Hanna Moos
Sales Representative
BSBEV
B's Beverages
Victoria Ashworth
CHOPS
Chop-suey Chinese
Yang Wang
ERNSH
Ernst Handel
FAMIA
Region
PostalCode
Country
Phone
Fax
12209 Germany
030-0074321
México D.F.
5023 Mexico
(5) 555-3932
Forsterstr. 57
Mannheim
68306 Germany
0621-08460
Sales Representative
Fauntleroy Circus
London
Owner
Hauptstr. 29
Bern
3012 Switzerland
Roland Mendel
Sales Manager
Kirchgasse 6
Graz
8010 Austria
Familia Arquibaldo
Aria Cruz
Marketing Assistant
Rua Orós, 92
São Paulo
FISSA
FISSA Fabrica Inter. Salchichas S.A.
Diego Roel
Accounting Manager
C/ Moralzarzal, 86
FRANR
France restauration
Carine Schmitt
Marketing Manager
54, rue Royale
FRANK
Frankenversand
Peter Franken
Marketing Manager
Customer ID
CompanyName
ContactName
FPD0W
Alfreds Futterkiste
Maria Anders
FY8RY
Antonio Moreno Taquería
8PFNF
8F82L
EC2 5NT UK
SP
030-0076545
0621-08924
(171) 555-1212
0452-076545
7675-3425
05442-030 Brazil
Madrid
28034 Spain
(91) 555 94 44
Nantes
44000 France
Berliner Platz 43
München
80805 Germany
ContactTitle
Address
City
Sales Representative
Obere Str. 57
Berlin
Antonio Moreno
Owner
Mataderos 2312
México D.F.
Blauer See Delikatessen
Hanna Moos
Sales Representative
Forsterstr. 57
Mannheim
B's Beverages
Victoria Ashworth
Sales Representative
Fauntleroy Circus
London
N1R5F
Chop-suey Chinese
Yang Wang
Owner
Hauptstr. 29
Bern
3012 Switzerland
2HYF1
Ernst Handel
Roland Mendel
Sales Manager
Kirchgasse 6
Graz
8010 Austria
DFJWF
Familia Arquibaldo
Aria Cruz
Marketing Assistant
Rua Orós, 92
São Paulo
DWFFF
FISSA Fabrica Inter. Salchichas S.A.
Diego Roel
Accounting Manager
C/ Moralzarzal, 86
DHFYH
France restauration
Carine Schmitt
Marketing Manager
54, rue Royale
DHFY0
Frankenversand
Peter Franken
Marketing Manager
Berliner Platz 43
7675-3426
(11) 555-9857
(91) 555 55 93
40.32.21.21
40.32.21.20
089-0877310
089-0877451
After:
Region
PostalCode
Country
Phone
Fax
12209 Germany
030-0074321
5023 Mexico
(5) 555-3932
68306 Germany
EC2 5NT UK
SP
0621-08460
030-0076545
0621-08924
(171) 555-1212
0452-076545
7675-3425
05442-030 Brazil
Madrid
28034 Spain
(91) 555 94 44
Nantes
44000 France
München
80805 Germany
7675-3426
(11) 555-9857
(91) 555 55 93
40.32.21.21
40.32.21.20
089-0877310
089-0877451
27. E-mail address added
Before:
CompanyName
ContactName
ContactTitle
Alfreds Futterkiste
Maria Anders
Sales Representative
Antonio Moreno Taquería
Antonio Moreno
Owner
Blauer See Delikatessen
Hanna Moos
Sales Representative
B's Beverages
Victoria Ashworth
Sales Representative
Chop-suey Chinese
Yang Wang
Owner
Ernst Handel
Roland Mendel
Sales Manager
Familia Arquibaldo
Aria Cruz
Marketing Assistant
FISSA Fabrica Inter. Salchichas S.A.
Diego Roel
Accounting Manager
France restauration
Carine Schmitt
Marketing Manager
Frankenversand
Peter Franken
Marketing Manager
CompanyName
ContactName
ContactTitle
Email
Alfreds Futterkiste
Maria Anders
Sales Representative
Maria Anders@HappyCompany.com
Antonio Moreno Taquería
Antonio Moreno
Owner
Antonio Moreno@HappyCompany.com
Blauer See Delikatessen
Hanna Moos
Sales Representative
Hanna Moos@HappyCompany.com
B's Beverages
Victoria Ashworth
Sales Representative
Victoria Ashworth@HappyCompany.com
Chop-suey Chinese
Yang Wang
Owner
Yang Wang@HappyCompany.com
Ernst Handel
Roland Mendel
Sales Manager
Roland Mendel@HappyCompany.com
Familia Arquibaldo
Aria Cruz
Marketing Assistant
Aria Cruz@HappyCompany.com
FISSA Fabrica Inter. Salchichas S.A.
Diego Roel
Accounting Manager
Diego Roel@HappyCompany.com
France restauration
Carine Schmitt
Marketing Manager
Carine Schmitt@HappyCompany.com
Frankenversand
Peter Franken
Marketing Manager
Peter Franken@HappyCompany.com
After:
28. Belgian IBAN added
Before:
CompanyName
ContactName
ContactTitle
Email
Alfreds Futterkiste
Maria Anders
Sales Representative
Maria Anders@HappyCompany.com
Antonio Moreno Taquería
Antonio Moreno
Owner
Antonio Moreno@HappyCompany.com
Blauer See Delikatessen
Hanna Moos
Sales Representative
Hanna Moos@HappyCompany.com
B's Beverages
Victoria Ashworth
Sales Representative
Victoria Ashworth@HappyCompany.com
Chop-suey Chinese
Yang Wang
Owner
Yang Wang@HappyCompany.com
Ernst Handel
Roland Mendel
Sales Manager
Roland Mendel@HappyCompany.com
Familia Arquibaldo
Aria Cruz
Marketing Assistant
Aria Cruz@HappyCompany.com
FISSA Fabrica Inter. Salchichas S.A.
Diego Roel
Accounting Manager
Diego Roel@HappyCompany.com
France restauration
Carine Schmitt
Marketing Manager
Carine Schmitt@HappyCompany.com
Frankenversand
Peter Franken
Marketing Manager
Peter Franken@HappyCompany.com
CompanyName
ContactName
ContactTitle
Email
Bank_Account
Alfreds Futterkiste
Maria Anders
Sales Representative
Maria Anders@HappyCompany.com
BE81000664830724
Antonio Moreno Taquería
Antonio Moreno
Owner
Antonio Moreno@HappyCompany.com
BE04000195555131
Blauer See Delikatessen
Hanna Moos
Sales Representative
Hanna Moos@HappyCompany.com
BE67000917560887
B's Beverages
Victoria Ashworth
Sales Representative
Victoria Ashworth@HappyCompany.com
BE55000139645644
Chop-suey Chinese
Yang Wang
Owner
Yang Wang@HappyCompany.com
BE37000624343328
Ernst Handel
Roland Mendel
Sales Manager
Roland Mendel@HappyCompany.com
BE80000997449077
Familia Arquibaldo
Aria Cruz
Marketing Assistant
Aria Cruz@HappyCompany.com
BE07000237947666
FISSA Fabrica Inter. Salchichas S.A.
Diego Roel
Accounting Manager
Diego Roel@HappyCompany.com
BE92000370202823
France restauration
Carine Schmitt
Marketing Manager
Carine Schmitt@HappyCompany.com
BE90000269498332
Frankenversand
Peter Franken
Marketing Manager
Peter Franken@HappyCompany.com
BE02000928759640
After:
29. Masked name and related e-mail
Before:
Customer ID CompanyName
ContactName
ContactTitle
Email
Bank_Account
FPD0W
Alfreds Futterkiste
Maria Anders
Sales Representative
Maria Anders@HappyCompany.com
BE81000664830724
FY8RY
Antonio Moreno Taquería
Antonio Moreno
Owner
Antonio Moreno@HappyCompany.com
BE04000195555131
8PFNF
Blauer See Delikatessen
Hanna Moos
Sales Representative
Hanna Moos@HappyCompany.com
BE67000917560887
8F82L
B's Beverages
Victoria Ashworth Sales Representative
Victoria Ashworth@HappyCompany.com
BE55000139645644
N1R5F
Chop-suey Chinese
Yang Wang
Owner
Yang Wang@HappyCompany.com
BE37000624343328
2HYF1
Ernst Handel
Roland Mendel
Sales Manager
Roland Mendel@HappyCompany.com
BE80000997449077
DFJWF
Familia Arquibaldo
Aria Cruz
Marketing Assistant
Aria Cruz@HappyCompany.com
BE07000237947666
DWFFF
FISSA Fabrica Inter. Salchichas S.A.
Diego Roel
Accounting Manager
Diego Roel@HappyCompany.com
BE92000370202823
DHFYH
France restauration
Carine Schmitt
Marketing Manager
Carine Schmitt@HappyCompany.com
BE90000269498332
DHFY0
Frankenversand
Peter Franken
Marketing Manager
Peter Franken@HappyCompany.com
BE02000928759640
Customer ID CompanyName
ContactName
ContactTitle
Email
Bank_Account
FPD0W
Alfreds Futterkiste
Gauss
Sales Representative
Gauss@HappyCompany.com
BE81000664830724
FY8RY
Antonio Moreno Taquería
Flack
Owner
Flack@HappyCompany.com
BE04000195555131
8PFNF
Blauer See Delikatessen
Berlusconi
Sales Representative
Berlusconi@HappyCompany.com
BE67000917560887
8F82L
B's Beverages
Pfaff
Sales Representative
Pfaff@HappyCompany.com
BE55000139645644
N1R5F
Chop-suey Chinese
Merkel
Owner
Merkel@HappyCompany.com
BE37000624343328
2HYF1
Ernst Handel
Hollande
Sales Manager
Hollande@HappyCompany.com
BE80000997449077
DFJWF
Familia Arquibaldo
Vogel
Marketing Assistant
Vogel@HappyCompany.com
BE07000237947666
DWFFF
FISSA Fabrica Inter. Salchichas S.A.
Brandt
Accounting Manager
Brandt@HappyCompany.com
BE92000370202823
DHFYH
France restauration
Einstein
Marketing Manager
Einstein@HappyCompany.com
BE90000269498332
DHFY0
Frankenversand
Berlusconi
Marketing Manager
Berlusconi@HappyCompany.com
BE02000928759640
After:
30. Orders: TRANSPOSE of CustomerID
Before:
OrderID CustomerID EmployeeID OrderDate
Address
City
10643 ALFKI
6 19970825
RequiredDate ShippedDate ShipVia Freight
19970922
19970902
1
294.600 Alfreds Futterkiste
CompanyName
Obere Str. 57
Berlin
10856 ANTON
3 19980128
19980225
19980210
2
584.300 Antonio Moreno Taquería
Mataderos 2312
México D.F.
11058 BLAUS
9 19980429
19980527
0
3
311.400 Blauer See Delikatessen
Forsterstr. 57
Mannheim
11023 BSBEV
1 19980414
19980428
19980424
2 1.238.300 B's Beverages
Fauntleroy Circus
London
11041 CHOPS
3 19980422
19980520
19980428
2
Hauptstr. 31
Bern
11072 ERNSH
4 19980505
19980602
0
2 2.586.400 Ernst Handel
Kirchgasse 6
Graz
10347 FAMIA
4 19961106
19961204
19961108
3
Rua Orós, 92
São Paulo
10971 FRANR
2 19980324
19980421
19980402
2 1.218.200 France restauration
54, rue Royale
Nantes
Address
City
482.200 Chop-suey Chinese
31.000 Familia Arquibaldo
After:
OrderID CustomerID EmployeeID OrderDate
RequiredDate ShippedDate ShipVia Freight
CompanyName
10643 FPD0W
6 19970825
19970922
19970902
1
294.600 Alfreds Futterkiste
Obere Str. 57
Berlin
10856 FY8RY
3 19980128
19980225
19980210
2
584.300 Antonio Moreno Taquería
Mataderos 2312
México D.F.
11058 8PFNF
9 19980429
19980527
0
3
311.400 Blauer See Delikatessen
Forsterstr. 57
Mannheim
11023 8F82L
1 19980414
19980428
19980424
2 1.238.300 B's Beverages
Fauntleroy Circus
London
11041 N1R5F
3 19980422
19980520
19980428
2
Hauptstr. 31
Bern
11072 2HYF1
4 19980505
19980602
0
2 2.586.400 Ernst Handel
Kirchgasse 6
Graz
10347 DFJWF
4 19961106
19961204
19961108
3
Rua Orós, 92
São Paulo
10971 DHFYH
2 19980324
19980421
19980402
2 1.218.200 France restauration
54, rue Royale
Nantes
482.200 Chop-suey Chinese
31.000 Familia Arquibaldo