Abstract
As testing has been playing an important role in guaranteeing quality of Web service in respect of E-learning, the traditional testing of Web services presents its inability such as time-consuming and flawed testing procedures as opposed to desired measures in quickly and thoroughly scanning Web services for detects. To reduce testing cost and enhance testing efficiency, our testing measure for E-learning Web services is to describe services with an annotation mixed with the Object Constrain Language (OCL) and Semantic Annotations for WSDL and XML Schema (SAWSDL), parse OCL pre-conditions and OCL post-conditions, and generate test cases with class division and boundary values. An experimental case indicates the feasibility of the proposed approach.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
E-learning. Wikipedia (2010), http://en.wikipedia.org/wiki/E-learning
Web service. Wikipedia (2010), http://en.wikipedia.org/wiki/Web_service
Web Services Description Working Group. W3C (2010), http://www.w3.org/2002/ws/desc/
Service-oriented Architecture. Wikipedia (2010), http://en.wikipedia.org/wiki/Service-oriented_architecture
Tsai, W.T., Paul, R., Wang, Y., Fan, C.: Extending WSDL to Facilitate Web Services Testing. In: 7th IEEE International Symposium on High Assurance Systems Engineering, pp. 171–172 (2002)
Siblini, R., Mansour, N.: Testing Web Services. In: Proc. of IEEE International Conference on Computer Systems and Applications, pp. 135–143 (2005)
Bai, X.Y., Dong, W., Tsai, W.T., Chen, Y.N.: WSDL-Based Automatic Test Case Generation for Web Services Testing. In: Proc. of IEEE International Workshop on Service-Oriented System Engineering (SOSE 2005), pp. 215–220 (2005)
Jiang, Y., Xin, G.: A Web Service Method of Automatic Generation of Test Data. Journal of Computers 28(4), 568–577 (2005)
Sneed, H., Huang, S.: WSDLTest-A Tool for Testing Web Services. In: Proc. of the Eighth IEEE International Symposium on Web Site Evolution, pp. 14–21 (2006)
Noikajana, S., Suwannasart, T.: Web Service Test Case Generation Based on Decision Table. In: Proc.of the 8th International Conference on Quality Software, pp. 321–326 (2008)
Semantic Annotations for WSDL and XML Schema (SAWSDL). W3C (2010), http://www.w3.org/2001/sw/wiki/SAWSDL
Dai, G., Bai, X., Wang, Y., Dai, F.: Contract-Based Testing for Web Services. In: Proc. of IEEE International Computer Software and Applications Conference, pp. 517–526 (2007)
Wang, Y., Bai, X., Li, J., Huang, R.: Ontology-based Test Case Generation for Testing Web Services. In: Proc of the Eighth International Symposium on Autonomous Decentralized Systems, pp. 43–50 (2007)
Gogolla, M., Kuhlmann, M., Büttner, F.: A Benchmark for OCL Engine Accuracy, Determinateness, and Efficiency. In: MODELS 2008. LNCS, vol. 5301, pp. 446–459. Springer, Heidelberg (2010)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Liu, J., Lu, X., Feng, X., Liu, J. (2011). OCL-Based Testing for E-Learning Web Service. In: Luo, X., Cao, Y., Yang, B., Liu, J., Ye, F. (eds) New Horizons in Web-Based Learning - ICWL 2010 Workshops. ICWL 2010. Lecture Notes in Computer Science, vol 6537. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-20539-2_18
Download citation
DOI: https://doi.org/10.1007/978-3-642-20539-2_18
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-20538-5
Online ISBN: 978-3-642-20539-2
eBook Packages: Computer ScienceComputer Science (R0)