API TESTING
Year: 2025
Type: article
Abstract: This APIs are fundamental to modern software systems, facilitating seamless communicationbetween applications. Ensuring their reliability and correctness requires rigorous testing. This paperpresents an automated API testing framework that leverages OpenAPI schemas and AI-driven test casegeneration using OpenAI’s GPT-4o model. The framework systematically tests REST API methods,including GET, POST, PUT, PATCH, and DELETE, by dynamically generating and executing test cases.It intelligently handles incomplete API documentation, reference parameters, and error response analysis,ensuring comprehensive validation. Our approach automates test execution, captures real-time logs, andrefines test cases iteratively based on API responses. The system efficiently detects and reports errors,including 4XX and 5XX status codes, while updating partially documented schemas. Despite challengessuch as handling dynamic parameters, AI-generated test case accuracy, and scalability concerns, theframework significantly enhances API testing efficiency. Future improvements aim to refine test casegeneration, optimize performance, and support broader API testing scenarios.
Author: Krati Joshi
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W6930428652
FWCI:
Cites:
Cited by:
Related to:
