Research and application of RESTful API interface testing technology based on simulation environment construction

The popularization of microservice architecture and cloud computing has driven RESTful API interfaces to become the core vehicle for service interaction.In this paper, we propose a test case generation algorithm PSST based on solution space tree to improve the quality of RESTful API interfaces.Combining OpenAPI specification and combinatorial testing theory, we construct a hierarchical nested API architecture by analyzing the path, parameter and response mapping relationship of the interface definition file.The PSST algorithm for generating combinatorial test cases based on the solution space tree is introduced, and the case generation process is optimized based on the greedy algorithm.The results show that the reward value of PSST algorithm is 9.524.100% state coverage and key module coverage are realized when 22 and 50 test cases are generated.The test program runs with no more than 40% CPU and memory usage and fast IO read/write growth.The RESTful API interface after the use case generation test is able to satisfy the access requirements of 750 users at the same time.

Publication Details

Journal
International journal for housing science and its applications.
Published
2025-08-15
DOI
https://doi.org/10.70517/ijhsa463621
Primary Topic
Simulation and Modeling Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research and application of RESTful API interface testing technology based on simulation environment construction

International journal for housing science and its applications.
Simulation and Modeling Applications
article

Research and application of RESTful API interface testing technology based on simulation environment construction

article en

Abstract

The popularization of microservice architecture and cloud computing has driven RESTful API interfaces to become the core vehicle for service interaction.In this paper, we propose a test case generation algorithm PSST based on solution space tree to improve the quality of RESTful API interfaces.Combining OpenAPI specification and combinatorial testing theory, we construct a hierarchical nested API architecture by analyzing the path, parameter and response mapping relationship of the interface definition file.The PSST algorithm for generating combinatorial test cases based on the solution space tree is introduced, and the case generation process is optimized based on the greedy algorithm.The results show that the reward value of PSST algorithm is 9.524.100% state coverage and key module coverage are realized when 22 and 50 test cases are generated.The test program runs with no more than 40% CPU and memory usage and fast IO read/write growth.The RESTful API interface after the use case generation test is able to satisfy the access requirements of 750 users at the same time.

International journal for housing science and its applications.Vol. 46(3)
Openalex Percentile: Top 74%
Simulation and Modeling Applications
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.

Research and application of RESTful API interface testing technology based on simulation environment construction · International journal for housing science and its applications. (2025) | TGRS Research Map | TGRS