Design and Implemention of Automatic Testing System Based on Lsb
- Author
- MengZuoZuo
- Advisor
- YuanYuYu , HanWanJiang
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 1
- Citations
- 0
Abstract
In order to complete a comprehensive testing procedure, the old fashion way needs testers to manually control all testing tools and switch each tool step by step For example the tester need to test CPU performance and the performance of the application server, first,the tester need to find the CPU performance test tools, then active the test tool and testing the CPU performance of the system, after the testing done the tester need to shut down the tool; After it done, then manually switch to application server performance testing tools to test application server performance. Step by step to do routine job until all items completed. But it will cost a lot of time switch between the various test tools, and the test tools management is inconvenient. Base on LSB framework to build an automated testing system is very important which can highly improve the efficiency of tester. LSB framework can intergrate each independent testing tools into a system and has an uniform format of input and output data. It is convinient for testers to manage all testing data and save a lot of time.This paper studies how to design and implement of integrating9open source test tools into a system which base on the LSB framework of Linux. Including the tree framework of software testing, the composition of system and so on. By analysis the requirements of user’s function performance and input and output data, design a testing system that with display layer、 intermediate layer and data layer. Each layer has detail analysis and implementation. Elaborate each test tool that integrated into the test framework and design a tree structure which root is Java root directory base on CPU、 operating system and application servers. The structure allows user to use the system in a simply and convenient way. This paper also mentions the integration rules of the tree structure and descripts the generation process of the test tools. Made a detailed description of the entire test system implementation, describe how various configuration files coordination and cooperation between each other to complete the entire test operation. Finally, about how to deploy and install the test system, offer an detailed description. Also give an example to illustrate the process of the entire test run. It proved by integrating test tools into LSB framework on the Linux can make test process become more easy-to-use、 convenient、high portability.The nine open source tools are Fftpi、unixbench、lmbench、iozone、iperf、 ltp and webbench etc.. Implement on test system based on LSB framework. Covering four aspects of performance issues of CPU,operating system, application server and Java. By using an illustration to the entire testing process, and gives the corresponding test results verified the validity of this performance test tools.The research on this paper base on LSB testing framework offer a complete testing system and implementation method works at Linux Ubuntu10.04version operating system. To provide a transplantation reference model for other performance testing system run on Linux-based operating system in future.
Table of contents
Summary 4-6
ABSTRACT 6-10
Chapter 1 Introduction 10-15
1.1 subject background 10 <br / > 1.2 domestic and foreign research status 10-12
1.3 topics task 12-13
1.3.1 subject content 12
1.3.2 of the main task 12-13
1.4 overall structure of the paper 13-15
chapter related technologies 15-24
2.1 LSB concepts 15-16
2.2 test automation technologies 16-20
2.2.1 automated testing concept 16-17
introduction of automated testing conditions 2.2.2 17-18
2.2.3 pros and cons of automated testing 18-20
2.3 LINUX related technologies 20-23
2.3.1 Linux Introduction 20
2.3.2 Linux features 20-23
2.4 Summary 23-24
Chapter III LSB automated test system based on the needs of analysis 24-37
3.1 project Description 24
3.2 functional requirements analysis 24-36
3.2.1 CPU test suite 27 -29
3.2.2 operating system test suite 29-33
3.2.3 application server test suite 33-34
3.2.4 JAVA test suite 34-36
3.3 non-functional requirements analysis 36
3.3.1 accuracy 36
3.3.2 time feature requires 36 <br / > 3.3.3 flexibility 36
3.3.4 other specific requirements 36
3.4 Summary 36-37
fourth chapter based on LSB automated test system design 37-47
nbsp 4.1 architecture ; 37-38
4.2 module design 38-41
4.2.1 CPU test suite design 38-39
4.2.2 operating system test suite designed 39-40
4.2.3 WebServer test suite designed 40
4.2.4 JAVA test suite designed 40-41
4.3 detailed design process 41-45
4.3.1 profile design 42-43
4.3.2 entrance document design 43-44
4.3.3 The results document design 44-45
4.4 operating environment 45-46
4.5 chapter Summary 46-47
Chapter achieve LSB automated test system based framework 47-67
5.1 system to achieve generalization 47-56
5.1.1 achieve the display layer achieve 47-50
5.1.2 middle layer achieve 50-53
5.1.3 data layer 53-56 <br / > 5.2 system to achieve results 56-66
5.2.1 CPU test suite to achieve results 56-58
5.2.2 operating system to achieve the results of the test suite 58-63
5.2.3 Web Server to achieve the results of the test suite 63-64
5.2.4 JAVA achieve the results of the test suite 64-66
5.3 of this chapter Summary 66-67
Chapter VI LSB -based deployment and operation of automated test systems installation nbsp 67-73
6.1 test system ; 67
6.2 system operation 67-72
6.2.1 start frame 67-68
running 6.2.2 test 68-71
6.2.3 test The results display and analysis 71
6.2.4 test Close 71-72
6.3 Summary 72-73
Chapter VII Conclusion 73-75
7.1 thesis summary 73
7.2 problems and Prospects 73-75
References 75-76
Thanks 76
Related dissertations
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
- Design of Industrial Ethernet Motion Controller Based on ARM
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The software design of intelligent control Home Furnishing gateway based on ARM11
- The System Design and Implementation of Smart Home Control Terminal Based on Linux
- Movement Gait Control Research of Six Feet Bionic Robot
- Research on Embedded Control System for Palletizing Robot
- Control system design of robot based on ARM
- AGV car design and development of image recognition and motion control technology based on