Testing of Web Services using Behavior-Driven Development

Ahmet Furkan Oruç, Tolga Ovatman

2016

Abstract

Web services are commonly used in the communication of software over the web. To fully trust a web service, it should be tested and certified, but testing of web services provoke new challenges. Behavior-Driven Development (BDD) can be applied to the testing of web services. Gherkin language is used to define scenarios in BDD. We used Gherkin language to define test cases for web services and we developed a tool to convert these test cases into JMeter test scripts.

References

  1. Apache Software Foundation, 2016. Apache JMeter. Available at: http://JMeter.apache.org/ (Accessed at: 10 January 2016).
  2. Behat, 2016. Writing Features. Available at: http://docs.behat.org/en/latest/guides/1.Gherkin.html (Accessed at: 10 January 2016).
  3. Bozkurt M., Harman M., Hassoun Y., 2013. Testing and verification in service-oriented architecture: a survey. In Softw Test Verif Reliab vol. 23 pp. 261-313.
  4. Evans E., 2003. Domain-driven design, Addison-Wesley Professional, Boston, pp. 123-135.
  5. F. J. Lopez-Pellicer, M. Á. Latre, J. Nogueras-Iso, F. J. Zarazaga-Soria, J. Barrera, 2014. Behaviour-Driven Development Applied to the Conformance Testing of INSPIRE Web Services. In Connecting a Digital Europe Through Location and Place Lecture Notes in Geoinformation and Cartography, pp. 325-339.
  6. Gray M., Goldfine A., Rosenthal L., Carnahan L., 2010. Conformance testing. In Information technology laboratory, NIST. Available at: http://www.nist.gov/itl /ssd/is/conformancetesting.cfm (Accessed at: 10 January 2016).
  7. Lenberg, Per, Robert Feldt, Lars Göran Wallgren, 2015. Behavioral Software Engineering: A Definition and Systematic Literature Review. In The Journal of Systems and Software vol. 107 pp. 15-37.
  8. Microsoft Developer Network, 2016. What Is Windows Communication Foundation. Available at: https://msdn.microsoft.com/en-us/library/ms731082% 28v=vs.110%29.aspx (Accessed at: 10 January 2016).
  9. SmartBear, 2016. SoapUI. Available at: http://www.soap ui.org/ (Accessed at: 10 January 2016).
  10. Sommerville, Ian, 2007. Software Engineering. AddisonWesley. Harlow, England, 8th ed., pp. 537-540.
  11. Osherove, Roy, 2009. The Art of Unit Testing: With Examples in .NET. Manning, Greenwich, pp. 42-44.
  12. W. T. Tsai, X. Wei, Y. Chen, and R. Paul, 2005. A robust testing framework for verifying web services by completeness and consistency analysis. In SOSE 7805: Proceedings of the IEEE International Workshop, pp. 151-158.
  13. World Wide Web Consortium, 2015. Web Services Glossary. Available at: http://www.w3.org/TR/wsgloss/ (Accessed at: 10 January 2016).
Download


Paper Citation


in Harvard Style

Oruç A. and Ovatman T. (2016). Testing of Web Services using Behavior-Driven Development . In Proceedings of the 6th International Conference on Cloud Computing and Services Science - Volume 2: CLOSER, ISBN 978-989-758-182-3, pages 85-92. DOI: 10.5220/0005911400850092


in Bibtex Style

@conference{closer16,
author={Ahmet Furkan Oruç and Tolga Ovatman},
title={Testing of Web Services using Behavior-Driven Development},
booktitle={Proceedings of the 6th International Conference on Cloud Computing and Services Science - Volume 2: CLOSER,},
year={2016},
pages={85-92},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005911400850092},
isbn={978-989-758-182-3},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 6th International Conference on Cloud Computing and Services Science - Volume 2: CLOSER,
TI - Testing of Web Services using Behavior-Driven Development
SN - 978-989-758-182-3
AU - Oruç A.
AU - Ovatman T.
PY - 2016
SP - 85
EP - 92
DO - 10.5220/0005911400850092