The Designe and Key Modules Realization of Distributed Software Performance Testing Tools
- Author
- FuYanMing
- Advisor
- HuangHong
- School
- Southwest Jiaotong University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 208
- Citations
- 4
Abstract
Software size and complexity of today's dramatic increase in manual software testing is increasingly unable to meet the demand for software testing, spurred the development and testing tools, test automation. With the network is becoming more and more important in the application, the distributed architecture can better integrate networking capabilities, distributed systems are increasingly widely used. The domestic testing tools related research work has been started for distributed software testing tools, but still needs to be further implemented and enhanced. In this paper, the design and implementation of distributed software performance testing tools are discussed. Discusses the concept of distributed software performance testing. By analyzing the performance of distributed software testing tools test process to determine the system modules and relationships, to design a system framework. Combined with the characteristics of the distributed architecture, a tool designed to test the structure of the overall test console plus test agents distributed on multiple machines. Focus on the test case generation module, script generation module, test execution and test results processing module implementation. In order to use the test management tool for software modeling UML diagrams, try testing tools introduced to generate test cases from UML sequence diagram. Parse out the sequence diagram from Rational Rose MDL file in XML format and XML format file, and then analyze the test cases. The test development module is the most critical module testing tools, testing procedures by running the test program calls the API recorded, processed form script, so that you record the behavior of the program, during the test run the script will be able to simulate the behavior of the program. The record test procedure API to make use of the Windows API hook technology, the process of testing tools by installing hooks proxy function address to the test program to import address table loaded dynamic link library function addresses replace this program call the function Go agent the address of the function call the agent function instead of calling the original function, the agent function the logging API function and call the original function. Recorded API to go through the API package and code package, to form a high-level language script file. Then the script to customize, add auxiliary test statement can also be some of the fields of the script parameters, replace the argument to the script when the script runs with the corresponding values ??in the parameter file. The parameter file can be manually created, it can draw the generated test case generation. Finally, the script compiled into a dynamic link library form. Test execution module, a hierarchical structure, test scripts, performance counters and scheduling parameters are organized into a solution of the test unit. Test console configuration tested and delivered to the test agent virtual user scheduling test execution. Script and performance counters run concurrent threads to facilitate the collection of performance indicators. Processing module of the test results on file upload and integrated approach overall system performance indicators. Feedback to the user-friendly way of test results, such as charts.
Table of contents
Abstract 6-8
Abstract 8-11
The first chapter 11-14
1.1 issues 11-12
1.2 research 12-14
Chapter distributed software performance testing technology 14-21
2.1 Software Test Category 14-18
2.1.1 white box and black box testing 14-15
2.1.2 unit testing, integration testing and system testing 15-16
2.1.3 performance and functional testing 16-18
2.2 distributed software performance testing 18-21
2.2.1 Distributed Architecture 18-19
2.2.2 distributed software performance testing and test tools 19-21
Chapter distributed software performance testing tools are designed 21-29
3.1 Software Test Automation 21
3.2 Test Tool workflow 21-23
3.3 Test Tool frame design 23-27
3.4 Testing Tools deployment environment 27-29
Chapter IV test case generation module 29-42
4.1 configuration items based on UML for modeling 29-32
4.2 UML sequence diagram of the analytical 32-35
4.2.1 MDL file format 33-34
4.2.2 MDL file parsing 34-35
4.3 sequence diagram represented in XML 35-37
4.3.1 XML technology 35
4.3.2 XML format defined sequence diagram represents 35-37
4.4 Test Case Extraction 37-42
4.4.1 message sequence diagram extraction 38-39
4.4.2 Test Case Generation 39-42
Chapter script generation module 42-61
5.1 script recording sub-module 42-53
5.1.1 script recording principle 42-44
5.1.2 establish a dynamic link library 44-45
5.1.3 installation process hook 45-46
5.1.4 Dynamic Link Library Initialization 46-47
5.1.5 modified IAT table 47-52
5.1.6 capture program API 52-53
5.2 script into sub-modules 53-56
5.2.1 package API 53-55
5.2.2 package script code 55-56
5.3 script to customize the sub-module 56-59
5.3.1 checkpoint 57-59
5.3.2 script parametric 59
5.4 script compiler submodule 59-61
Chapter VI and results of the test execution module processing module 61-69
6.1 Test Execution module 61-65
6.1.1 Test Configuration 61-63
6.1.2 test scheduling and execution 63
6.1.3 Performance data collection 63-65
6.2 Test results processing module 65-69
work summary and outlook 69-71
work summary 69-70
Job Outlook 70-71
Thanks 71-72
References 72-75
papers published during the master's degree 75
Related dissertations
- Research of Software Performance Testing Process and Application
- Research and Implementation on File Monitor System Based on Windows Driver
- Research on Sandbox Technology for Malicious Code Detection
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Research on Performance Anti-pattern Detection of the Component Based Running Systems
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Research on Resources Adaptive Methods of Optimizational Implementation in Data Layer and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B