Log-driven interface automatic test method and system
An automated testing and logging technology, applied in software testing/debugging, error detection/correction, special data processing applications, etc., can solve problems such as difficult to ensure long-term test stability, achieve convenient interface automated testing, simplify the construction process, reduce cost effect
Image
Examples
Embodiment Construction
[0023] The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.
[0024] Such as figure 1 As shown, the present invention provides a log-driven interface automated testing method, comprising the following steps:
[0025] Step 101, query the log of the production environment and import it into the local database;
[0026] Step 102, for each log, according to the mock interface of the log, make a request under different test environments, and obtain the return log messages under different test environments;
[0027] Step 103, comparing the returned log messages under different test environments, and saving the comparison results;
[0028] Step 104, generate a report of the comparison result and output it to the front-end page for display.
[0029] Wherein, in step 101, the es log of the production environment is queried to detect whether there is a log, and if so, the log is imported into t...
PUM
Login to View More Abstract
Description
Claims
Application Information
- IPC
- G06F11/36; G06F17/30
- CPC
- G06F11/3684; G06F11/3688
- Inventors
- 纪春宇; 陈亮


