Test method and system for improving coverage rate of interface scripts
The invention provides a test method for improving the coverage rate of an interface script. The method comprises the following steps: 1, monitoring data of a server production environment in real time; 2, processing the collected data, and extracting different component particles, interface names,...
Gespeichert in:
Hauptverfasser: | , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a test method for improving the coverage rate of an interface script. The method comprises the following steps: 1, monitoring data of a server production environment in real time; 2, processing the collected data, and extracting different component particles, interface names, request methods and input parameters; 3, converting the processed data into a python language script, packaging the python language script, providing the python language script to a specific tester, and decompressing the python language script file after the tester obtains the packaged script file; 4, displaying the script at the front end of the webpage, and sending the project to a specified jenkins server to execute the script after checking and modifying; 5, after script execution is finished, generating a test report and sending a notification to the user; and 6, analyzing the generated test report, comparing an interface executed in the test report with a historical test interface, counting untested interface |
---|