Research and Application of Software Testing Technology of EJB
- Author
- HuangMing
- Advisor
- ZhangZhongYi
- School
- Beijing Jiaotong University
- Major
- Systems Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 79
- Citations
- 0
Abstract
With the development of modern information science and technology, complexity in today’s computer system is higher than ever before, brings about the requirement for more thorough testing to sustain the tolerable level of reliability. How to keep the quality of product under such pressures becomes the key point for these organizations to achieve success. Automation tests, if deployed right, could take over a great amount of heavy work from manual test, hence shorten the software QA lifecycle and cut the cost, without losing high quality of product.In this paper, according to the architect and characristics of J2EE and EJB, combined with the theory of test automation, EJB test automation framework named ERT is proposed. First, on the basis of entity model and logic function model of ERT, contents like what kind of entities are included in ERT, what collaboration relationship is between them and what functions they own, are demonstrated. Second, the requirements of ERT are discussed from 4 angles, which are business model, system architect, application logic and logic framework, and the configuration file is also designed for ERT test tool. Third, according to the four business processes in the business model of ERT test tool, four modules are designed respectively, which are configuration file parsing module, random data access module, test module and table generating module. And the process of each is introduced in detail. In the end, how to integrate the test tool is shown, and an analysis is given to the instance of test result.ERT take the advantage of test manage tool named Clear Quest Test Manager to integrate the ERT test tool. Through the design of the test plan, test case, and the arrangement of test configuration to certain test case, serialized test and multi model test are realized. In the field of strategy in choosing test object, Gauss random and normal distributions are used in ERT to simulate the random operations and cover the test fully. ERT offers an entire test result statistics report via key memory recording and log mining, which gives strong support to the analysis of result.According to practice, this test automation framework named ERT is able to improve the test efficiency and lower the test cost, with the test quality guaranteed.
Table of contents
Thank 5-6
Chinese Abstract 6-7
ABSTRACT 7-13
1. Introduction 13-21
1.1 research background and significance 13-15
1.1.1 Why study the software testing technology 13
1.1.2. Why study for EJB component testing technology 13-15
120 research status 15-17
1.2.1 of the domestic research 15-16
1.2.2 Foreign Research 16-17.
1.3 research and papers framework 17-20
1.4 paper innovation 20
1.5. Summary 20-21
2.EJB component testing research and theoretical basis 21-36
2.1.J2EE and EJB analysis 21-27
2.1.1.J2EE architecture and features 21-23
2.1.2.EJB component introduced 23-24
2.1.3.EJB component is composed of 24-27
2.2.EJB component test automation principle analysis 27-32
2.2.1. access EJB components 27
2.2.2. software test automation principles and characteristics of 27-29
2.2.3. way analysis of automated testing EJB components 29-32
2.3.EJB component testing object selection strategy 32-34
2.3.1. Gaussian random selection strategy 32-34
2.3.2. sequential selection strategy 34
2.4.EJB component test status tracking 34-35
2.4.1. memory key parameters 34
2.4.2. exception and error analysis 34-35
2.5. Summary 35-36
3.EJB automated testing framework for ERT 36-41
3.1.EJB automated testing framework for ERT 36-37
3.2.ERT testing framework solid model 37-38
3.3.ERT testing framework logic function model 38-40
3.4 Summary As 40-41
4.ERT testing tools Requirements analysis and design 41-63
4.1 test tool needs analysis 41-49.
4.1.1 testing tools business model 41-44
4.1.2 testing tool system architecture 44-47
4.1.3. the application logic of the testing tools 47-48
4.1.4 testing tool logical framework 48-49
4.2 test configuration files designed 49-52
4.3 of the detailed design of the testing tool modules 52-61
4.3.1 configuration file parsing module 52-57
4.3.2. random data acquisition module 57-58
4.3.3 test run module 58-60
4.3.4. report generation module 60-61
4.4 Summary As 61-63
5.ERT test tool technology 63-72
5.1 multi-threading technology to simulate multi-user 63-65
5.2 application JUnit unit testing framework to start testing 65-67
5.3 Application Command design pattern assembly and test objects 67-69
5.4 application Java Reflection mechanism dynamically invoke the EJB and function 69-71
5.5. Summary 71-72
6.ERT testing tools integration and Case Analysis 72-87
6.1. how to use testing tools 72-73
6.2.ERT integrated 73-83
6.3 test results Case Study 83-86.
6.4. Summary 86-87
7 Summary and Outlook 87-89
7.1 summarize 87
7.2 application prospects and outlook 87-88
7.3 Summary As 88-89
References 89-91
of resume 91-93
dissertation data set 93
Related dissertations
- A keyword-driven automated testing framework for Java API
- The Design and Implementation of Test Automation System Based on JUnit
- GUI- C / S system software test automation technology research and
- Grid-based system, an automated test system Research and Implementation
- Research of Embedded Software Test Automation Technology
- Research and design of on-board control universal testing platform software
- Design and Implementation of Automated Test Case Generator
- Design and Realization of Electric Power Asset Management System
- The Design and Implementation of Public Client Business System of Internet Bank Based on J2EE
- Office Automation System Testing Research Based on QTP
- Model Based Testing Automation Framework of Data Pocessing System
- Research and Implementation of Automated Testing Platform Based on Andorid
- Research of Malware Dynamic Detection Technology Based on Android Platform
- Parallel Test Research and Tool Development Based on Colored Petri Net
- Web Based Metwork-Security Tool Testing and Analysis
- The research and implementation of human resource outsourcing service system test automation
- Software development for a launch vehicle
- Research on Software Automatic Testing and Its Application in Online Bank System
- Research and Implementation of Automatic Stub Generation Technology in Unit Test
- Research on Android-based Keyword-driven Automated Testing Framework