Authors:
Henry Vu
;
Tobias Fertig
and
Peter Braun
Affiliation:
University of Applied Sciences Würzburg-Schweinfurt, Germany
Keyword(s):
REST, Hypermedia, RESTful, MDSD, MDT, Model-driven Testing, Hypermedia Testing.
Related
Ontology
Subjects/Areas/Topics:
Internet Technology
;
Mobile APIs and Services
;
Mobile Information Systems
;
Web Information Systems and Technologies
;
Web Programming
;
Web Services and Web Engineering
Abstract:
Testing RESTful systems is a missing topic within literature. Especially hypermedia testing is not mentioned at all. We discuss the challenges of hypermedia testing that were discovered within our research. We will differ between client-side and server-side challenges since REpresentational State Transfer (REST) describes a client-server system. Therefore, both sides have to be considered. Hypermedia tests for the server have to ensure that there is no response without hypermedia links. However, the client also has to be hypermedia compliant. Thus, we propose to simulate a server update to check whether the client breaks. Since we use Model-driven Software Development (MDSD) to generate RESTful systems we also propose a model-driven approach for hypermedia testing. This allows us to generate tests for a server based on its underlying model. Moreover, we can build a crawler to verify our generated servers and to test all hypermedia links for different user roles. Any modification to t
he model can result in a server update, which can be used to test hypermedia clients.
(More)