White-box Testing of Service Compositions Via Event Interfaces

Chunyang Ye and Hans-Arno Jacobsen.

University of Toronto, 2010.
Pages 1-20.


Service-oriented applications are usually composed of services from different organizations. To protect the business interests of service providers, the implementation details of services are usually invisible to service consumers. This makes it challenging to white-box test service-oriented applications because of the difficulty to determine accurately the test coverage of a service composition as a whole and the difficulty to design test cases effectively. To address this problem, we propose an approach to white-box test service compositions based on events exposed by services. By deriving event interfaces to explore test coverage information from service implementations, our approach allows service consumers to determine accurately test coverage during testing based on events exposed by services at runtime. We also develop an approach to design test cases effectively based on services' event interfaces. The experimental results show that our approach outperforms existing testing approaches for service compositions with 35% more test coverage rate, 19% more fault-detection rate and 80% fewer test cases needed.


Tags: algorithms, business process, event exposure, event interface, service composition, web services, service testing, white-box testing

Readers who enjoyed the above work, may also like the following:

  • Whitening SOA Testing Via Event Exposure.
    Chunyang Ye and Hans-Arno Jacobsen.
    IEEE Transactions on Software Engineering, 39(10)1444 -1465, Oct 2013.
    Tags: event exposure, event interface, event processing, web services, white-box testing, service composition, service testing
  • Polaris: a framework to comPOse and evoLve smArt web seRvices vIa event expoSure.
    Chunyang Ye and Hans-Arno Jacobsen.
    Tags: web services, event exposure, service composition, service evolution
  • Event Exposure for Web Services: A Grey-box Approach to Compose and Evolve Web Services.
    Chunyang Ye and Hans-Arno Jacobsen.
    In The Smart Internet: Current Research and Future Applications, volume 6400, pages 197-215, Springer, 2010.
    Tags: event exposure, web services, event interface