A framework for automated testing of web service choreographies
نویسندگان
چکیده
Web services are loosely-coupled software components designed to support interoperable machineto-machine interaction over the Internet. To achieve such interoperability, web services are accesible through W3C web standards, independently of which language, operation system, or hardware platform they are developed. Due to these characteristics, simple web services can be combined in more complex ones. There are two main approaches for composing services: orchestration and choreographies. In an orchestration, a central node (the orchestrator) coordinates the ow of information from other participating services. Although straightforward and simple, its centralized nature leads to scalability and fault-tolerance problems. As a solution, choreographies have been proposed as decentralized and scalable solutions for composing web services. Nevertheless, inherent characteristics of SOA such as dynamicity, third-party and governance issues, and the decentralized ow of information, make the automated testing of choreographies di cult. The goal of this research is to develop a framework for automated testing of choreographies to support Test-Driven Development (TDD) of choreographies. This framework provides a set of features to assist the choreography developer during choreography testing. Through this framework: (i) the elements (services, roles, messages) of a choreography can be manipulated as Java Objects; (ii) web service operations can be invoked dynamically; and (iii) messages exchanged in the choreography can be intercepted and analyzed. Since real choreographies involve multiple internal and external services, the framework also provides mechanisms for mocking web services or invoking them in their real environments. With this set of features, we intend to support choreography testing by providing the needed mechanisms for automating the testing of (i) atomic web services (unit testing); (ii) their integration in the choreography (integration testing); and then, (iii) a part or the whole choreography (acceptance testing).
منابع مشابه
Supporting Test-Driven Development of Web Service Choreographies
Choreographies have been proposed as decentralized and scalable solutions for composing web services. Nevertheless, inherent characteristics of SOA such as dynamicity, scale, and governance issues make the automated testing of choreographies difficult. The goal of our research is to adapt the automated testing techniques used by the Agile Software Development community to the SOA context. To ac...
متن کاملBringing Test-Driven Development to web service choreographies
Choreographies are a distributed approach for composing web services. Compared to orchestrations, which use a centralized scheme for distributed service management, the interaction among the choreographed services is collaborative with decentralized coordination. Despite the advantages, choreography development, including the testing activities, has not yet evolved sufficiently to support the c...
متن کاملConformance Test of Federated Choreographies
Web Services technology is constantly gaining importance for automation of business processes. A major contribution of this technology is its integration capability, i.e. compositions allowing several autonomous but cooperating web services to implement a business process going beyond the boundaries of a single organization. Federated choreographies provide a framework for modular modeling comp...
متن کاملDevelopment Framework for Web Service Choreographies in Pervasive Environments
Nowadays mobile devices like PDAs and smart phones are not only becoming extremely popular, mainly due to their decreased price tag, but they are also becoming more intelligent. These mobile devices are a valuable asset to incorporate in large scale applications, e.g. making bank payments via SMS. However, it does not have to stop with mobile devices and server applications. When we add sensor ...
متن کاملWeb Service Choreography Verification Using Z Formal Specification
Web Service Choreography Description Language (WS-CDL) describes and orchestrates the services interactions among multiple participants. WS-CDL verification is essential since the interactions would lead to mismatches. Existing works verify the messages ordering, the flow of messages, and the expected results from collaborations. In this paper, we present a Z specification of WS-CDL. Besides ve...
متن کامل