Automatic testing method and device, electronic equipment and computer readable storage medium

A technology of automated testing and test cases, applied in computing, software testing/debugging, electrical digital data processing, etc.

Pending Publication Date: 2022-03-15
FUTURE TV CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present application is to provide an automated testing method and device to solve the problem of how to efficiently and a

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
  • Automatic testing method and device, electronic equipment and computer readable storage medium
  • Automatic testing method and device, electronic equipment and computer readable storage medium
  • Automatic testing method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0029] For example, in one embodiment, the parameter information in each test case in each test case in the test case can include a plurality of key values ​​formed by the parameter name and corresponding parameter values; or, the test case collection The parameter information in each test case may include a plurality of parameter names and its corresponding parameter values, that is, the parameter information may be a plurality of key values ​​formed by the parameter name and corresponding parameter values, or include multiple Parameter name and its corresponding parameter value.

[0030] In addition, the test case can also include: test module, request head, request method, expected state code, expected response body, is shown figure 2 Indicated.

[0031] Wherein, the test module in the test case is used to describe the specifically tape of the interface to be tested; the request header and the request method are used to form an interface request, and the request method is also ...

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 discloses an automatic testing method and device, electronic equipment and a computer readable storage medium, and belongs to the technical field of software interface testing. Comprising the steps of obtaining a preset test case set corresponding to a target interface; for each test case, determining a sign value corresponding to the test case based on a preset sign value calculation algorithm and the parameter information in the test case; generating a corresponding interface request, the interface request comprising an address of a target interface, the test case and a sign value corresponding to the test case, sending the interface request to the target interface corresponding to the address to enable the target interface to verify the sign value, preprocessing the test case after verification is passed, and returning a preprocessing result; and comparing the preprocessing result with the prediction result, and recording a comparison result. According to the method, the automatic test of the interface with sign verification can be efficiently and accurately carried out, so that the correctness and the real-time performance of the test are ensured.

Description

Technical field [0001] The present application relates to the field of software interface testing, and in particular, there is an automated test method, device, electronic device, and computer readable storage medium. Background technique [0002] With the continuous development of automation test technology, the interface automated test technology with SIGN (Encrypted Signature) is not explained from the proofreading of the tedious incubation, export and interface returning data. However, the interface automated test technology with SIGN verification is different from the SIGN calculation method, and the interface automation test technology is not used. [0003] At present, the interface with SIGN verification needs to dynamically generate SIGN values ​​in the test to meet the verification rules. Regular test method, one is to study the modification of the code, skip the SIGN check in order to verify the interface function, but this method does not verify the correctness, real-t...

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
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3692
Inventor 李鸣肖云官世良寇立青马春宇
Owner FUTURE TV 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