The invention discloses an intelligent
software testing method and
system based on automatic script generation, and relates to the technical field of
software testing, and the method comprises the following steps: deploying a distributed
data acquisition probe, dynamically adjusting sampling frequency, collecting
software operation data, and extracting data features based on a
deep learning model; based on the data features, establishing a behavior pattern classification
system, and mapping behavior patterns to realize hierarchical behavior classification; the method comprises the steps of constructing a
test scene, generating
test data, executing a test task, monitoring a
test execution state in real time, calculating a
test efficiency index, evaluating and feeding back a test effect, and dynamically adjusting a
feature extraction strategy. According to the method,
deep learning and
reinforcement learning technologies are utilized, accurate recognition and classification of
software behavior modes are achieved, and comprehensiveness and effectiveness of testing are guaranteed through multi-dimensional coverage
rate analysis and a closed-
loop optimization mechanism; and meanwhile, the
automation level and the intelligent degree of
software testing are remarkably improved, and a powerful guarantee is provided for improving the
software quality.