Sökning: L773:1573 1367 OR L773:0963 9314 >
Exploring behaviour...
Exploring behaviours of RESTful APIs in an industrial setting
-
- Karlsson, Stefan (författare)
- Mälardalens universitet,Inbyggda system,ABB AB, Västerås, Sweden.
-
- Jongeling, Robbert (författare)
- Mälardalens universitet,Innovation och produktrealisering
-
- Causevic, Adnan (författare)
- ABB AB, Västerås, Sweden.
-
visa fler...
-
- Sundmark, Daniel (författare)
- Mälardalens universitet,Inbyggda system
-
visa färre...
-
(creator_code:org_t)
- Springer, 2024
- 2024
- Engelska.
-
Ingår i: Software quality journal. - : Springer. - 0963-9314 .- 1573-1367.
- Relaterad länk:
-
https://doi.org/10.1...
-
visa fler...
-
https://urn.kb.se/re...
-
https://doi.org/10.1...
-
visa färre...
Abstract
Ämnesord
Stäng
- A common way of exposing functionality in contemporary systems is by providing a Web-API based on the REST API architectural guidelines. To describe REST APIs, the industry standard is currently OpenAPI-specifications. Test generation and fuzzing methods targeting OpenAPI-described REST APIs have been a very active research area in recent years. An open research challenge is to aid users in better understanding their API, in addition to finding faults and to cover all the code. In this paper, we address this challenge by proposing a set of behavioural properties, common to REST APIs, which are used to generate examples of behaviours that these APIs exhibit. These examples can be used both (i) to further the understanding of the API and (ii) as a source of automatic test cases. Our evaluation shows that our approach can generate examples deemed relevant for understanding the system and for a source of test generation by practitioners. In addition, we show that basing test generation on behavioural properties provides tests that are less dependent on the state of the system, while at the same time yielding a similar code coverage as state-of-the-art methods in REST API fuzzing in a given time limit.
Ämnesord
- NATURVETENSKAP -- Data- och informationsvetenskap -- Programvaruteknik (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences -- Software Engineering (hsv//eng)
Nyckelord
- Property-based testing
- Examples
- Automated testing
- REST API test generation
- OpenAPI
Publikations- och innehållstyp
- ref (ämneskategori)
- art (ämneskategori)
Hitta via bibliotek
Till lärosätets databas