
Research Article
Method for Evaluating the Performance of Web-Based APIs
@INPROCEEDINGS{10.1007/978-3-031-52524-7_3, author={Ant\^{o}nio Godinho and Jos\^{e} Rosado and Filipe S\^{a} and Filipe Cardoso}, title={Method for Evaluating the Performance of Web-Based APIs}, proceedings={Smart Objects and Technologies for Social Good. 9th EAI International Conference, GOODTECHS 2023, Leiria, Portugal, October 18-20, 2023, Proceedings}, proceedings_a={GOODTECHS}, year={2024}, month={1}, keywords={web api full-stack development performance analysis performance tools linux operating systems}, doi={10.1007/978-3-031-52524-7_3} }
- António Godinho
José Rosado
Filipe Sá
Filipe Cardoso
Year: 2024
Method for Evaluating the Performance of Web-Based APIs
GOODTECHS
Springer
DOI: 10.1007/978-3-031-52524-7_3
Abstract
Application Programming Interfaces (APIs) are available in virtually every programming language. These interfaces make it easier to develop software by simplifying complex code into a more straightforward, manageable structure. APIs provide a standardized interface that allows different applications to communicate and connect easily, streamlining the software development process and making it more efficient and effective. Performance testing of a web API refers to evaluating the performance characteristics of an API accessible via the web. This process involves analyzing performance aspects such as response time, reliability, scalability, and resource utilization. This work defines a test battery using specific open-source tools to assess Web API performance. The tests used are load, stress, spike, and soak tests replicating various scenarios of the volume of users accessing the service or simulating a denial-of-service attack. These tests aim to determine how well an API can manage a substantial volume of traffic and transactions while upholding satisfactory performance standards. Applying Web API performance testing will also enable organizations to implement suitable measures for enhancing performance and guaranteeing smooth user interaction, pinpointing bottlenecks, constraints, or prospective problems in the API’s architecture and execution. These tests can also demonstrate the technology’s limitations and benchmarking, helping determine a more suitable production platform.