Automated Specification-Based Test Generation for Web Clients and RESTful APIs Using Symbolic Execution

This paper introduces an innovative approach to automated testing for web applications and RESTful APIs that goes beyond traditional isolated API request testing. It focuses on complex, state-dependent interactions that often lead to business logic errors. The proposed method uses a formal specification language inspired by design-by-contract, state charts, symbolic execution, and API mocking to generate state-aware abstract test cases (ATCs). These are then turned into concrete test cases to improve test coverage and reliability. Experimental results demonstrate that this approach reduces manual effort, improves test coverage, and uncovers critical hidden failures, leading to more dependable web applications.

Authors

Publication Details

Journal
International Journal on Science and Technology
Published
2025-05-07
DOI
https://doi.org/10.71097/ijsat.v16.i2.4540
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

Automated Specification-Based Test Generation for Web Clients and RESTful APIs Using Symbolic Execution

Amit Lakhani, M. Hegde, Dr I Bremnavas -
International Journal on Science and Technology
Software Testing and Debugging Techniques
article

Automated Specification-Based Test Generation for Web Clients and RESTful APIs Using Symbolic Execution

Amit Lakhani, M. Hegde, Dr I Bremnavas -
article en

Abstract

This paper introduces an innovative approach to automated testing for web applications and RESTful APIs that goes beyond traditional isolated API request testing. It focuses on complex, state-dependent interactions that often lead to business logic errors. The proposed method uses a formal specification language inspired by design-by-contract, state charts, symbolic execution, and API mocking to generate state-aware abstract test cases (ATCs). These are then turned into concrete test cases to improve test coverage and reliability. Experimental results demonstrate that this approach reduces manual effort, improves test coverage, and uncovers critical hidden failures, leading to more dependable web applications.

International Journal on Science and TechnologyVol. 16(2)
Openalex Percentile: Top 91%
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.