Mock test method and device, mock platform and storage medium
The invention provides a mock test method and device, a mock platform and a medium. The method comprises the following steps: receiving a data request which is sent by a test end and carries a URL address associated with a tested service; the data request is used for requesting to obtain response da...
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 mock test method and device, a mock platform and a medium. The method comprises the following steps: receiving a data request which is sent by a test end and carries a URL address associated with a tested service; the data request is used for requesting to obtain response data of an external interface on which the tested interface depends, the URL address comprises a first address and a second address, the first address is used for pointing to a mock service of a tested service in a target test environment in a mock platform, and the second address is used for pointing to a real service of the tested service in an online server; when a first mock interface configured with an external interface under the mock service is determined based on the first address, obtaining response data returned through the first mock interface; when it is determined that no first mock interface configured with the external interface exists under the mock service based on the first address, response data re |
---|