Automatic test method and device
The invention discloses an automatic test method and device. The method comprises the steps of obtaining a to-be-matched log file; extracting fields contained in the log file through a command; carrying out matching detection on each extracted field; and determining a test result of an automatic tes...
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 test method and device. The method comprises the steps of obtaining a to-be-matched log file; extracting fields contained in the log file through a command; carrying out matching detection on each extracted field; and determining a test result of an automatic test according to a matching result. Through application of the method, all fields in the log file are detected and the accuracy of verifying whether the log content recorded by a log server is accurate or not is effectively improved.
本申请公开了种自动化测试方法及装置,方法包括:获取待匹配的日志文件,通过命令提取该日志文件中包含的字段,对提取出的每个字段进行匹配检查,根据匹配结果,确定自动化测试的测试结果。通过上述方法,可以对日志文件中的所有字段进行检查,有效的提高了验证日志服务器记录的日志内容是否正确的准确性。 |
---|