Claim Missing Document
Check
Articles

Found 1 Documents
Search

Evaluating the Performance of RESTful APIs Under Large HTTP Requests with K6 Risqulla, Fajra; Setianingsih, Casi; Prasasti, Anggunmeka Luhur
eProceedings of Engineering Vol. 11 No. 6 (2024): Desember 2024
Publisher : eProceedings of Engineering

Show Abstract | Download Original | Original Source | Check in Google Scholar

Abstract

Application Programming Interfaces (APIs) are integral to contemporary software development, facilitating interoperability among various services without requiring knowledge of their internal implementations. Among API architectures, Representational State Transfer (REST) is widely adopted, leveraging HTTP methods such as GET, POST, PUT, and DELETE for client-server communication [1]. This paper focuses on evaluating the performances of RESTful API, specifically the dietary API, which employs image recognition to detect foods and provide nutritional data. Stress testing assesses the API’s performance under high-volume HTTP requests to identify operational thresholds and improve reliability. Using the K6 tool, test scenarios simulate peak traffic conditions to measure critical metrics including response times, concurrency capacity, and requests per second. Findings highlight the impact of virtual user configurations and request parameters on API performance, offering insights crucial for reliability in real-world applications. Keywords—API, K6, REST, RESTful API, Stress Test, Virtual User