Title :
A Combinatorial Approach to Multi-session Testing of Stateful Web Services
Author :
Li, Li ; Chou, Wu
Author_Institution :
Avaya Labs. Res., Avaya Inc., NJ, USA
Abstract :
Most researches on web service testing have been focused on single session test where all messages are correlated. However, web services should support multisession interactions as part of the functional requirements. Concurrent multi-session testing is useful but non-deterministic. This paper proposes a combinatorial approach for multi-session test sequence generation by multiplexing single session test sequences.The paper shows that directly multiplexing operation sequences is impractical, and it introduces inverse operation sequence and condition combinations to reduce the search space. However, finding optimal operation sequences to completely cover the condition combinations turns out to be NP hard as it is equivalent to the classic set covering and Hamiltonian cycle problems. To address this issue, we introduce the concept of pivotal condition and devised a counting scheme to generate complete condition transition graphs for pivotal conditions. An efficient random walk algorithm is proposed to minimize condition transition graphs with guaranteed coverage of pivotal conditions. The proposed algorithms have been implemented and their performances are reported in the experimental results.
Keywords :
Web services; computational complexity; graph theory; optimisation; program testing; Hamiltonian cycle problems; NP hard problem; Web services; classic set covering; combinatorial approach; concurrent multi-session testing; condition transition graphs; inverse operation sequence; optimal operation sequences; pivotal condition; random walk algorithm; single session test sequence; Automatic generation control; Automatic testing; Controllability; Costs; Data structures; Resource management; Sequential analysis; Subscriptions; Web services; Yarn; Combinatorial Approach; Multi-Session Testing; Web Service Testing;
Conference_Titel :
Services - I, 2009 World Conference on
Conference_Location :
Los Angeles, CA
Print_ISBN :
978-0-7695-3708-5
Electronic_ISBN :
978-0-7695-3708-5
DOI :
10.1109/SERVICES-I.2009.38