Evolutionary Search from the Interior of Feasible Space

Author(s):  
Noha Hamza ◽  
Ruhul Sarker ◽  
Daryl Essam
2021 ◽  
Vol 26 (4) ◽  
Author(s):  
Man Zhang ◽  
Bogdan Marculescu ◽  
Andrea Arcuri

AbstractNowadays, RESTful web services are widely used for building enterprise applications. REST is not a protocol, but rather it defines a set of guidelines on how to design APIs to access and manipulate resources using HTTP over a network. In this paper, we propose an enhanced search-based method for automated system test generation for RESTful web services, by exploiting domain knowledge on the handling of HTTP resources. The proposed techniques use domain knowledge specific to RESTful web services and a set of effective templates to structure test actions (i.e., ordered sequences of HTTP calls) within an individual in the evolutionary search. The action templates are developed based on the semantics of HTTP methods and are used to manipulate the web services’ resources. In addition, we propose five novel sampling strategies with four sampling methods (i.e., resource-based sampling) for the test cases that can use one or more of these templates. The strategies are further supported with a set of new, specialized mutation operators (i.e., resource-based mutation) in the evolutionary search that take into account the use of these resources in the generated test cases. Moreover, we propose a novel dependency handling to detect possible dependencies among the resources in the tested applications. The resource-based sampling and mutations are then enhanced by exploiting the information of these detected dependencies. To evaluate our approach, we implemented it as an extension to the EvoMaster tool, and conducted an empirical study with two selected baselines on 7 open-source and 12 synthetic RESTful web services. Results show that our novel resource-based approach with dependency handling obtains a significant improvement in performance over the baselines, e.g., up to + 130.7% relative improvement (growing from + 27.9% to + 64.3%) on line coverage.


2000 ◽  
Vol 123 (1) ◽  
pp. 11-17 ◽  
Author(s):  
Jianmin Zhu ◽  
Kwun-Lon Ting

The paper presents the theory of performance sensitivity distribution and a novel robust parameter design technique. In the theory, a Jacobian matrix describes the effect of the component tolerance to the system performance, and the performance distribution is characterized in the variation space by a set of eigenvalues and eigenvectors. Thus, the feasible performance space is depicted as an ellipsoid. The size, shape, and orientation of the ellipsoid describe the quantity as well as quality of the feasible space and, therefore, the performance sensitivity distribution against the tolerance variation. The robustness of a design is evaluated by comparing the fitness between the ellipsoid feasible space and the tolerance space, which is a block, through a set of quantitative and qualitative indexes. The robust design can then be determined. The design approach is demonstrated in a mechanism design problem. Because of the generality of the analysis theory, the method can be used in any design situation as long as the relationship between the performance and design variables can be expressed analytically.


2021 ◽  
pp. 104701
Author(s):  
Xiang Huang ◽  
Jie Huang ◽  
Yang Qian ◽  
Lina Yang ◽  
Zhengrong Zhang ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document