US 11,748,244 B2
Regression testing for web applications
Pei Jian Liu, Beijing (CN); Bing Hua Zhao, Beijing (CN); Na Liu, Xi'an (CN); Yan Liu, Beijing (CN); and Mei Rui Su, Beijing (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Dec. 15, 2021, as Appl. No. 17/551,345.
Prior Publication US 2023/0185701 A1, Jun. 15, 2023
Int. Cl. G06F 11/36 (2006.01); G06N 5/04 (2023.01); G06N 5/022 (2023.01)
CPC G06F 11/3688 (2013.01) [G06F 11/3608 (2013.01); G06F 11/3664 (2013.01); G06N 5/022 (2013.01); G06N 5/04 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for regression testing comprising:
training, by one or more processing units, a predict model with network traffic and data change messages generated by an existing web application running in a production environment, the predict model being trained to predict data changes resulted from API calls embodied in network traffic;
replaying, by one or more processing units, a stream of network traffic of the existing web application with a web application under test thus generating real data changes, wherein the web application under test is an upgraded version of the existing web application;
applying, by one or more processing units, the stream of network traffic to the predict model to generate predicted data change messages;
comparing, by one or more processing units, the predicted data change messages with real data change messages representing the real data changes; and
identifying, by one or more processing units, one or more existing APIs as being possibly functionally degraded based on any inconsistency of the predicted data change messages with the real data change messages.