Verification of Hypermedia Characteristic of RESTful Finite-State Machines

被引:3
作者
Vu, Henry [1 ]
Fertig, Tobias [1 ]
Braun, Peter [1 ]
机构
[1] Univ Appl Sci Wurzburg Schweinfurt, Wurzburg, Germany
来源
COMPANION PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2018 (WWW 2018) | 2018年
关键词
REST; RESTful Applications; RESTful Systems; Hypermedia; Hypermedia Testing; MDSD; MDT;
D O I
10.1145/3184558.3191656
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Being an architectural style rather than a specification or a standard, the proper design of REpresentational State Transfer (REST) APIs is not trivial, since developers have to deal with a flood of recommendations and best practices, especially the proper application of the hypermedia constraint requires some decent experience. Furthermore, testing RESTful APIs is a missing topic within literature and especially, hypermedia testing is not mentioned at all. To deal with this state of affairs, we have elaborated a Model-Driven Software Development (MDSD) approach for creating RESTful APIs. As this project matured, we also explored the possibility of Model-Driven Testing (MDT). This work addresses the challenges of hypermedia testing and proposes approaches to overcome them with MDT techniques. We present the results of hypermedia testing for RESTful APIs using a model verification approach that were discovered within our research. MDT enables the verification of the underlying model of a RESTful API and ensuring its correctness before initiating any code generation. Therefore, we can prevent a poorly designed model from being transformed into a poorly designed RESTful API.
引用
收藏
页码:1881 / 1886
页数:6
相关论文
共 20 条
  • [1] Amundsen M., 2017, REST SHORT VERSION
  • [2] Amundsen Mike, 2017, RESTFULWEB CLIENTS E
  • [3] [Anonymous], 2017, GROWTH WEB APIS 2005
  • [4] [Anonymous], 2010, REST PRACTICE HYPERM
  • [5] [Anonymous], 2018, HTTP SPECIFICATION
  • [6] Bloch Joshua, 2014, DESIGN GOOD API WHY
  • [7] Ed-douibi H., 2016, P 31 ANN ACM S APPL
  • [8] Model-driven Testing of RESTful APIs
    Fertig, Tobias
    Braun, Peter
    [J]. WWW'15 COMPANION: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB, 2015, : 1497 - 1502
  • [9] Fielding R.T., 2008, REST APIs must be hypertext-driven
  • [10] Fielding R.T., 2000, ARCHITECTURAL STYLES