Variation in the optimization of test data and

Author
ChenYingYing
Advisor
JiangZuo
School
Kunming University of Science and Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
14
Citations
1

Request the full text

Abstract

With the continuous development of Web applications, a kind of Internet-based component providing online services came into being, which is called Web Services. The emergence of Web Services solved the high-cost issues of the system integration that caused by differences of languages, platforms, agreements, and data, and brought a significant reduction in the cost of the development. The widely use of Web Services must be on the premise of their reliable quality. Therefore, to ensure the quality of Web Services has become a critical issue.Software testing is an important technology to ensure the quality of Web Services. Test data generation is an important part of Web services testing. The quality and effectiveness of test data will directly affect the efficiency and costs of Web services testing. How to automatically generate test data for Web Services has become a problem needing resolve urgently.This dissertation is aim at generate the test data with high effectiveness based on the dissertation of "Design and Implementation of Web Services Test Platform". In the research of "Design and Implementation of Web Services Test Platform", the initial test data is generated using the equivalent class partition, boundary value analysis and random method according to the WSDL documents. It can generate test data automatically for Web Services based on the contracts. However, the amount of initial test data generated in this way is too large. There is much redundancy of the initial test data, which need much time and cost to execute the testing and result in high cost and low efficiency. In order to solve this problem, we optimize the initial test data generated for Web Services using mutation testing technology; the mutants are generated using search-targeted replacement arithmetic; the test data achieving a certain testing score is ultimately generated. Some experiments on actual Web services are listed to verify the validity of this method.This dissertation first introduces the study of the test cases optimization at home and abroad. And the source code mutation and contract mutation will be used to optimize the test data. The mutants are generated using 5 key mutation operators of 22 traditional mutation operators when mutate the source code. The contract mutation use 3 operators to mutate the pre-condition contract. Initial test data can run the source program only after through the contract check. Then the result of running source program and the mutants is compared, the number of killed mutants and equal mutants is counted, and the mutation score is calculated. The test data that can kill the mutants is effective.In this dissertation, the feasibility of two mutation methods is verified through the experiments on Web Services. The comparison of the mutation score of two mutation method and the analysis of experiment results show that the contract mutation is more effective than the source code mutation.

Table of contents

Abstract 3-4 Abstract 4-6 directory 6-9 Chapter Introduction 9-18 <br / 1.1 Background and significance of the topic 9-13 1.1.1 Background 9-13 1.1.2 significance of the topic 13 1.2 The research status 13-16 1.2.1 overseas research is 13-14 1.2.2 the domestic front, 14-15 1.2 .3 the problems 15-16 1.3 This work and the arrangement of the chapters 16 1.4 Summary 16-18 Chapter II technology 18-25 2.1 contract concept 18-19 2.2 mutation testing technology 19-23 2.2.1 the explants wrong test principle 19 2.2.2 variability the test of the basic principles of 19-21 2.2.3 mutation testing characteristics 21-22 2.2.4 Mutation Testing key technology 22-23 2.3 pre-basic work 23-24 2.4 Summary 24-25 source of variation and contract variation 25-34 3.1 source code variation 25-29 3.1.1 Introduction 25-26 3.1.2 source code mutation operator determine 26-28 3.1.3 source code variant generation 28-29 3.2 contract variation 29-32 3.2.1 Introduction 29-30 3.2.2 contract variation operator to determine 30-31 3.2.3 Contract variants generated 31-32 3.3 test data in the original program and variants 32-33 3.4 Summary 33-34 Chapter test data to optimize the subsystem design and realization of 34 -51 4.1 system analysis 34-35 4.1.1 functional requirements 34-35 4.2 system design 35-46 4.2.1 Database Design 35-36 4.2.2 functional design 36-46 4.2.2.1 source code variation module 38-41 4.2.2.2 contract variation module 41-43 4.2.2.3 test data to perform the original program and variants 43-45 4.2.2.4 Analysis of variation results 45-46 4.3 system to achieve 46-50 4.3.1 dynamic proxy class generated Web service call 46-47 4.3.2 system running 47-50 4.4 Summary 50-51 Chapter experiments and results analysis 51-69 5.1 first group instance 51-58 5.1.1 instance a 51-52 5.1.2 instance two 52-53 5.1.3 instance three 53 - 55 5.1.4 instance of four 55-56 5.1.5 The first set of experiments the results of 56-58 5.2 second instance 58-67 5.2.1 instance a 58-60 5.2.2 instance two 60-61 5.2.3 instance three 61 -63 5.2.4 instance of four 63-64 5.2.5 The second set of experiments the results of 64-67 5.3 Experimental results 67-68 69 5.4 of this chapter Summary 68-69 Chapter VI Summary and Outlook 69-71 6.1 summarize 6.2 the existence of problems and lack of 69-70 6.2.1 of the problems 69-70 6.2.2 insufficient 70 6.3 Looking 70-71 thank 71-72 76 References 72-76 Appendix A Master was released during the thesis and project

Related dissertations

  1. Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
    WangLu ·Dalian Jiaotong University ·2013 ·Master's thesis
  2. Configuration Modeling and Applications Based on Web
  3. Based on Rough Set Web Service Combinatorial Optimization Research
  4. Research and Implementation of Campus Network Network Operation and Maintenance Management System
    XiaoZhong ·Hebei University of Technology ·2013 ·Master's thesis
  5. Study on Some Key Technologies on Semantic Web Services
  6. Web Service Recommendation Method Based on the Network Location
  7. Design and Implementation of Guangxi Investment Group Coordination Office Automation System Based on the SOA
    LiangKaiRong ·Guangxi University ·2012 ·Master's thesis
  8. The Research of Data Mining Components Based on SOA Architecture
    LiuQingYun ·Shenyang Ligong University ·2013 ·Master's thesis
  9. Design and Implementation of Financial Management Course Training Platform
    WuTieJian ·Hunan University ·2013 ·Master's thesis
  10. Design and Implementation of Human Resource Management System of Machinery Company Based on SSH Framework
    WangYi ·Jilin University ·2013 ·Master's thesis
  11. Research and Implementation of Web Services Technology in EAI Application Architecture
  12. Design and Implementation of Electronic Business System for Financial Enterprise Based on WEB
  13. Research and Design School in Formation Sharing Platform Based on SOA Technology
  14. Study and Realization of WEB-based Government Public Platform
    DengJianQiang ·Tianjin University ·2012 ·Master's thesis
  15. Based on3G/Android System Mobile Customer Service System
    ZhouShiYu ·Ocean University of China ·2012 ·Master's thesis
  16. Design and Implementation of Integrated Office Management System for Wenzhou Tobacco Company
    WangYuanYuan ·Xiamen University ·2013 ·Master's thesis
  17. Design and Implementation Cooperative Office System for Grassroots Government Based on Web Service
    LiangXiao ·Xiamen University ·2013 ·Master's thesis
  18. Design and Implementation of Agricultural Scientific Research Subject Application System
    CaoPengCheng ·Xiamen University ·2013 ·Master's thesis
  19. Design and implementation of the system of service oriented campus information sharing
  20. And Realization of ERP system information integration middleware and Design Enterprises
    WuChenZuo ·Heilongjiang University ·2013 ·Master's thesis