Playback method and device of interface test scene

A test scenario and interface test technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as test process errors and test environment changes

Active Publication Date: 2020-12-18
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF12 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above problems, an embodiment of the present invention provides a playback method and device for an interface test scene to solve the problem in the prior art that errors occur in the test process due to changes in the test environment when using traffic data to repeat the test

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Playback method and device of interface test scene
  • Playback method and device of interface test scene
  • Playback method and device of interface test scene

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0056] It should be understood that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a playback method and device for an interface test scene. The method comprises the following steps: when a playback request is received, determining a target test scene in test scenes generated by pre-recording flow data, wherein the target test scene comprises test data and an operation record corresponding to the test data in the binary log; according tothe operation record in the target test scene, performing data recovery on a database of the test system; and according to the test data in the target test scene, performing a playback test in the test system after data recovery. According to the invention, the database in the test environment does not need to be backed up, and only the corresponding operation record needs to be used for data recovery; and errors in the test process due to change of the test environment during repeated tests can be avoided.

Description

technical field [0001] The invention relates to the field of system testing, in particular to a playback method and device for an interface testing scene. Background technique [0002] After the system goes online, iterative upgrades or even refactoring are usually required. How to ensure the correctness of the original business of the system is very important. At present, the new system is usually tested through professional automated testing, and the new system is adjusted according to the test results so that it can run the original business normally. [0003] One of the current conventional methods for testing new systems is to write test scenarios manually and then execute the test scenarios automatically using pre-written test scripts. Of course, the existing intelligent test platform can also be used to automatically generate test scenarios and test according to the test scenarios. [0004] However, in the above process of testing the new system by using the test pl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3664G06F11/3688G06F11/3692Y02D10/00
Inventor 贺珊段梅姣
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products