A utilização de veículos elétricos tem sido cada vez mais presente na sociedade. Consequentemente, a demanda por postos de recargas desse tipo de veículo também cresce, surgindo diversos fabricantes com diferentes modelos de sistemas de gestão. A API que permite a comunicação entre os postos de recarga e o sistema de gerenciamento é baseada no protocolo OCPP 1.6, permitindo a troca informações com outros sistemas por meio de solicitações HTTP e retornar dados na URL de acesso, atuando como uma porta de entrada para uso da API. A busca por qualidade de software é crescente, desta forma existe a necessidade de encontrar e corrigir de forma rápida o problema encontrado. Os testes automatizados são uma forma para a garantia da qualidade, a automação de testes consiste em utilizar software específicos capazes de executar determinados tipos de testes, reduzindo o envolvimento humano em atividades manuais. Para o uso de uma ferramenta especifica deve ser levado em consideração alguns pontos como linguagem do sistema desenvolvido, tipo de teste a ser executado e recursos da ferramenta disponíveis, podendo ter outros itens conforme necessidade do projeto. O presente trabalho apresenta a implementação de um modelo de teste automatizado para integração do sistema de gestão de uma rede de postos de recargas de diferentes fabricantes instalados na mesma infraestrutura de recarga. O teste automatizado foi implementado durante o processo de desenvolvimento utilizando a ferramenta de teste Postman, uma ferramenta de apoio no desenvolvimento de APIs muito utilizada por equipes de desenvolvimento de software por possuir uma utilização simples e leve, assim como de fácil uso para criação de scripts de testes do sistema desenvolvido. O trabalho apresenta a implementação de testes automatizados da API de comunicação de posto de recarga disponível em uma mesma rede de infraestrutura de recarga com um sistema de gestão desta rede, verificando-se o funcionamento da API Rest de acordo com o resultado esperado especificado durante o desenvolvimento do sistema.
The use of electric vehicles has been increasingly present in society. Consequently, the demand for recharging stations for this type of vehicle is also growing, and several manufacturers with different models of management systems have emerged. The API that allows the communication between the charging stations and the management system is based on the OCPP 1.6 protocol, allowing the exchange of information with other systems through HTTP requests and return data in the access URL, acting as a gateway to use the API. The search for software quality is growing, so there is a need to quickly find and fix the problem. Automated testing is one way to ensure quality; test automation consists of using specific software capable of running certain types of tests, reducing human involvement in manual activities. For the use of a specific tool, some points must be taken into consideration, such as the language of the developed system, the type of test to be performed, and the tool’s available resources. The present paper presents the implementation of an automated test model for integrating the management system of a network of recharging stations of different manufacturers installed in the same recharging infrastructure. The automated test was implemented during the development process using the Postman test tool, a support tool for API development that is widely used by software development teams because it is simple and lightweight, and easy to use for creating test scripts for the developed system. The paper presents the implementation of automated tests for the charging station communication API available in the same charging infrastructure network with a management system for this network, verifying the functioning of the REST API according to the expected results specified during the system’s development.
Data da defesa: 24/03/2023
Banca Examinadora
Orientador (a): Ana Paula Oening (Lactec)
Membro da Banca: Eduardo Kazumi Yamakawa (Lactec)
Membro da Banca: Carlos Gabriel Bianchin (Lactec)
Membro da Banca: Sebastião Ribeiro Junior (UFPR)
Palavra(s)-Chave: Teste automatizado de software; sistema comunicação de eletropostos; Eletroposto; eletromobilidade.
Keywords: Automated software testing; charging station communication system; Charging station; electromobility.