Preprint · 2024 · Open access
APITestGenie: Automated API Test Generation through Generative AI
arXiv (Cornell University) · Published 5 September 2024 · DOI 10.48550/arxiv.2409.03838
In brief
“APITestGenie: Automated API Test Generation through Generative AI” is a 2024 preprint by André F. G. Pereira and 2 co-authors, published in arXiv (Cornell University). OpenAlex counts 23 citations as of 19 November 2026. It is open access: the full text is free to read at arXiv (Cornell University).
- Citations
- 23
- Most cited in
- 2026 (13)
- References
- 12
- Authors
- 3
Abstract
Intelligent assistants powered by Large Language Models (LLMs) can generate program and test code with high accuracy, boosting developers' and testers' productivity. However, there is a lack of studies exploring LLMs for testing Web APIs, which constitute fundamental building blocks of modern software systems and pose significant test challenges. Hence, in this article, we introduce APITestGenie, an approach and tool that leverages LLMs to generate executable API test scripts from business requirements and API specifications. In experiments with 10 real-world APIs, the tool generated valid test scripts 57% of the time. With three generation attempts per task, this success rate increased to 80%. Human intervention is recommended to validate or refine generated scripts before integration into CI/CD pipelines, positioning our tool as a productivity assistant rather than a replacement for testers. Feedback from industry specialists indicated a strong interest in adopting our tool for improving the API test process.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Pereira, A. F. G., Lima, B., & Faria, J. P. (2024). APITestGenie: Automated API Test Generation through Generative AI. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2409.03838
MLA 9
Pereira, André F. G., et al. “APITestGenie: Automated API Test Generation through Generative AI.” arXiv (Cornell University), 2024. https://doi.org/10.48550/arxiv.2409.03838.
Chicago
Pereira, André F. G., Bruno Lima, and João Pascoal Faria. 2024. “APITestGenie: Automated API Test Generation through Generative AI.” arXiv (Cornell University). https://doi.org/10.48550/arxiv.2409.03838.
Harvard
Pereira, A. F. G., Lima, B. and Faria, J. P. (2024) ‘APITestGenie: Automated API Test Generation through Generative AI’, arXiv (Cornell University). doi:10.48550/arxiv.2409.03838.
IEEE
A. F. G. Pereira, B. Lima, and J. P. Faria, “APITestGenie: Automated API Test Generation through Generative AI,” arXiv (Cornell University), 2024, doi: 10.48550/arxiv.2409.03838.
BibTeX
@misc{pereira2024apitestgenie,
title = {{APITestGenie: Automated API Test Generation through Generative AI}},
author = {Pereira, André F. G. and Lima, Bruno and Faria, João Pascoal},
howpublished = {arXiv (Cornell University)},
year = {2024},
doi = {10.48550/arxiv.2409.03838},
url = {https://doi.org/10.48550/arxiv.2409.03838}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Citations by year
| Year | Citations | Share of the best year |
|---|---|---|
| 2024 | 1 | |
| 2025 | 9 | |
| 2026 | 13 |
Topic and keywords
Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- test script generation
- large language models
- generative AI
- web API
- business requirements
- API specification
- CI/CD pipelines
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?
Pereira, A. F. G., Lima, B., & Faria, J. P. (2024). APITestGenie: Automated API Test Generation through Generative AI. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2409.03838
How many times has this paper been cited?
23 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 arXiv (Cornell University): sign in and open the PDF from this page.
Who wrote this paper?
André F. G. Pereira, Bruno Lima, João Pascoal Faria.
What is the DOI of this paper?
10.48550/arxiv.2409.03838, permanently at https://doi.org/10.48550/arxiv.2409.03838. 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.