API TESTING

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.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-04-16
DOI
https://doi.org/10.5281/zenodo.15226239
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

API TESTING

Zenodo (CERN European Organization for Nuclear Research)
Software Testing and Debugging Techniques
article

API TESTING

article en

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.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 55%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

API TESTING · Zenodo (CERN European Organization for Nuclear Research) (2025) | TGRS Research Map | TGRS