Design and Implementation of Distributed Query Language Testing System

Author
WangChangHai
Advisor
LiuWeiBin
School
Beijing Jiaotong University
Major
Software Engineering
Classification
TP391.3 Retrieval machine
Degree
Master's thesis
Year
2012
Downloads
45
Citations
0

Request the full text

Abstract

In order to improve search service quality, identify potential customers and enhance system competitiveness, the users’ visiting logs to search engines should be analyzed. As a distributed computing framework, Distribute Query Language (DISQL) is the key in developing a log statistics platform to explore huge amounts of data. In this thesis, a DISQL Testing System is designed, which satisfies the requirements of distributed computing model. It is based on the analysis of the distributed query language and with the characteristics of the Hadoop Map-reduce distributed computing model. There are mainly four independent testing modules in the system. It utilizes several kinds of test automation technologies and achieves distributed testing of distributed query language on Hadoop cluster. The main parts of the work are shown as below.It digs deep into the functionalities of distributed query language, and analyzes the division and scope of DISQL testing system. Based on the characteristics of the Hadoop Distributed Computing Systems and the object-oriented programming used in Distributed Query Language, it realizes the automation tests in Linux by utilizing the object-oriented test methodology and choosing the agile software testing model, B-model, considering the dynamic test requirements and short development cycles.Based on the different test cases environments and considering the system architecture of the distributed query language, this paper adopts the top-down design approach and designs the API testing modules to accomplish the integration testing for the DISQL translators and operators. It also applies the SDK test modules to verify the user interfaces supplied by DISQL and performance module to evaluate the processing performance of the distributed computing framework. Besides, C Callback Test Module is implemented for module tests on the user-customized operators.The work considers both the test cases scenarios in different modules and test case logics and functionalities. It applies PHP object-orientated programming technology and integrates test scripts modular framework, test library architecture framework and data driven testing framework. Thus the automation test framework is implemented and the test cases are integrated to the DISQL test system gradually. Exploring DISQL Test System and doing regression tests iteratively on the distributed query language on Hadoop cluster, it can achieve the integration test and system testing, which supplies the important base for DISQL releases and future performance improvements.

Table of contents

Thanks 5-6 Chinese abstract 6-7 Abstract 7-12 1 Introduction 12-16 1.1 Background and significance 12-13 1.2 software Test status quo at home and abroad 13-14 1.3 the main work organization 14 1.4 article structure 14-16 2 related technologies introduced 16-28 2.1 software Testing model Overview 16-18 2.1.1 V- model introduction 16-17 2.1.2 W- model introduction 17 2.1.3 B- model introduction 17-18 2.2 testing object-Oriented technology Overview 18-19 2.3 software test automation 19-21 2.3.1 test script modularity framework 19-20 2.3.2 test database Architecture framework 20 2.3.3 data Driven testing Framework 20-21 2.4 Introduction to Hadoop distributed computing system 21-25 2.4. a distributed computing model Hadoop Map-reduce Profile 21-23 2.4.2 distributed File System HDFS Introduction 23-24 2.4.3 Hadoop design structure 24-25 2.5 log analysis system LSP Overview 25-26 2.6 distributed query Language DISQL Overview 26-27 2.7 Summary 27-28 3 DISQL test system needs analysis 28-32 3.1 DISQL functional analysis 28 3.2 test system function modules 28-29 select 3.3 software testing technology 29-30 automation strategy nbsp 3.4 DISQL test system ; 30-31 3.5 Summary 31-32 4 DISQL test system architecture design 32-46 4.1 DISQL test system design 32-34 4.1.1 DISQL test system operating environment 32 4.1.2 DISQL test system function modules 32-34 4.1.3 DISQL run each module timing 34 4.2 API operator module design 34-37 4.2.1 API operator module design 34-35 4.2.2 API operator test case design 35-37 4.3 SDK test module design 37-39 4.3.1 SDK using the parameters introduced 37-38 4.3.2 SDK parameter test case design 38 4.3 .3 SDK test module design 38-39 4.4 performance test module design 39-41 4.4.1 performance test module functional analysis 39-40 4.4.2 performance test module design 40-41 4.5 C callback test module design 41-45 4.5.1 C callback workflow 41-42 4.5.2 C callback workflow case design 42-44 4.5.3 C callback module design 44-45 4.6 of this chapter Summary 45-46 5 DISQL test system module 46-66 5.1 API operator test module 46-51 5.1.1 API operator module testing framework to achieve 46-48 5.1.2 test suite organization and implementation 48-50 5.1.3 and achieve the expected results set the organization 50 5.1.4 API operator test run mode 50-51 5.1.5 API operator test module features 51 5.2 SDK test module 51-57 5.2.1 SDK test module testing framework to achieve DISQL job design nbsp 51-52 5.2.2 test used ; 52 5.2.3 TASK kit set to achieve 52-54 5.2.4 MR suite set to achieve 54-55 5.2.5 STATE kit set to achieve 55-57 5.2.6 SDK test module features 57 5.3 performance test module 57-59 5.3.1 performance test module testing framework to achieve 57-58 5.3.2 performance test Module distributed diff tool to achieve 58 5.3.3 line with the principle of selecting test cases 58-59 5.3. 4 performance test module features 59 5.4 C callback test module achieve 59-63 5.4.1 public toolset 59-62 <br / > 5.4.2 module test suite organization and implementation 62 5.4.3 abnormal test organization and implementation 62-63 5.4.4 C callback function test module Features 63 5.5 Summary ; nbsp 63-66 6 DISQL test system deployment and implementation 66-74 6.1 DISQL test system deployment 66-67 6.2 DISQL test system implementation strategy 67 6.3 test report analyzes 67-73 6.3.1 API operator test module test reports 68-69 6.3.2 SDK test module test reports 69-70 6.3.3 performance test module test reports 70-71 6.3.4 C callback test module test reports 71-73 6.4 test results 73-74 7 Conclusion and Outlook 74-76 7.1 summarizes 74-75 7.2 Prospects 75-76 References 76-78 Author Biography 78-82 dissertation datasets 82

Related dissertations

  1. The Research and Development of End of Line Test System in Electric Vehicles Based on LabVIEW
    HeLiang ·University of North ·2014 ·Master's thesis
  2. A Physical Layer Test System and Test Method of MVB and WTB Equipment
    LiuBo ·Zhejiang University ·2014 ·Master's thesis
  3. Modeling and Simulation for Traction Power Supply System of High-Speed Railways Based on Rtds
    YangHao ·Southwest Jiaotong University ·2013 ·Master's thesis
  4. The Application of Automatic Generation of Test Scripts in Object-oriented Software Testing
    ZhaoBinFei ·Jilin University ·2008 ·Master's thesis
  5. Research on Class Test Based on Extended UML Statechart Diagram
    DuanFang ·Dalian University of Technology ·2005 ·Master's thesis
  6. The Design and Implementation of a prototype Generating Non-Equivalent Terms as Test Cases for Object-Oriented Class-Level
    SongYuan ·Jinan University ·2001 ·Master's thesis
  7. The Investigation on a Semi-Automatic Tool for Generating Normal Forms for Object-Oriented Software Testing at Class Level
    HeMeiLing ·Jinan University ·2008 ·Master's thesis
  8. The Investigation and Implementation of an Aided Tool for Generating Test Cases for Object-Oriented Class Level
    ShenHongFu ·Jinan University ·2008 ·Master's thesis