200 likes | 421 Vues
Challenges for ERP Test Data Generation Test Data Characteristics and Constraints. Sebastian Wieczorek, SAP Research CEC Darmstadt 05.12.2007. Agenda. SAP Research Setup Introduction to eSOA 2.1. System 2.2. Data Categories Challenges 3.1. Test Data Constraints 3.2. Test Data Handling
E N D
Challenges for ERP Test Data GenerationTest Data Characteristics and Constraints Sebastian Wieczorek, SAP Research CEC Darmstadt 05.12.2007
Agenda • SAP Research Setup • Introduction to eSOA 2.1. System 2.2. Data Categories • Challenges 3.1. Test Data Constraints 3.2. Test Data Handling • Conclusion
SAP today • SAP AG in 2006 revenues: €9.4 billion • More than 39,000 companies run SAP software • Providing more than 25 industry solutions • 40,494 SAP employees (March, 2007) • 12 million users in 120+ countries team with us to… • Integrate their business processes • Extend their competitive capabilities • Get a better return on investment at a lower total cost of ownership • Unique partner ecosystem • More than 2,200 partners • Overall more than 180,000 SAP partner certificates
SAP Labs-based Research Centers SAP Research Global Network Darmstadt Dresden Belfast Montreal Walldorf Karlsruhe Shanghai Palo Alto Sophia Antipolis St.Gallen Pretoria Brisbane Campus-based Engineering Centers
Software Quality and Non-functional Aspects • Performance Modeling • Software Engineering for Secure Software • Test Process Monitoring and Control • Model-based Testing • System Architecture Research • Business Grids • Virtualization Techniques • Datacenter Automation • Device and Shopfloor Integration in Future Manufacturing Belfast Dresden Darmstadt Walldorf Karlsruhe Software Engineering & Architectureat SAP Research • Model-Driven Business Application Engineering • Model-driven Software Development • Aspect-oriented Modeling & Development • Executable Models Research • Software Product Lines • End-user Driven Adaptability • End-user development • Runtime application configuration and adaptation • Main areas: Analytics and Task Management Model-based Testing
Modelplex (EU funded) • IST FP6 Project Modelplex (2006-2009) • SAP as industrial partner interested in Model-Based Testing • Goal: Increasing quality of the testing process at SAP using models MODELPLEX Framework Test Generator (with IBM) Abstract Test Cases Behavior & Structure Models Composite Application (SUT) SAP Models Test Environment (eCATT scripts) SAP Business Platform
Agenda • SAP Research Setup • Introduction to eSOA 2.1. System 2.2. ERP Data Categories • Challenges 3.1. Test Data Constraints 3.2. Test Data Handling • Conclusion
2.1. The eSOA System Business Process Platform Overview PEOPLEPRODUCTIVITY EMBEDDEDANALYTICS Analytics Composites SERVICECOMPOSITION Technology Platform SERVICEENABLEMENT Enterprise ServicesRepository BUSINESS PROCESS PLATFORM SAP Process Components LIFE-CYCLEMANAGEMENT Partner Legacy/ 3rd Party Bus. Process Platform
2.1. The eSOA System Business Process Platform Overview Process Components exposing Enterprise Services Analytics Composites Technology Platform Process Component Enterprise ServicesRepository Business Object Business Object SAP Process Components Business Object Partner Legacy/ 3rd Party Bus. Process Platform
Message Process Component Process Component Process Component 2.1. The eSOA System Integration Details User Interface Deployment Unit 2 Deployment Unit 1 Message based integration Message Database integration local DB local DB local DB
2.2. ERP Data CategoriesDataflow Overview User Interface Input Supplier: Telemax Buyer: SAP Research Product: IP Telephone Quantity: 5 Delivery: asap Input Data Sales Order #8 Supplier: #124 Buyer: #012 Product: #A12 Quantity: 5 Delivery: 12/07 Business Platform Output Data System Data Data Base #A12 IP Telephone SX-247 Silver-Gray #012 SAP Research Bleichstr. 8 Darmstadt #124 Telemax 210 Wilson Rd Belfast #A124 Telemax 210 Wilson Rd Belfast #0124 Telemax 210 Wilson Rd Belfast #124 Telemax 210 Wilson Rd Belfast #A124 Telemax 210 Wilson Rd Belfast #0124 Telemax 210 Wilson Rd Belfast #124 Telemax 210 Wilson Rd Belfast #A124 Telemax 210 Wilson Rd Belfast #0024 Telemax 210 Wilson Rd Belfast #124 Telemax 210 Wilson Rd Belfast
2.2. ERP Data Categories Business Data Categories Transactional Data • short living • valid during a transaction only • always related to master data • e.g. quantities Input Supplier: Telemax Buyer: SAP Research Product: IP Telephone Quantity: 5 Delivery: asap Master Data • relatively static data • stay valid over a period of time • usually describing business entities • used repetitively • e.g. supplier data (address)
2.2. ERP Data Categories Technical Data Categories System Data • Stored data (previous processes & master data) • internal context • reliable • compliance can be assumed Input Data User Interface System Under Test Input Data • Generated by outside world • unfiltered • error prone data channel • may violate application data constraints System Data Data Base
Agenda • SAP Research Setup • Introduction to eSOA 2.1. System 2.2. Data Categories • Challenges 3.1. Test Data Constraints 3.2. Test Data Handling • Conclusion
3.1. Test Data Constraint Challenges User Interface Input Data Input Test Data Supplier: Telemax Buyer: SAP Research Product: IP Telephone Quantity: 5 Delivery: asap b Sales Order #8 Supplier: #124 Buyer: #013 Product: #A12 Quantity: 5 Delivery: 12/07 c d Output Data a System Under Test System Data Syntactic constraints Test case constraints Contextual constraints System data correlation Data Base System Test Data
3.2. Test Data Handling Challenges Test Execution Test Case III Test Case I Test Case II System Under Test Data Base System Test Data Test Step II.1 Test Step II.2 Test Step II.3 Test Data Correlation System Data Stability System Data Provision Input Data Constraints Input Data Provision
Agenda • SAP Research Setup • Introduction to eSOA 2.1. System 2.2. Data Categories • Challenges 3.1. Test Data Constraints 3.2. Test Data Handling • Conclusion
4. Conclusion Research Topics • Sytem Data Provision • Generation of data (conform to business constraints) • Inserting data • Table injections • Using the system functions • System Data Stability & Test Data Correlation • Defining and checking test case preconditions • Using pre- and postambles • Input Data Constraints • Annotating object oriented (hierarchical) constraints to behavior models • Input Data Provision • Generation of data (conform to business constraints & system state) • Data picking in set of existing templates Research Plans • Alternative contributions to Service Integration Testing for eSOA • Defining message choreographies and partner behaviors • Annotating data constraints • Generating test cases using Model-based Testing methods