Open Access Open Access  Restricted Access Subscription or Fee Access

Test Case Generation and Prioritization for Semantic Based Web Services using Orthogonal Array Testing Technique

A. Askarunisa, A.M. Abirami, Dr.N. Ramaraj


Web Services (WS) are the basic building blocks for every e-business applications. They provide efficient reusability mechanism, thereby reducing the development time and cost. Web services can be identified by Uniform Resource Identifier (URI). The interfaces and bindings of Web Services can be discovered, defined and described as XML artifacts according to Web Service Description Language (WSDL). WSDL can be used to describe web service operations including input, output and exceptions. It cannot identify pre and post conditions of web services. But Semantic WSDL (WSDL-S) identifies the pre and post conditions of web services to generate optimal number of test cases. This paper presents an approach for generating web service test cases using WSDL-S and Object Constraint Language (OCL), while the test case generation technique is Orthogonal Array Testing (OAT). We have generated WSDL of web service to be tested using NetBeans IDE and converted into WSDL-S by giving OCL references, where pre and post conditions are defined. Test data, using OAT, with different factors, levels and strengths are generated and documented in XML based test files called Web Service Test Specifications (WSTS) and executed. Test cases are prioritized based on different criteria like statement coverage, condition coverage, execution time and fault rate. We have conducted testing on various web service applications and the results have shown that the test case prioritization based on fault rate is effective for determining the faults earlier and it is proved by the metric Average Percent of Fault Detection (APFD).


Web Services Testing, Semantics, Test Case Generation, Orthogonal Testing, Test Case Prioritization, APFD, FDD, FDE Metrics

Full Text:



Siripol Noikajana, Taratip Suwannasart, “An Improved Test Case Generation Method for Web Service Testing from WSDL-S and OCL with Pair-wise Testing Technique”, in Proceedings of IEEE International Computer Software and Applications Conference, 2009.

Xiaoying Bai, Wenli Dong, W.-T. Tsai, and Y. Chen, “ WSDL-based automatic test case generation for Web services testing”, in Proceedings of IEEE International Workshop on Service-Oriented System Engineering, 2005, pp.207-212.

Chunyan Ma, Chenglie Du, Tao Zhang1, Fei Hu, “WSDL-Based Automated Test Data Generation for Web Service”, 2008,

John T. E. Timm, Gerald C. Gannod, “Specifying Semantic Web Service Compositions using UML and OCL”, in Proceedings of

the IEEE International Conference on Web Services, 2007., 2007, pp. 521-528.

Sebastien Salva, Isaam Rabhi, “Automatic Web Services Roubustness Testing from WSDL Descriptions”, 2009,

J Offutt, W.Xu, “Generating Test Cases for Web Services using Data Perturbation”, ACM SIGSOFT, Software Eng. Notes, Vol. 29(5), Sep. 2004, pp. 1-10.

M. Hong and Z. Lu, "A framework for testing Web services and its supporting tool," in Proceedings of the IEEE International Workshop Service-Oriented System Engineering, 2005, pp. 199-206.

Xiaoying Bai and Shufang Lee Wei-Tek Tsai and Yinong Chen, “Ontology-Based Test Modeling and Partition Testing of Web Services”.

Evan Martin, Suranjana Basu, Tao Xie, “Automated Robustness Testing of Web Services”, 2008.

Yongyan Zheng, Jiong Zhou, Paul Krause, “An Automatic Test Case Generation Framework for Web Services”, 2007.

Mounir Lallali, Faitha Zaidi, Ana Cavalli, Iksoon Hwang, “Automatic Timed Test Case Generation for Web Services Composition”, 2007.

Siripol Noikajana and Taratip Suwannasart, “Web Service Test Case Generation Based on Decision Table”, 2008.

Hanna Samer, Munro Malcolm, “An Approach for Specification-based Test Case Generation for Web Services”, 2007.

Reda siblini, Mashat mansour, “Testing web services”, 2005

Xiaoying bai, Yinong Chen, Zhongkui shao, “Adaptive web services testing”, 31st international computer software and applications conference, 2007

Ashok kumar, “Automated regression suite for testing web services”, 2009 international conference on advances in recent technologies in communication and computing

Andre luiz Da Silva Solino, Sivvia Regina Vergillio, “Mutation based testing of web services”, 2009

“Semantic Web Services Tutorial”, by Michael Stollberg and Armin Haller

“UML 2.0 OCL Specification”, by Object Management Group


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.