Paper · 2026 · Open access

APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs

André F. G. Pereira, Bruno Lima, João Pascoal Faria

Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test, 46–54 · Published 13 April 2026 · DOI 10.1145/3793654.3793743

Open full textCite this paper

In brief

“APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs” is a 2026 paper by André F. G. Pereira and 2 co-authors, published in Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test. OpenAlex counts 2 citations as of 30 November 2026, which puts it in the top 5% of works published in 2026 by citations. It is open access under a CC BY licence: the full text is free to read.

Citations
2
Most cited in
2026 (2)
Field-weighted impact
2.02
References
17
Authors
3

Abstract

Modern software systems rely heavily on Web APIs, yet creating meaningful and executable test scripts remains a largely manual, time-consuming, and error-prone task. In this paper, we present APITestGenie, a novel tool that leverages Large Language Models (LLMs), Retrieval-Augmented Generation (RAG), and prompt engineering to automatically generate API integration tests directly from business requirements and OpenAPI specifications. We evaluated APITestGenie on 10 real-world APIs, including 8 APIs comprising circa 1,000 live endpoints from an industrial partner in the automotive domain. The tool was able to generate syntactically and semantically valid test scripts for 89% of the business requirements under test after at most three attempts. Notably, some generated tests revealed previously unknown defects in the APIs, including integration issues between endpoints. Statistical analysis identified API complexity and level of detail in business requirements as primary factors influencing success rates, with the level of detail in API documentation also affecting outcomes. Feedback from industry practitioners confirmed strong interest in adoption, substantially reducing the manual effort in writing acceptance tests, and improving the alignment between tests and business requirements.

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. (2026). APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs. Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test, 46–54. https://doi.org/10.1145/3793654.3793743

MLA 9

Pereira, André F. G., et al. “APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs.” Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test, 2026, pp. 46–54. https://doi.org/10.1145/3793654.3793743.

Chicago

Pereira, André F. G., Bruno Lima, and João Pascoal Faria. 2026. “APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs.” Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test: 46–54. https://doi.org/10.1145/3793654.3793743.

Harvard

Pereira, A. F. G., Lima, B. and Faria, J. P. (2026) ‘APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs’, Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test, pp. 46–54. doi:10.1145/3793654.3793743.

IEEE

A. F. G. Pereira, B. Lima, and J. P. Faria, “APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs,” Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test, pp. 46–54, 2026, doi: 10.1145/3793654.3793743.

BibTeX

@article{pereira2026apitestgenie,
  title     = {{APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs}},
  author    = {Pereira, André F. G. and Lima, Bruno and Faria, João Pascoal},
  journal   = {Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test},
  year      = {2026},
  pages     = {46--54},
  doi       = {10.1145/3793654.3793743},
  url       = {https://doi.org/10.1145/3793654.3793743}
}

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

  • web API
  • large language models
  • retrieval-augmented generation
  • prompt engineering
  • OpenAPI
  • business requirements
  • acceptance testing
  • test automation

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Pereira, A. F. G., Lima, B., & Faria, J. P. (2026). APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs. Proceedings of the 7th ACM/IEEE International Conference on Automation of Software Test, 46–54. https://doi.org/10.1145/3793654.3793743

How many times has this paper been cited?

2 times, according to OpenAlex on 30 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: sign in and open the full text 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.1145/3793654.3793743, permanently at https://doi.org/10.1145/3793654.3793743. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 30 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.