Interface testing method and device, terminal equipment and storage medium

The invention discloses an interface test method and device, terminal equipment and a storage medium, and the interface test method comprises the steps: reading a preset test case at a preset time point, and obtaining a corresponding expected result, the test case being created based on a preset pre...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LONG BANG, LI HUI, LIU XIN, ANTIER, HU MEIXIAN
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 test method and device, terminal equipment and a storage medium, and the interface test method comprises the steps: reading a preset test case at a preset time point, and obtaining a corresponding expected result, the test case being created based on a preset presentation layer state transition interface and a test template; running the test case to obtain a corresponding response result; verifying the response result and the expected result to obtain a test result of the test case; and generating a corresponding test report according to the test result. According to the method, the data driving test is adopted, namely, the test case is automatically read and operated at the preset time point, the test result of the test case is obtained, and the test report is generated, so that the technical problem of low interface test efficiency can be solved, and the interface test efficiency is improved. 本申请公开了一种接口测试方法、装置、终端设备以及存储介质,其接口测试方法包括:在预设时间点读取预设测试用例,获得对应的预期结果,其中,测试用例基于预设表现层状