Closed-loop and distributed load testing of web applications using Kubernetes
Ramniclal, K.
;
Valadas, R.
Cluster Computing Vol. 29, Nº 12, pp. - , August, 2026.
ISSN (print): 1386-7857
ISSN (online): 1573-7543
Scimago Journal Ranking: 1,01 (in 2025)
Digital Object Identifier: 10.1007/s10586-026-06519-6
Abstract
The availability and responsiveness of web applications have become key performance indicators for modern businesses and enterprises. Web server administrators often employ load-testing tools to assess the resiliency of web applications under varying conditions. However, these tools typically run on standalone machines, making their performance highly dependent on the available computational resources. Additionally, they provide no feedback indicating whether the generated load is sufficient to stress the tested web application.
This paper presents a closed-loop, distributed load-testing framework for web applications that leverages Kubernetes to provide a flexible and programmable way to deploy, scale, and manage multiple geographically dispersed load generators. The system collects both server-side and client-side metrics (CPU and memory utilization, HTTP response time), and feeds them into a control loop that dynamically adjusts traffic to hit user-defined KPI targets without manual intervention. Our evaluation on both stateless and stateful applications, in controlled and cloud-based environments, shows that the system reliably converges in just a few cycles, delivering realistic and regionally varied stress tests that traditional open-loop benchmarks cannot match.