paper-with-me

홈 › Papers

LLM-Based Robustness Testing of Microservice Applications: An Empirical Study

2026-05-13 · Hrushitha Goud Tigulla, Marco Vieira arxiv

Malformed, missing, or boundary-value inputs in microservice APIs can cascade across dependent services, threatening reliability. Robustness testing systematically exercises such inputs to expose server-side failures, but generating diverse, effective tests remains challenging. Large Language Models can generate such tests from API specifications; however, it is unknown whether different models and prompt strategies produce diverse failure sets or converge on the same failures. We report a controlled experiment applying 7 prompt strategies to 3 open-source LLMs (14B-70B parameters) targeting 2 architecturally distinct microservice systems: one Java monolingual (6 services, 9 failure modes) and one polyglot (27 services, 14 failure modes), yielding 38 valid runs and 663 generated tests. We find that prompt strategy explains more variation in diversity than model size: a Structured prompt collapses diversity entirely, while a single model varied across three prompt strategies achieves complete failure-mode coverage on one system, outperforming any multi-model ensemble under a fixed prompt. We introduce two strategies, Guided and GuidedFewShot, that embed a mutation taxonomy from prior robustness testing research as domain context. GuidedFewShot achieves the highest single-run coverage on both systems (5 of 9 and 8 of 14 failure modes) while maintaining low cross-model similarity. A key lesson is that taxonomy rules alone are insufficient: LLMs cannot distinguish key-absent from value-empty mutations without concrete examples. Findings replicate across both systems.

📄 PDF Abstract BibTeX arXiv:2605.14202

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Automated Test-Case Generation for REST APIs Using Model Inference Search Heuristic

2024-12-04 · Clinton Cao, Annibale Panichella, Sicco Verwer

The rising popularity of the microservice architectural style has led to a growing demand for automated testing approaches tailored to these systems. EvoMaster is a state-of-the-art tool that uses Evolutionary Algorithms…

Evolutionary Algorithms

Graph-PHPA: Graph-based Proactive Horizontal Pod Autoscaling for Microservices using LSTM-GNN

2022-09-06 · Hoa X. Nguyen, Shaoshu Zhu, Mingming Liu

Microservice-based architecture has become prevalent for cloud-native applications. With an increasing number of applications being deployed on cloud platforms every day leveraging this architecture, more research effort…

Graph Neural Network

Utilizing Graph Neural Networks for Effective Link Prediction in Microservice Architectures

2025-01-25 · Ghazal Khodabandeh, Alireza Ezaz, Majid Babaei, Naser Ezzati-Jivan

Managing microservice architectures in distributed systems is complex and resource intensive due to the high frequency and dynamic nature of inter service interactions. Accurate prediction of these future interactions ca…

Graph AttentionGraph Neural NetworkLink Prediction

Minerva: A Portable Machine Learning Microservice Framework for Traditional Enterprise SaaS Applications

2020-05-02 · Venkata Duvvuri

In traditional SaaS enterprise applications, microservices are an essential ingredient to deploy machine learning (ML) models successfully. In general, microservices result in efficiencies in software service design, dev…

BIG-bench Machine Learning

MONO2REST: Identifying and Exposing Microservices: a Reusable RESTification Approach

2025-03-27 · Matthéo Lecrivain, Hanifa Barry, Dalila Tamzalit, Houari Sahraoui

The microservices architectural style has become the de facto standard for large-scale cloud applications, offering numerous benefits in scalability, maintainability, and deployment flexibility. Many organizations are pu…

Evolutionary Algorithms