Conference paper · 2025 · Open access
Combining TSL and LLM to Automate REST API Testing: A Comparative Study
Simpósio Brasileiro de Engenharia de Software (SBES), 71–81 · Published 22 September 2025 · DOI 10.5753/sbes.2025.9670
In brief
“Combining TSL and LLM to Automate REST API Testing: A Comparative Study” is a 2025 conference paper by Thiago Barradas and 2 co-authors, published in Simpósio Brasileiro de Engenharia de Software (SBES). OpenAlex counts 4 citations as of 19 November 2026, which puts it in the top 4% of works published in 2025 by citations. It is open access: the full text is free to read at Simpósio Brasileiro de Engenharia de Software (SBES).
- Citations
- 4
- Most cited in
- 2026 (3)
- Field-weighted impact
- 1.47
- References
- 37
- Authors
- 3
Abstract
The effective execution of tests for REST APIs remains a considerable challenge for development teams, driven by the inherent complexity of distributed systems, the multitude of possible scenarios, and the limited time available for test design. Exhaustive testing of all input combinations is impractical, often resulting in undetected failures, high manual effort, and limited test coverage. To address these issues, we introduce RestTSLLM, an approach that uses Test Specification Language (TSL) in conjunction with Large Language Models (LLMs) to automate the generation of test cases for REST APIs. The approach targets two core challenges: the creation of test scenarios and the definition of appropriate input data. The proposed solution integrates prompt engineering techniques with an automated pipeline to evaluate various LLMs on their ability to generate tests from OpenAPI specifications. The evaluation focused on metrics such as success rate, test coverage, and mutation score, enabling a systematic comparison of model performance. The results indicate that the best-performing LLMs – Claude 3.5 Sonnet (Anthropic), Deepseek R1 (Deepseek), Qwen 2.5 32b (Alibaba), and Sabiá 3 (Maritaca) – consistently produced robust and contextually coherent REST API tests. Among them, Claude 3.5 Sonnet outperformed all other models across every metric, emerging in this study as the most suitable model for this task. These findings highlight the potential of LLMs to automate the generation of tests based on API specifications.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Barradas, T., Paes, A., & Neves, V. D. O. (2025). Combining TSL and LLM to Automate REST API Testing: A Comparative Study. Simpósio Brasileiro de Engenharia de Software (SBES), 71–81. https://doi.org/10.5753/sbes.2025.9670
MLA 9
Barradas, Thiago, et al. “Combining TSL and LLM to Automate REST API Testing: A Comparative Study.” Simpósio Brasileiro de Engenharia de Software (SBES), 2025, pp. 71–81. https://doi.org/10.5753/sbes.2025.9670.
Chicago
Barradas, Thiago, Aline Paes, and Vânia de Oliveira Neves. 2025. “Combining TSL and LLM to Automate REST API Testing: A Comparative Study.” Simpósio Brasileiro de Engenharia de Software (SBES): 71–81. https://doi.org/10.5753/sbes.2025.9670.
Harvard
Barradas, T., Paes, A. and Neves, V. D. O. (2025) ‘Combining TSL and LLM to Automate REST API Testing: A Comparative Study’, Simpósio Brasileiro de Engenharia de Software (SBES), pp. 71–81. doi:10.5753/sbes.2025.9670.
IEEE
T. Barradas, A. Paes, and V. D. O. Neves, “Combining TSL and LLM to Automate REST API Testing: A Comparative Study,” Simpósio Brasileiro de Engenharia de Software (SBES), pp. 71–81, 2025, doi: 10.5753/sbes.2025.9670.
BibTeX
@inproceedings{barradas2025combining,
title = {{Combining TSL and LLM to Automate REST API Testing: A Comparative Study}},
author = {Barradas, Thiago and Paes, Aline and Neves, Vânia de Oliveira},
booktitle = {Simpósio Brasileiro de Engenharia de Software (SBES)},
year = {2025},
pages = {71--81},
doi = {10.5753/sbes.2025.9670},
url = {https://doi.org/10.5753/sbes.2025.9670}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Topic and keywords
Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- REST API testing
- test case generation
- test specification language
- large language models
- prompt engineering
- OpenAPI
- automated test generation
- test coverage
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Barradas, T., Paes, A., & Neves, V. D. O. (2025). Combining TSL and LLM to Automate REST API Testing: A Comparative Study. Simpósio Brasileiro de Engenharia de Software (SBES), 71–81. https://doi.org/10.5753/sbes.2025.9670
How many times has this paper been cited?
4 times, according to OpenAlex on 19 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at Simpósio Brasileiro de Engenharia de Software (SBES): sign in and open the PDF from this page.
Who wrote this paper?
Thiago Barradas, Aline Paes, Vânia de Oliveira Neves.
What is the DOI of this paper?
10.5753/sbes.2025.9670, permanently at https://doi.org/10.5753/sbes.2025.9670. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 19 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.