Repository logo
 
Publication

Editor para testes semi-automáticos de Web API

authorProfile.emailbiblioteca@isel.pt
dc.contributor.advisorSimão, José Manuel de Campos Lages Garcia
dc.contributor.advisorDatia, Nuno Miguel Soares
dc.contributor.authorRocha, Alexandre Santos
dc.date.accessioned2025-03-13T08:41:25Z
dc.date.available2025-03-13T08:41:25Z
dc.date.issued2024-12
dc.descriptionTrabalho de Projeto para obtenção do Grau de Mestre em Engenharia Informática e de Computadores
dc.description.abstractNos dias que correm, as Web APIs são uma das formas mais comuns de realizar comunicação entre diversos serviços na Web. Embora existam diferentes estilos arquiteturais para o desenho de uma Web API, o padrão mais amplamente utilizado é o REST. Considerando o seu uso extensivo em inúmeras áreas e a sua importância, torna-se cada vez mais uma necessidade garantir o correto funcionamento das Web APIs, nomeadamente através da testagem contínua das mesmas. Num trabalho previamente realizado, foi desenvolvida a ferramenta RapiTest, com o objetivo de fornecer uma solução para o problema da testagem de RESTful APIs, seguindo uma abordagem caixa-preta. Esta ferramenta gera testes a partir da especificação da API, e, adicionalmente, faz uso da TSL, uma linguagem criada para permitir o desenvolvimento de casos de testes customizados. Este trabalho dá continuidade ao projeto anterior, focando-se em solucionar algumas das lacunas que a RapiTest apresentava, sendo a principal a falta de um editor gráfico para a elaboração de testes usando TSL. Com este objetivo, foi desenvolvido de raíz um editor interativo, utilizando uma abordagem node-based (ou flow-based), que visa tornar o processo de criação de testes fácil e intuitivo para qualquer utilizador, independentemente do seu nível de conhecimento técnico. Este permite não só a criação de configurações de teste como a edição de configurações previamente feitas, sendo capaz de carregar um ficheiro TSL e preencher o editor a partir do mesmo. Esta e outras funcionalidades desenvolvidas contribuem para acrescentar valor à RapiTest, de forma a solidificar a mesma como uma solução simples mas viável para a testagem de RESTful APIs.por
dc.description.abstractAbstract Nowadays, Web APIs are one of the most common ways of communicating between various services on the Web. Even though there are many different architectural styles for designing a Web API, the REST pattern is the most widely used across the world. Considering its extensive use in numerous areas and its importance, it is becoming increasingly necessary to guarantee the quality and correct functioning of Web APIs, namely through continuous testing. In a previous work, the RapiTest tool was developed to provide a solution to the problem of testing RESTful APIs, following a black-box approach. This tool generates tests from the API specification, and, additionally, makes use of TSL, a language created to allow the creation of customized test cases. The present work continues the development of this tool, focusing on addressing some of the flaws that RapiTest presented, the main one being the lack of a dedicated graphical editor for test configurations using TSL. With this in mind, a new interactive editor was developed from scratch, using a node-based (or flow-based) approach, with the goal of making test creation an easy and intuitive process for any user, regardless of their technical knowledge. The editor allows not only the creation of new test configurations, but also the editing of previously made configurations, by loading an existing TSL file and populating the editor with its data. This and other developed functionalities contribute to add value to the RapiTest tool, solidifying it as a simple but reliable solution for testing RESTful APIs.eng
dc.identifier.citationROCHA, Alexandre Santos – Editor para testes semi-automáticos de Web API. Lisboa: Instituto Superior de Engenharia de Lisboa. 2024. Dissertação de Mestrado.
dc.identifier.tid203811143
dc.identifier.urihttp://hdl.handle.net/10400.21/21663
dc.language.isopor
dc.peerreviewedyes
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subjectWeb API
dc.subjectRESTful API
dc.subjectInterface de utilizador
dc.subjectEditor gráfico de testes
dc.subjectInterface baseada em nós
dc.subjectUser interface
dc.subjectGraphical test editor
dc.subjectNode-based interface
dc.titleEditor para testes semi-automáticos de Web APIpor
dc.typemaster thesis
dspace.entity.typePublication
oaire.citation.endPage77
oaire.citation.startPage1
oaire.versionhttp://purl.org/coar/version/c_be7fb7dd8ff6fe43

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
AlexandreRocha_MEIC.pdf
Size:
1.29 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
4.03 KB
Format:
Item-specific license agreed upon to submission
Description: