Design and Implementation of Web Services Test Platform
- Author
- XuWei
- Advisor
- JiangZuo
- School
- Kunming University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 168
- Citations
- 3
Abstract
Component technology has been developed rapidly in recent years .It has become an effective method to increase productivity and quality in many software enterprises and supplies technical aid to solve software crisis. With the development of Web application, Web Services is emerged as a component of supplying on-line services through Internet. It solves the system integrated problem which is brought by language difference, platform difference, protocol difference and data difference and reduces the development cost. The high quality is the precondition that Web Services can be used in many fields. Therefore, it is important to insure the Web Services quality.Software testing is one of the most important techniques used to assure the quality of software component. It holds outstanding situation in software life cycle. According to Boehm’s statistic, the cost of testing is 30% to 40% in the total cost of development. Moreover, some people estimate that a half of software development time and a half of software development cost are spent in software testing. So, it has actual meaning for increasing the software testing efficiency and reducing the software testing cost.This paper presents the design and implement of the Web Services testing platform, which used B/S software architecture. It mostly has three parts: automated test data generation, dynamic calling Web Services, running the Web Services with test data, getting and analyzing testing result. Presently, there are few testing tools for Web Services at home and abroad. In this paper, the Web Services testing platform reduces testing cost, lightens labor intensity of testing engineer and gives the effective support for assuring Web Services quality.This paper presents a method of automated test data generation for the contract-based Web Services. Through analyzing Web Services’WSDL document, interface information will be extracted. If the source code of Web Services can be gained, interface information, function information and contract information will be extracted. Then test data are generated according to the contract. This method not only remedies black testing shortcoming that can’t capture the error without the internal structure, but also overcomes white testing abuse which has an overabundance of test data. Therefore, this method can increase efficiency of test data generation.There are lots of experiments in the paper, which validates the feasibility of the method of Web Services test data generation and the usablity of Web Services testing platform.
Table of contents
Abstract 3-4
Abstract 4-10
Chapter Introduction 10-18
1.1 Research background and significance of the topic 10-14
1.1.1 Background 10-13
1.1.2 significance of the topic 13-14
1.2 research status 14-16
1.2.1 foreign research 14-15
1.2.2 domestic front 15-16
1.2.3 exist 16
1.3 This paper work and chapter arrangement 16-17
1.4 This chapter Summary 17-18
Chapter II Web Services test platform designed 18-28
2.1 related technologies 18-21
2.1.1 B / S architecture 18-19
2.1.2 ASP.NET related technologies 19-20
2.1.3 ADO.NET database access technology 20-21
2.2 Systems Analysis 21-22
2.2.1 Functional Requirements 21-22
2.3 system design 22-27
2.3.1 architecture design 22-23
2.3.2 Functional Design 23-24
2.3.3 database design 24-27
2.4 This chapter Summary 27-28
Chapter Web Services test data based on the contract automatically generated 28-45
3.1 Web Services contract design 28-32
3.1.1 contract concept 28-29
3.1.2 the WSDL contract design 29-31
3.1.3 Web Services source code contract design 31-32
3.2 Web Services Basic information to obtain 32-36
3.2.1 Basic information based on the Web Services WSDL document to obtain 32-33
3.2.2 Basic information access to the source code-based Web Services 33-36
3.3 test data automatically generated 36-44
3.3.1 WSDL-based test data generation 36-37
3.3.2 source code-based test data generation 37-44
3.3.2.1 simple contract 38-40
3.3.2.2 complicated contracts 40-41
3.3.2.3 experiments 41-44
3.4 This chapter Summary 44-45
Chapter Web Services calls 45-54
4.1 SOAP 45-47
4.1.1 SOAP messages 45-46
4.1.2 the SOAP encoding 46
4.1.3 SOAP RPC 46-47
4.2 dynamic proxy class generated 47-50
4.2.1 virtual Web Services proxy 47-48
4.2.2 invoke the C # compiler 48-49
4.2.3 generate dynamic proxy class 49-50
4.3 Web Services call 50-53
4.3.1 using an agent for its customers, 51-52
4.3.2 using the proxy class 52-53
4.4 This chapter Summary 53-54
Chapter Web Services test analysis 54-60
5.1 Analysis of test results 54-56
5.1.1 testing results analysis and comparison method 54
5.1.2 Contract-based Web Services test results analysis 54-56
5.2 Web Services test results analysis instance 56-59
5.2.1 Web Services operating results and expect results 56-58
5.2.2 the Web Services test analysis 58-59
5.3 This chapter Summary 59-60
the Chapter Web Services test platform to achieve 60-70
6.1 Web Services Test Platform realization 60-63
6.1.1 Login Web Services Test Platform 60
6.1.2 for Web Services 60-61
6.1.3 Query Web Services test-related information 61-62
6.1.4 to run the test the Web Services 62-63
6.2 applications 63-68
6.3 the next step of the work 68-69
6.4 This chapter Summary 69-70
Conclusion 70-71
Acknowledgements 71-72
the
References 72-75
the
Appendix A Master during the thesis 75
Related dissertations
- Study on the principal and agent David Gusmn science and technology activities in the science of political theory of contract
- On Supply Chain Coordination with Price-Quality Dependent Demand
- Appropriable Quasi Rent of Relationship Specific Investment and Its Regulation
- Study of Fresh Agricultural Product Supply Chain Coordination under Emergency
- Research on the Control Mechanism of the Relationship between Agricultural Products Processing Company and Peasant Household
- Study on Valuation System of the Transfer of Management Rights to Contracted Rural Lands Based on Delphi
- Based on the Psychological Contract of FJ Real Estate Company Core Employee Incentive Problem Research
- The Reform of China’s Public Spending Management System Research: a Contract Theory Analysis
- Fujian Electric Power Design Institute Contract Management System Design and Implementation
- Design and Implementation of Contract Statistical Analysis System for a Company
- Impact of Psychological Contract on Teachers' In-role Performance Behavior in University-school Partnerships
- The construction of civil litigation contract
- Financial Product Contract Risk and Legal Regulation
- Study on Issues of the Crime of Contract Fraud
- The Crime of Fraud of the Contract Problems Explored
- On Several Issues about the Identification of the Contract Fraud Crime
- A Construction Contract Dispute Case Analysis of Liu, a Materials Company and an Engineering Company
- On the Rules and Regulations of Disgorgement
- Investigation report on rural land contracting contract dispute in Shuangcheng City
- That the Contract Is Legally Binding on Interlocked Penal and Civil Cases