Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces

Detalhes bibliográficos
Autor(a) principal: Santos, Taynara Luana Caetano dos
Data de Publicação: 2023
Tipo de documento: Dissertação
Idioma: por
Título da fonte: Repositório Institucional da UTFPR (da Universidade Tecnológica Federal do Paraná (RIUT))
Texto Completo: http://repositorio.utfpr.edu.br/jspui/handle/1/31733
Resumo: With the increasing advancement of technology, numerous software platforms have emerged in various fields of activities, especially in WEB applications (World Wide Web). These applications can use different types of architectures, one of which is REST (Representational State Transfer). This architecture is based on an application programming interface (API - Application Programming Interface)) that uses microservices that facilitate the process of creating new components. These microservices need to go through a testing stage, where their functionality will be evaluated. It is of paramount importance that the quality assurance processes of Software products are applied during the development cycle through Software testing. However, the testing process can become onerous by performing specific actions of a particular functionality manually several times. In view of the alternatives, automated testing stands out, as it is capable of executing automatic routines and avoiding constant manual effort. This work aims to evaluate the reduction of the manual effort of testing a REST API, with the use of automated tests, which will be responsible for executing automated test routines through scripts that will be developed with the use of frameworks (mocha and chai), (JavaScript) as the main programming language and (Node.js) as a JavaScript interpreter so that the code can be executed outside of a WEB browser environment. These scripts will be responsible for validating API test scenarios that are currently performed manually and repetitively. It is also intended to evaluate the same test scenarios with the Postman tool. In the first test experiment using frameworks, the protocols for inserting records in a client x server application are evaluated, executing 37 simultaneous test scenarios. With the second experiment using the Postman tool, the same 37 test scenarios were also evaluated. Finally, an experiment was carried out involving two test analysts to execute these 37 scenarios manually. The evaluation of the automated test process using the frameworks resulted in an execution of seven seconds, while the test executed in Postman, presents us with a more expensive work by having to insert several calls separately, while in automation, the calls can be addressed in a unified and centralized way. The execution of the 37 test scenarios performed manually resulted in two hours of work without breaks. With this, the use of the automated testing technique is evaluated using the joining of frameworks as an alternative to reduce the testing process in a REST API.
id UTFPR-12_c4dc9f7a2d53c8eaf26030c760b7c98b
oai_identifier_str oai:repositorio.utfpr.edu.br:1/31733
network_acronym_str UTFPR-12
network_name_str Repositório Institucional da UTFPR (da Universidade Tecnológica Federal do Paraná (RIUT))
repository_id_str
spelling Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplacesAdherence of automated testing techniques in a Rest Api: approach in a marketplace integrator Hub applicationFramework (Arquivo de computador)Representational State Transfer (Arquitetura de software)Software - TestesFramework (Computer program)Representational State Transfer (Software architecture)Computer software - TestingCNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAOEngenharia/Tecnologia/GestãoWith the increasing advancement of technology, numerous software platforms have emerged in various fields of activities, especially in WEB applications (World Wide Web). These applications can use different types of architectures, one of which is REST (Representational State Transfer). This architecture is based on an application programming interface (API - Application Programming Interface)) that uses microservices that facilitate the process of creating new components. These microservices need to go through a testing stage, where their functionality will be evaluated. It is of paramount importance that the quality assurance processes of Software products are applied during the development cycle through Software testing. However, the testing process can become onerous by performing specific actions of a particular functionality manually several times. In view of the alternatives, automated testing stands out, as it is capable of executing automatic routines and avoiding constant manual effort. This work aims to evaluate the reduction of the manual effort of testing a REST API, with the use of automated tests, which will be responsible for executing automated test routines through scripts that will be developed with the use of frameworks (mocha and chai), (JavaScript) as the main programming language and (Node.js) as a JavaScript interpreter so that the code can be executed outside of a WEB browser environment. These scripts will be responsible for validating API test scenarios that are currently performed manually and repetitively. It is also intended to evaluate the same test scenarios with the Postman tool. In the first test experiment using frameworks, the protocols for inserting records in a client x server application are evaluated, executing 37 simultaneous test scenarios. With the second experiment using the Postman tool, the same 37 test scenarios were also evaluated. Finally, an experiment was carried out involving two test analysts to execute these 37 scenarios manually. The evaluation of the automated test process using the frameworks resulted in an execution of seven seconds, while the test executed in Postman, presents us with a more expensive work by having to insert several calls separately, while in automation, the calls can be addressed in a unified and centralized way. The execution of the 37 test scenarios performed manually resulted in two hours of work without breaks. With this, the use of the automated testing technique is evaluated using the joining of frameworks as an alternative to reduce the testing process in a REST API.Com o crescente avanço da tecnologia inúmeras plataformas de Software vêm surgindo em diversos ramos de atividades, principalmente em aplicações WEB (World Wide Web). Essas aplicações podem utilizar diferentes tipos de arquiteturas, sendo uma delas a REST (Representational State Transfer). Essa arquitetura é baseada em uma interface de programação de aplicações (API – Application Programming Interface) que utilizam microsserviços que facilitam o processo de criação de novos componentes. Esses microsserviços precisam passar por uma etapa de testes, onde suas funcionalidades serão avaliadas. É de suma importância que os processos de garantia da qualidade dos produtos de Software, sejam aplicados durante o ciclo de desenvolvimento através dos testes de Software. Porém o processo de teste, pode se tornar oneroso por executar diversas vezes, ações específicas de uma determinada funcionalidade de forma manual. Diante das alternativas, destaca-se o teste automatizado, por ser capaz de executar rotinas automáticas e evitar o esforço manual constante. Este trabalho visa avaliar a redução do esforço manual de testes de uma API REST, com a utilização de testes automatizados, que será responsável por executar rotinas de testes automatizadas através de scripts que serão desenvolvidos com a utilização dos frameworks (mocha e chai), (JavaScript) como linguagem de programação principal e (Node.js) como interpretador de JavaScript para que o código possa ser executado fora do ambiente de um navegador WEB. Esses scripts serão responsáveis por validar cenários de testes da API que atualmente são executados de forma manual e de forma repetitiva. Pretende-se também avaliar os mesmos cenários de testes com a ferramenta Postman. No primeiro experimento do teste utilizando de frameworks, são avaliados os protocolos de inserção de registros em uma aplicação de cliente x servidor, executando 37 cenários de testes simultâneos. Com o segundo experimento utilizando a ferramenta Postman, também foram avaliados os mesmos 37 cenários de testes. Por fim, realizou-se um experimento envolvendo dois analistas de testes para executar estes 37 cenários de forma manual. A avaliação do processo de teste automatizado utilizando dos frameworks resultou em uma execução de sete segundos, enquanto o teste executado no Postman, nos apresenta um trabalho mais custoso por ter que inserir várias chamadas de forma separada, enquanto na automação pode-se abordar as chamadas de forma unificada e centralizada. Já a execução dos 37 cenários de testes executados de forma manual, resultou em duas horas de trabalho sem pausas. Com isso, avalia-se a utilização da técnica de testes automatizada utilizando a junção dos frameworks como alternativa de redução do processo de teste em uma API REST.Universidade Tecnológica Federal do ParanáCampo MouraoBrasilPrograma de Pós-Graduação em Inovações TecnológicasUTFPRSouza, Wyrllen Everson dehttp://lattes.cnpq.br/3149585270858364Aoki, Alexandre Rasihttp://lattes.cnpq.br/0566385360819334Macowski, Diogo Heronhttp://lattes.cnpq.br/5689019258962981Cardoso, Magdahttp://lattes.cnpq.br/4460143905298458Souza, Wyrllen Everson dehttp://lattes.cnpq.br/3149585270858364Santos, Taynara Luana Caetano dos2023-07-11T12:04:15Z2023-07-11T12:04:15Z2023-02-24info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisapplication/pdfSANTOS, Taynara Luana Caetano dos. Aderência de técnicas de testes automatizados em uma api rest: abordagem em uma aplicação de hub integrador de marketplaces. 2023. Dissertação (Mestrado em Inovações Tecnológicas) - Universidade Tecnológica Federal do Paraná, Campo Mourão, 2023.http://repositorio.utfpr.edu.br/jspui/handle/1/31733porhttps://creativecommons.org/licenses/by-sa/4.0/deed.pt_BRinfo:eu-repo/semantics/openAccessreponame:Repositório Institucional da UTFPR (da Universidade Tecnológica Federal do Paraná (RIUT))instname:Universidade Tecnológica Federal do Paraná (UTFPR)instacron:UTFPR2023-07-12T06:08:37Zoai:repositorio.utfpr.edu.br:1/31733Repositório InstitucionalPUBhttp://repositorio.utfpr.edu.br:8080/oai/requestriut@utfpr.edu.br || sibi@utfpr.edu.bropendoar:2023-07-12T06:08:37Repositório Institucional da UTFPR (da Universidade Tecnológica Federal do Paraná (RIUT)) - Universidade Tecnológica Federal do Paraná (UTFPR)false
dc.title.none.fl_str_mv Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces
Adherence of automated testing techniques in a Rest Api: approach in a marketplace integrator Hub application
title Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces
spellingShingle Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces
Santos, Taynara Luana Caetano dos
Framework (Arquivo de computador)
Representational State Transfer (Arquitetura de software)
Software - Testes
Framework (Computer program)
Representational State Transfer (Software architecture)
Computer software - Testing
CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
Engenharia/Tecnologia/Gestão
title_short Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces
title_full Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces
title_fullStr Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces
title_full_unstemmed Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces
title_sort Aderência de técnicas de testes automatizados em uma Api Rest: abordagem em uma aplicação de Hub integrador de marketplaces
author Santos, Taynara Luana Caetano dos
author_facet Santos, Taynara Luana Caetano dos
author_role author
dc.contributor.none.fl_str_mv Souza, Wyrllen Everson de
http://lattes.cnpq.br/3149585270858364
Aoki, Alexandre Rasi
http://lattes.cnpq.br/0566385360819334
Macowski, Diogo Heron
http://lattes.cnpq.br/5689019258962981
Cardoso, Magda
http://lattes.cnpq.br/4460143905298458
Souza, Wyrllen Everson de
http://lattes.cnpq.br/3149585270858364
dc.contributor.author.fl_str_mv Santos, Taynara Luana Caetano dos
dc.subject.por.fl_str_mv Framework (Arquivo de computador)
Representational State Transfer (Arquitetura de software)
Software - Testes
Framework (Computer program)
Representational State Transfer (Software architecture)
Computer software - Testing
CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
Engenharia/Tecnologia/Gestão
topic Framework (Arquivo de computador)
Representational State Transfer (Arquitetura de software)
Software - Testes
Framework (Computer program)
Representational State Transfer (Software architecture)
Computer software - Testing
CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
Engenharia/Tecnologia/Gestão
description With the increasing advancement of technology, numerous software platforms have emerged in various fields of activities, especially in WEB applications (World Wide Web). These applications can use different types of architectures, one of which is REST (Representational State Transfer). This architecture is based on an application programming interface (API - Application Programming Interface)) that uses microservices that facilitate the process of creating new components. These microservices need to go through a testing stage, where their functionality will be evaluated. It is of paramount importance that the quality assurance processes of Software products are applied during the development cycle through Software testing. However, the testing process can become onerous by performing specific actions of a particular functionality manually several times. In view of the alternatives, automated testing stands out, as it is capable of executing automatic routines and avoiding constant manual effort. This work aims to evaluate the reduction of the manual effort of testing a REST API, with the use of automated tests, which will be responsible for executing automated test routines through scripts that will be developed with the use of frameworks (mocha and chai), (JavaScript) as the main programming language and (Node.js) as a JavaScript interpreter so that the code can be executed outside of a WEB browser environment. These scripts will be responsible for validating API test scenarios that are currently performed manually and repetitively. It is also intended to evaluate the same test scenarios with the Postman tool. In the first test experiment using frameworks, the protocols for inserting records in a client x server application are evaluated, executing 37 simultaneous test scenarios. With the second experiment using the Postman tool, the same 37 test scenarios were also evaluated. Finally, an experiment was carried out involving two test analysts to execute these 37 scenarios manually. The evaluation of the automated test process using the frameworks resulted in an execution of seven seconds, while the test executed in Postman, presents us with a more expensive work by having to insert several calls separately, while in automation, the calls can be addressed in a unified and centralized way. The execution of the 37 test scenarios performed manually resulted in two hours of work without breaks. With this, the use of the automated testing technique is evaluated using the joining of frameworks as an alternative to reduce the testing process in a REST API.
publishDate 2023
dc.date.none.fl_str_mv 2023-07-11T12:04:15Z
2023-07-11T12:04:15Z
2023-02-24
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv SANTOS, Taynara Luana Caetano dos. Aderência de técnicas de testes automatizados em uma api rest: abordagem em uma aplicação de hub integrador de marketplaces. 2023. Dissertação (Mestrado em Inovações Tecnológicas) - Universidade Tecnológica Federal do Paraná, Campo Mourão, 2023.
http://repositorio.utfpr.edu.br/jspui/handle/1/31733
identifier_str_mv SANTOS, Taynara Luana Caetano dos. Aderência de técnicas de testes automatizados em uma api rest: abordagem em uma aplicação de hub integrador de marketplaces. 2023. Dissertação (Mestrado em Inovações Tecnológicas) - Universidade Tecnológica Federal do Paraná, Campo Mourão, 2023.
url http://repositorio.utfpr.edu.br/jspui/handle/1/31733
dc.language.iso.fl_str_mv por
language por
dc.rights.driver.fl_str_mv https://creativecommons.org/licenses/by-sa/4.0/deed.pt_BR
info:eu-repo/semantics/openAccess
rights_invalid_str_mv https://creativecommons.org/licenses/by-sa/4.0/deed.pt_BR
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Universidade Tecnológica Federal do Paraná
Campo Mourao
Brasil
Programa de Pós-Graduação em Inovações Tecnológicas
UTFPR
publisher.none.fl_str_mv Universidade Tecnológica Federal do Paraná
Campo Mourao
Brasil
Programa de Pós-Graduação em Inovações Tecnológicas
UTFPR
dc.source.none.fl_str_mv reponame:Repositório Institucional da UTFPR (da Universidade Tecnológica Federal do Paraná (RIUT))
instname:Universidade Tecnológica Federal do Paraná (UTFPR)
instacron:UTFPR
instname_str Universidade Tecnológica Federal do Paraná (UTFPR)
instacron_str UTFPR
institution UTFPR
reponame_str Repositório Institucional da UTFPR (da Universidade Tecnológica Federal do Paraná (RIUT))
collection Repositório Institucional da UTFPR (da Universidade Tecnológica Federal do Paraná (RIUT))
repository.name.fl_str_mv Repositório Institucional da UTFPR (da Universidade Tecnológica Federal do Paraná (RIUT)) - Universidade Tecnológica Federal do Paraná (UTFPR)
repository.mail.fl_str_mv riut@utfpr.edu.br || sibi@utfpr.edu.br
_version_ 1850498000495837184