Post on 24-Jun-2015
description
Test Data Management
Commercial partner for D/A/CH
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
Test Data Management
What the management wants
Do more with less
Cut costs
Master risks
Grow revenue
Application Life Cycle and the Business
Smaller budgets
Cost efficiency
Applications play major role
in Revenue Growth
Shorter and more complex
Application Life Cycle
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
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
Test Data requirements
Challenges information from HP directly
What are the test data sources?
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
Data Integration made easy
Platform and database or file system independent
4 KEY FUNCTIONS
▶ Collect
▶ Map
▶ Generate
▶ Run
MetaSuite: Data Integration
Data Integration made easy
Platform and database or file system independent
MetaSuite: Test Data Management
KEY FUNCTIONS
▶ Sample: take a representative
sample
▶ Mask: make sure privacy
is guaranteed
▶ Referential Integrity must be kept!
▶ Business Logic must be respected
MetaSuite: Process
Test Data Management use case
Happy Company: source
Happy Company: target
Customers and Orders table
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.
Business and technical rules
Customers table:
Orders table:
CUSTOMERS Business rule MetaSuite (technical rule) CustomerID CustomerID is confidential and could harm privacy. Mask it As the key is alphanumeric, use alphanumeric TRANSPOSE function
New field: Email Email address is fcontactname@HappyCompany.com Use CONCAT function
New field: Bank_Account Just provide valid Belgian bank account number Use system function BE-IBAN
ORDERS Business rule MetaSuite (technical rule) CustomerID CustomerID must be equal to CustomerID of Customers table Use same TRANSPOSE function as for Customer.CustomerID
Select orders Take only orders for Customers from the Customer sample Use Data List function to exclude orders from customers that are not part of the customer sample
Shipment date Due to new functionality, put shipment date equal to OrderDate plus 10 days Use system function ADD-SUB-FIXED
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
MetaStore
MetaMap
Use generate button to see first result
Customer ID CompanyName ContactName ContactTitle Address City Region PostalCode Country Phone Fax
ALFKI Alfreds Futterkiste Maria Anders Sales Representative Obere Str. 57 Berlin 12209 Germany 030-0074321 030-0076545
ANTON Antonio Moreno Taquería Antonio Moreno Owner Mataderos 2312 México D.F. 5023 Mexico (5) 555-3932
BLAUS Blauer See Delikatessen Hanna Moos Sales Representative Forsterstr. 57 Mannheim 68306 Germany 0621-08460 0621-08924
BSBEV B's Beverages Victoria Ashworth Sales Representative Fauntleroy Circus London EC2 5NT UK (171) 555-1212
CHOPS Chop-suey Chinese Yang Wang Owner Hauptstr. 29 Bern 3012 Switzerland 0452-076545
ERNSH Ernst Handel Roland Mendel Sales Manager Kirchgasse 6 Graz 8010 Austria 7675-3425 7675-3426
FAMIA Familia Arquibaldo Aria Cruz Marketing Assistant Rua Orós, 92 São Paulo SP 05442-030 Brazil (11) 555-9857
FISSA FISSA Fabrica Inter. Salchichas S.A. Diego Roel Accounting Manager C/ Moralzarzal, 86 Madrid 28034 Spain (91) 555 94 44 (91) 555 55 93
FRANR France restauration Carine Schmitt Marketing Manager 54, rue Royale Nantes 44000 France 40.32.21.21 40.32.21.20
FRANK Frankenversand Peter Franken Marketing Manager Berliner Platz 43 München 80805 Germany 089-0877310 089-0877451
Transformed CustomerID
Before: Customer ID CompanyName ContactName ContactTitle Address City Region PostalCode Country Phone Fax
ALFKI Alfreds Futterkiste Maria Anders Sales Representative Obere Str. 57 Berlin 12209 Germany 030-0074321 030-0076545
ANTON Antonio Moreno Taquería Antonio Moreno Owner Mataderos 2312 México D.F. 5023 Mexico (5) 555-3932
BLAUS Blauer See Delikatessen Hanna Moos Sales Representative Forsterstr. 57 Mannheim 68306 Germany 0621-08460 0621-08924
BSBEV B's Beverages Victoria Ashworth Sales Representative Fauntleroy Circus London EC2 5NT UK (171) 555-1212
CHOPS Chop-suey Chinese Yang Wang Owner Hauptstr. 29 Bern 3012 Switzerland 0452-076545
ERNSH Ernst Handel Roland Mendel Sales Manager Kirchgasse 6 Graz 8010 Austria 7675-3425 7675-3426
FAMIA Familia Arquibaldo Aria Cruz Marketing Assistant Rua Orós, 92 São Paulo SP 05442-030 Brazil (11) 555-9857
FISSA FISSA Fabrica Inter. Salchichas S.A. Diego Roel Accounting Manager C/ Moralzarzal, 86 Madrid 28034 Spain (91) 555 94 44 (91) 555 55 93
FRANR France restauration Carine Schmitt Marketing Manager 54, rue Royale Nantes 44000 France 40.32.21.21 40.32.21.20
FRANK Frankenversand Peter Franken Marketing Manager Berliner Platz 43 München 80805 Germany 089-0877310 089-0877451
After: Customer ID CompanyName ContactName ContactTitle Address City Region PostalCode Country Phone Fax
FPD0W Alfreds Futterkiste Maria Anders Sales Representative Obere Str. 57 Berlin 12209 Germany 030-0074321 030-0076545
FY8RY Antonio Moreno Taquería Antonio Moreno Owner Mataderos 2312 México D.F. 5023 Mexico (5) 555-3932
8PFNF Blauer See Delikatessen Hanna Moos Sales Representative Forsterstr. 57 Mannheim 68306 Germany 0621-08460 0621-08924
8F82L B's Beverages Victoria Ashworth Sales Representative Fauntleroy Circus London EC2 5NT UK (171) 555-1212
N1R5F Chop-suey Chinese Yang Wang Owner Hauptstr. 29 Bern 3012 Switzerland 0452-076545
2HYF1 Ernst Handel Roland Mendel Sales Manager Kirchgasse 6 Graz 8010 Austria 7675-3425 7675-3426
DFJWF Familia Arquibaldo Aria Cruz Marketing Assistant Rua Orós, 92 São Paulo SP 05442-030 Brazil (11) 555-9857
DWFFF FISSA Fabrica Inter. Salchichas S.A. Diego Roel Accounting Manager C/ Moralzarzal, 86 Madrid 28034 Spain (91) 555 94 44 (91) 555 55 93
DHFYH France restauration Carine Schmitt Marketing Manager 54, rue Royale Nantes 44000 France 40.32.21.21 40.32.21.20
DHFY0 Frankenversand Peter Franken Marketing Manager Berliner Platz 43 München 80805 Germany 089-0877310 089-0877451
E-mail address added
Before:
After:
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
Belgian IBAN added
Before:
After:
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
Masked name and related e-mail
Before:
After:
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
Orders: TRANSPOSE of CustomerID
Before:
After:
OrderID CustomerID EmployeeID OrderDate RequiredDate ShippedDate ShipVia Freight CompanyName Address City
10643 ALFKI 6 19970825 19970922 19970902 1 294.600 Alfreds Futterkiste 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 482.200 Chop-suey Chinese 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 31.000 Familia Arquibaldo Rua Orós, 92 São Paulo
10971 FRANR 2 19980324 19980421 19980402 2 1.218.200 France restauration 54, rue Royale Nantes
OrderID CustomerID EmployeeID OrderDate RequiredDate ShippedDate ShipVia Freight CompanyName Address City
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 482.200 Chop-suey Chinese 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 31.000 Familia Arquibaldo Rua Orós, 92 São Paulo
10971 DHFYH 2 19980324 19980421 19980402 2 1.218.200 France restauration 54, rue Royale Nantes
Integrated Life Cycle Management
Application Build and Deploy
Test data Build and Deploy
Execution of HPQC automated tests
Life Cycle: roles, process and tools
Run MetaSuite program (deploy to Test)
MetaSuite program: log file
Test Data
500 addresses for
functional testing
10.000 addresses for performance
testing
Run automated HPQC tests
HPALM: Defects and added comment
▶ Defects and added comment by ALM Life Cycle Management
HPALM: test sets (see ID 1 and 2)
HPALM: Run details: Passed!
Insurance Banking Other
Some references
More information
Germany | Partner D/A/CH Minerva SoftCare GmbH Unterer Dammweg 12 76149 Karlsruhe Germany Call: +49 (0)721 - 781 77 01 www.minerva-softcare.de
www. metasuite.com www.ikanalm.com info@minerva-softcare.de