Automatic interface testing method and terminal for multi-database system
The invention discloses an automatic interface testing method and terminal for a multi-database system, and the method comprises the steps: obtaining a database list which comprises a database and configuration information corresponding to the database; traversing the database list, marking the trav...
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 discloses an automatic interface testing method and terminal for a multi-database system, and the method comprises the steps: obtaining a database list which comprises a database and configuration information corresponding to the database; traversing the database list, marking the traversed database as a target database, connecting the target database according to target configuration information corresponding to the target database, and testing the target database according to a preset rule; automatic switching of database connection in the testing process is achieved, manual database switching is not needed, full automation of interface testing is achieved, and therefore the interface testing efficiency is improved.
本发明公开一种多数据库系统的接口自动化测试方法及终端,获取数据库列表,所述数据库列表包括数据库及与所述数据库对应的配置信息;遍历所述数据库列表,将遍历到的数据库标记为目标数据库,根据所述目标数据库对应的目标配置信息连接所述目标数据库后,根据预设规则测试所述目标数据库;本发明实现数据库连接在测试过程中的自动切换,无需手动进行数据库的切换,实现接口测试的全自动化,从而提高接口测试的效率。 |
---|