From Requirements to Executable Tests: LLM-Based System Test Generation for REST APIs
Straipsniai
Jaroslav Kochanovskis
Vilniaus universitetas image/svg+xml
Asta Slotkienė
Vilniaus universitetas image/svg+xml
Publikuota 2026-05-08
https://doi.org/10.15388/LMITT.2026.13
PDF

Anotacija

Modern software systems increasingly rely on APIs, making efficient testing essential for ensuring reliability and correctness. However, creating system tests from natural language requirements is typically a manual and time-consuming process. This research proposes an approach for automatically generating executable REST API tests from natural language requirements using large language models (LLMs) and OpenAPI specifications. A prototype system was developed and evaluated on two real-world APIs. The results show that the approach can generate executable pytest tests, achieve full endpoint reachability coverage, and provide stable automated test execution.

PDF

Nuorodos

Creative Commons License

Šis darbas apsaugotas Creative Commons priskyrimo 4.0 viešąja licencija.

Atsisiuntimai

Nėra atsisiuntimų.

Dažniausiai skaitomi to paties autoriaus (-ių) straipsniai