DocumentCode :
125507
Title :
Property-Based Testing of JSON Based Web Services
Author :
Fredlund, Lars Ake ; Benac Earle, Clara ; Herranz, Angel ; Marino, Julio
Author_Institution :
Babel Group, Univ. Politec. de Madrid, Madrid, Spain
fYear :
2014
fDate :
June 27 2014-July 2 2014
Firstpage :
704
Lastpage :
707
Abstract :
This article describes a systematic approach to testing behavioural aspects of Web Services that communicate using the JSON data format. As a key component, the Quviq QuickCheck property-based testing tool is used to automatically generate a large number of test cases from an abstract description of the service behaviour in the form of a finite state machine. The same behavioural description is also used to decide whether the execution of a test case is successful or not. To generate random JSON data for populating tests we have developed a new library, jsongen, which given a characterisation of the JSON data as a JSON schema, automatically derives a QuickCheck generator which is capable of generating an infinite number of JSON values that validate against the schema.
Keywords :
Java; Web services; computer debugging; finite state machines; JSON data format; JavaScript object notation language; Web services; debugging; finite state machine; quviq quickcheck property-based testing tool; Abstracts; Generators; Libraries; Servers; Testing; Web services; Testing and Debugging; Web Services;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Web Services (ICWS), 2014 IEEE International Conference on
Conference_Location :
Anchorage, AK
Print_ISBN :
978-1-4799-5053-9
Type :
conf
DOI :
10.1109/ICWS.2014.110
Filename :
6928970
Link To Document :
بازگشت