Interface testing method and device, equipment and storage medium

The invention discloses an interface testing method and device, equipment and a storage medium, and is applied to the field of interface tests.The method comprises the steps that when a script generation instruction is received, a to-be-assembled test case is selected from test cases; reading field...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XU JUNJIE, YU JIANLANG, WANG TENGFEI, JIANG WEI, ZHENG JINZHONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an interface testing method and device, equipment and a storage medium, and is applied to the field of interface tests.The method comprises the steps that when a script generation instruction is received, a to-be-assembled test case is selected from test cases; reading field information in the to-be-assembled test case, and splicing the field information according to a preset splicing rule to generate an interface test script; when it is identified that the dependency interface information of the test case to be assembled is not empty, a return value parameter and a replacement request parameter in the dependency interface information are read; generating a parameter transmission relation for replacing the parameter value of the return value parameter with the parameter value of the replacement request parameter; and inserting the parameter passing relation into an interface test script of the to-be-assembled test case. In the script execution process, the parameter value of the return