Method and device for verifying interface test results

A technology for interface testing and test results, applied in error detection/correction, instrumentation, electrical digital data processing, etc., can solve the problems of large manpower consumption, low calibration efficiency, and prone to mistesting, so as to save manpower and improve The effect of checking efficiency and reducing the false detection rate

Active Publication Date: 2014-10-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a verification method for interface test results, so as to solve the defects in the prior art that a large amount of manpower is required to manually verify the interface test results, the verification efficiency is low, the cost is high, and mistesting is prone to occur.

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
  • Method and device for verifying interface test results
  • Method and device for verifying interface test results
  • Method and device for verifying interface test results

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 The implementation process of the verification method for the interface test result provided by the first embodiment of the present invention is shown, and the details are as follows:

[0025] In step S101, a verification request of the interface test result is received, and the verification request includes the verification type of the interface test result.

[0026] In step S102, corresponding interface test data is acquired according to the verification type of the verification request.

[0027] The verification request of the interface test result can be sent to the system under test together with the test case data, and the return of the interface test data is controlled during the execution of the test case, such as recording the response result of the interface test during the execution of the test case. data, or after the execution of the test case is completed, obtain the database result data of the system to be tested or the log result data of the te...

Embodiment 2

[0034] figure 2 The schematic flowchart of the response result data verification of the interface test provided by the second embodiment of the present invention is described in detail as follows:

[0035] In step S201, a verification request of the interface test result is received, where the verification request includes the verification type of the interface test result.

[0036] Before this step, step S200 may also be included to judge whether the calibration result data is empty, if it is empty, it indicates that the current test has no returned data, and the wiring harness is verified, thus avoiding subsequent matching verification work.

[0037] In step S202, the test case is loaded, and the response result data of the test case is acquired according to the verification type of the verification request for the verification of the response result.

[0038] Specifically, to realize the verification of the response result data, it is necessary to save the response result...

Embodiment 3

[0047] image 3 The schematic flowchart of the database result verification of the interface test provided by the third embodiment of the present invention is described in detail as follows:

[0048] When performing an interface test, the results will be written to the database in most cases, so it is necessary to continue to verify the results of the data.

[0049] In step S301, a verification request of the interface test result is received, and the verification request includes the verification type of the interface test result;

[0050] Before this, step S300 may also be included, judging whether the database result field of the correction result data in xml format is empty, and if it is empty, directly ending the matching of the database result data.

[0051] In step S302, the database to be queried is selected according to the verification type of the database result verification.

[0052] For multiple databases, you need to select the target database to be connected to,...

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 invention provides a method and a device for verifying interface test results and is applicable to the field of interface test. The method includes steps of receiving verifying requests of the interface test results, wherein the verifying requests include verifying types of the interface test results; acquiring corresponding interface test data according to the verifying requests; matching the interface test data with preset correction result data to obtain verifying results. The corresponding interface test data can be acquired according to the verifying request types and are automatically compared and matched with the correction result data, and compared with existing manual comparison way, the method has the advantages that a great deal of labor can be saved, mistaken verifying rate is decreased, verifying efficiency is improved and cost is reduced.

Description

technical field [0001] The invention belongs to the field of interface testing, and in particular relates to a method and device for verifying interface testing results. Background technique [0002] Interface testing is a type of testing that tests the interface between system components. It is mainly used to detect the interaction points between the external system and the system and between the various internal subsystems. The focus of the test is to check the data exchange, transmission and control management process, as well as the mutual logical dependencies between the systems. The verification of the test results generally includes verification of the test response results, the test database results and the log results. [0003] The existing verification method usually adopts the manual verification method. After the test is completed, the correctness of the interface test result is manually verified. This verification method not only consumes a lot of manpower, but...

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/273
Inventor 刘楚蓉刘洋
Owner TENCENT TECH (SHENZHEN) 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