REST API Test Automation in SisNIR
Abstract
Garantir a confiabilidade e a qualidade de APIs REST é um desafio, sobretudo em sistemas de setores regulados que demandam transparência, rastreabilidade e auditabilidade. Este artigo apresenta o Zettalenium, um framework de testes automatizados para o desenvolvimento, execução e documentação de casos de teste em APIs RESTful. O estudo de caso relata sua aplicação no Sistema Nacional de Informações sobre Irrigação (SisNIR), onde viabilizou a automação de testes que verificaram funcionalidades essenciais do sistema, assegurando confiabilidade e consistência nas operações. O Zettalenium combina a execução de requisições HTTP com asserções automatizadas, oferece utilitários reutilizáveis e gera relatórios abrangentes – recursos que apoiaram os processos de aceite do Ministério da Integração e do Desenvolvimento Regional (MIDR). Os resultados evidenciam melhorias na estrutura e na manutenibilidade dos testes, além da redução de redundâncias e de intervenções manuais.
Keywords:
Testes automatizados de software, API REST
References
API Expert. 2023. The Limitations of Postman. Disponível em: [link]. Acesso em: 04 maio 2024.
R. Fielding, J. Gettys, J. Mogul, H. Frystyk, and T. Berners-Lee. 1997. Hypertext Transfer Protocol – HTTP/1.1. RFC 2068. Internet Engineering Task Force (IETF).
David Gourley and Brian Totty. 2002. HTTP: The Definitive Guide. O’Reilly Media, Sebastopol, Estados Unidos.
Yi Liu. 2024. Semantics-aware Human-computer Interaction Software Testing. Ph. D. Dissertation. College of Computing and Data Science, Nanyang Technological University, Singapura.
Sam Newman. 2015. Building Microservices: Designing Fine-Grained Systems. O’Reilly Media, Sebastopol, Estados Unidos.
Felipe Pezoa, Juan L. Reutter, Fernando Suarez, Martín Ugarte, and Domagoj Vrgoč. 2016. Foundations of JSON Schema. In 25th International World Wide Web Conference (WWW). 263–273.
Valeria Pontillo and Maxime Vandercammen. 2024. FERRARI: FailurE RepRoduction through automatic test cAse generation and stack tRace analysIs. In 23rd Belgium-Netherlands Software Evolution Workshop (BENEVOL). 45–56.
Amazon Web Services. 2024. O que é a API RESTful? Disponível em: [link]. Acesso em: 29 maio 2024.
Ian Sommerville. 2015. Software Engineering. Addison-Wesley, Boston, Estados Unidos.
Testsigma Engineering Team. 2024. Insomnia vs Postman: Which is better for your project? Disponível em: [link]. Acesso em: 04 jul. 2024.
R. Fielding, J. Gettys, J. Mogul, H. Frystyk, and T. Berners-Lee. 1997. Hypertext Transfer Protocol – HTTP/1.1. RFC 2068. Internet Engineering Task Force (IETF).
David Gourley and Brian Totty. 2002. HTTP: The Definitive Guide. O’Reilly Media, Sebastopol, Estados Unidos.
Yi Liu. 2024. Semantics-aware Human-computer Interaction Software Testing. Ph. D. Dissertation. College of Computing and Data Science, Nanyang Technological University, Singapura.
Sam Newman. 2015. Building Microservices: Designing Fine-Grained Systems. O’Reilly Media, Sebastopol, Estados Unidos.
Felipe Pezoa, Juan L. Reutter, Fernando Suarez, Martín Ugarte, and Domagoj Vrgoč. 2016. Foundations of JSON Schema. In 25th International World Wide Web Conference (WWW). 263–273.
Valeria Pontillo and Maxime Vandercammen. 2024. FERRARI: FailurE RepRoduction through automatic test cAse generation and stack tRace analysIs. In 23rd Belgium-Netherlands Software Evolution Workshop (BENEVOL). 45–56.
Amazon Web Services. 2024. O que é a API RESTful? Disponível em: [link]. Acesso em: 29 maio 2024.
Ian Sommerville. 2015. Software Engineering. Addison-Wesley, Boston, Estados Unidos.
Testsigma Engineering Team. 2024. Insomnia vs Postman: Which is better for your project? Disponível em: [link]. Acesso em: 04 jul. 2024.
Published
2025-09-22
How to Cite
MORAIS, João Victor de; MALHEIROS, Neumar Costa; TERRA, Ricardo.
REST API Test Automation in SisNIR. In: BRAZILIAN SYMPOSIUM ON SYSTEMATIC AND AUTOMATED SOFTWARE TESTING (SAST), 10. , 2025, Recife/PE.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2025
.
p. 138-140.
DOI: https://doi.org/10.5753/sast.2025.13084.
