Debido al alto tráfico generado por robots, aplicamos límites en el número de peticiones permitidas por cliente y bloqueos por IP automáticos. Si haces un uso legítimo y estás teniendo problemas, avísanos para reevaluar nuestras políticas de bloqueo. Disculpa las molestias.

Resumen:
Online Testing of RESTful APIs: Promises and Challenges

bs.conference.acronymJISBD
bs.conference.nameJornadas de Ingeniería del Software y Bases de Datos (JISBD)
bs.edition.date2023-09-12
bs.edition.locationCiudad Real
bs.edition.nameXXVII Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2023)
bs.proceedings.editorDurán Toro, Amador
bs.proceedings.nameActas de las XXVII Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2023)
dc.contributor.affiliationConstructor University; Università della Svizzera Italiana, Switzerland
dc.contributor.affiliationUniversidad de Sevilla, Spain
dc.contributor.affiliationUniversidad de Sevilla, Spain
dc.contributor.authorMartin-Lopez, Alberto
dc.contributor.authorSegura, Sergio
dc.contributor.authorRuiz-Cortés, Antonio
dc.contributor.emailalberto.martin@usi.ch
dc.contributor.emailsergiosegura@us.es
dc.contributor.emailaruiz@us.es
dc.contributor.signatureMartin-Lopez, Alberto
dc.contributor.signatureSegura, Sergio
dc.contributor.signatureRuiz-Cortés, Antonio
dc.date.accessioned2023-09-09T21:15:23Z
dc.date.available2023-09-09T21:15:23Z
dc.date.issued2023-09-12
dc.description.abstractOnline testing of web APIs---testing APIs in production---is gaining traction in industry. Platforms such as RapidAPI and Sauce Labs provide online testing and monitoring services of web APIs 24/7, typically by re-executing manually designed test cases on the target APIs on a regular basis. In parallel, research on the automated generation of test cases for RESTful APIs has seen significant advances in recent years. However, despite their promising results in the lab, it is unclear whether research tools would scale to industrial-size settings and, more importantly, how they would perform in an online testing setup, increasingly common in practice. In this paper, we report the results of an empirical study on the use of automated test case generation methods for online testing of RESTful APIs. Specifically, we used the RESTest framework to automatically generate and execute test cases in 13 industrial APIs for 15 days non-stop, resulting in over one million test cases. To scale at this level, we had to transition from a monolithic tool approach to a multi-bot architecture with over 200 bots working cooperatively in tasks like test generation and reporting. As a result, we uncovered about 390K failures, which we conservatively triaged into 254 bugs, 65 of which have been acknowledged or fixed by developers to date. Among others, we identified confirmed faults in the APIs of Amadeus, Foursquare, Yelp, and YouTube, accessed by millions of applications worldwide. More importantly, our reports have guided developers on improving their APIs, including bug fixes and documentation updates in the APIs of Amadeus and YouTube. Our results show the potential of online testing of RESTful APIs as the next must-have feature in industry, but also some of the key challenges to overcome for its full adoption in practice.
dc.identifier.citationMartin-Lopez, A., Segura, S., Ruiz-Cortés, A.: Online Testing of RESTful APIs: Promises and Challenges. In: Durán Toro, A. (ed.) Actas de las XXVII Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2023). Sistedes (2023). https://hdl.handle.net/11705/JISBD/2023/5274
dc.identifier.citation-bibtex@inproceedings{11705:JISBD:2023:5274, title = {{Online Testing of RESTful APIs: Promises and Challenges}}, author = {Martin-Lopez, A. and Segura, S. and Ruiz-Cort\'{e}s, A.}, url = {https://hdl.handle.net/11705/JISBD/2023/5274}, crossref = {11705:JISBD:2023} } @proceedings{11705:JISBD:2023, title = {{Actas de las XXVII Jornadas de Ingenier\'{i}a del Software y Bases de Datos (JISBD 2023)}}, author = {Dur\'{a}n Toro, A.}, year = {2023}, publisher = {{Sistedes}}, }
dc.identifier.sistedes11705/JISBD/2023/5274
dc.identifier.urihttps://hdl.handle.net/11705/2593
dc.publisherSistedes
dc.relation.ispartofActas de las XXVII Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2023)
dc.rights.licenseCC BY-NC-ND 4.0
dc.rights.urihttps://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subjectREST
dc.subjectWeb API
dc.subjectBot
dc.subjectBlack-box Testing
dc.subjectOnline Testing
dc.titleOnline Testing of RESTful APIs: Promises and Challenges
dspace.entity.typeResumen
relation.isAuthorOfAbstract699ea4c6-99a9-4738-b415-00a750cf2a4d
relation.isAuthorOfAbstract602203da-8ea7-48dd-b8e0-1ef1a4cffc50
relation.isAuthorOfAbstractce7d3481-7301-4b08-b2ab-88e665bc4456
relation.isAuthorOfAbstract.latestForDiscovery699ea4c6-99a9-4738-b415-00a750cf2a4d

Archivos

Bloque original

Mostrando 1 - 1 de 1
Cargando...
Miniatura
Nombre:
11705-JISBD-2023-5274.pdf
Tamaño:
164.75 KB
Formato:
Adobe Portable Document Format