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

Request the full text

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

  1. Research of Software Performance Testing Process and Application
    HanQingLiang ·Shandong University ·2007 ·Master's thesis
  2. Research and Implementation on File Monitor System Based on Windows Driver
    LiuShuang ·Dalian Polytechnic University ·2010 ·Master's thesis
  3. Research on Sandbox Technology for Malicious Code Detection
    ZhangCanYan ·Harbin Engineering University ·2013 ·Master's thesis
  4. And the realization of software testing reuse management subsystem design
  5. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  6. Research on software testing technology based on complex network theory
  7. Research on Performance Anti-pattern Detection of the Component Based Running Systems
    HuPeiPei ·Central South University ·2013 ·Master's thesis
  8. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  9. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  10. Research of Software Testing Method Based on Cloud Computing
  11. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  12. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  13. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  14. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  15. The Design and Implementation of Banking Software Testing Based on Bugfree
  16. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  17. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  18. Research on Resources Adaptive Methods of Optimizational Implementation in Data Layer and Its Application
    SuiXinZheng ·Nankai University ·2012 ·Doctoral dissertation
  19. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  20. Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B