Testing the Web Service Applicaton Based on TTCN-3
- Author
- DiYaJuan
- Advisor
- ZhaoHuiQun
- School
- North China University of Technology
- Major
- Computer Software and Theory
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 108
- Citations
- 1
Abstract
Web services present a promising software technology, which provides application-to-application interaction. They are based on communication protocols, service descriptions, and service discovery and are built on top of existing Web protocols and based on open XML messaging technology. Web services are described using Web Services Description Language (WSDL), and the universal description, discovery, and integration directory provide a registry of Web services descriptions. It is considered as a prevailing integration technology on Internet due to its language and platform-independence which bring difficulties on testing.Testing Web services is important for both the Web service provider and the Web service user. This paper proposes a technique for testing Web services using the Testing and Test Control Notation (TTCN-3), which is a standardised testing language well suited for black-box testing of distributed systems such as Web services. Also due to its abstract test specification methodology, it allows easy adaptation to different Web service frameworks or platforms.For the diverse possibilities of languages and platforms of web service, we propose an efficient mapping approach for Web Service ATS (Abstract Test Suite) with TTCN-3 which can accommodate all varieties of client types, and design a algorithm to automatically generate an ATS in TTCN-3 from WSDL files and test case specifications.The automation of the mapping implemented as a Java console application is introduced afterwards. Finally, we presented the process of the test approach via a test case, illustrated that specifying test suites at an abstract level in TTCN-3 the test suites are language and platform-independent, and can be reused by diverse types of clients.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-12
1.1 research purpose and meaning 9 < br /> 1.2 research contents and methods 9-10
1.3 paper structure 10-12
2 related theories and technologies 12-28 <br / > 2.1 Web services principles and test methods 12-21
2.1.1 Web service principle 12-17
2.1.2 Web service testing basic concepts 17 -21
2.2 TTCN-3 Introduction 21-28
2.2.1 TTCN-3 core language 22-25
2.2.2 TTCN-3 test architecture 25-28
3 TTCN-3 based test methods for Web services research 28-42
3.1 WSDL to TTCN-3 describes the overall conversion rules 28 -31
3.2 WSDL to TTCN-3 conversion to achieve 31-40
3.3 WSDL to TTCN-3 abstract test suite automatically generated algorithm 40-41
3.4 Web service performance testing TTCN-3 abstract test suite 41-42
4 Web services Testing system encoder / decoder and adapters to achieve 42-50
4.1 Web services test System encoder / decoder implementations 42-45
4.1.1 encoding process implementations 43
4.1.2 decoding process implementations 43-44
4.1.3 generic Web service test system encoder / decoder implementations 44-45
4.2 Web service testing System adapter implementations 45-50 <br / > 4.2.1 Web service testing system adapter runtime interfaces 45-46
4.2.2 universal adapter system under test Web services implementations 46-50
5 Web services application platform for the realization of automated testing 50-56
5.1 test Platform overall system design 50-52
5.2 WSDL automatically converted TTCN-3 abstract test suite generation wizard realization 52-54
5.3 Web service project template template Universal Test realization 54-55
5.4 Web service test platform execution module 55-56
6 Web services automated test simulation platform application 56-66
6.1 national currency information query the Web service test case 56-58
6.1.1 national currency information inquiry Web service test steps 56-58
6.1.2 information Query Web service national currency on the test bench test suite execution 58
6.2 stock query Web service test case 58-66
6.2.1 stock query Web services automatically generated abstract test suite 60-62
6.2.2 stock query Web service encoder / decoder implementation 62-63
6.2.3 stock query Web service System adapter for 63
6.2.4 stock query Web service on the test bench test suite execution 63-66
Conclusion 66-68
References 68-72
apply for graduate academic papers published during 72-74
Acknowledgements 74
Related dissertations
- Study on Implementation Technology of Mobile Network Application Software Emulation Test Environment
- Study on Methodology of Developing Software Testing Suite of Streaming Media Protocol Stack
- Design and Develop of Simulating Environment for Protocol Conformance Test Framework
- Research on Method and Technique of Service-oriented Applications’ Reliability Testing
- The Research and Implementation of ERP Testing Based on TTCN-3
- A design and implementation of TTCN-3 codec based on Diameter protocol
- Study on AUTOSAR Conformance Testing by Using TTCN-3
- The Study on Protocol Conformance Testing Based on TTCN-3
- The Design and Implement of a Testing Tool Based on TTCN-3 to TLS Secure Software System
- The Research of the Realization of the Codec in TTCN-3 Testing Platform
- The Implement and Auto Generation of TTCN-3 Encoder and Decoder
- The Research and Implementation of Universal Decoder Based on TTCN-3
- Study on the Southwest Oil&Gasfield Company Emergency Management Information System Design and Implementation
- Research on information coding and decoding technology of digital audio stream
- Design and research of testing system of MPLS L2VPN protocol based on TTCN-3
- Application to create a more broad auditory space - HD TV programs for TV 5.1 surround sound technology
- Design of Network Video Surveillance System Based on Embeded Linux OS
- The Research and Application of OpenMAX IL
- TTCN-3Test Suits Generation Approach for Corba Network Management Interfaces
- Research on Conformance Testting of LDP Protocol Based on E-Lotos