Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Automatic test method, system and device and computer readable storage medium

An automated testing and computer technology, applied in the computer field, can solve the problems of incomplete thinking, manual design omissions, and high maintenance costs, and achieve the effect of avoiding dirty data, avoiding the risk of missed testing, and high reliability.

Pending Publication Date: 2020-05-22
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] First of all, the data in the test environment is relatively small and easy to change, not only the maintenance cost is high, but also it is difficult to cover completely, and there is a risk of missed testing;
[0004] Secondly, the test cases are all manually designed, and there are inevitably omissions in the manual design, and there is a risk of missing tests due to incomplete thinking.

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 test method, system and device and computer readable storage medium
  • Automatic test method, system and device and computer readable storage medium
  • Automatic test method, system and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention is described below based on examples, but the present invention is not limited to these examples. In the following detailed description of the present invention, some specific details are described in detail. Those skilled in the art can fully understand the present invention without the description of these details. In order to avoid obscuring the essence of the present invention, the well-known methods, processes, and procedures are not described in detail. In addition, the drawings are not necessarily drawn to scale.

[0042] figure 1 It is a schematic diagram of the structure of an interface test system according to an embodiment of the present invention. The automated test system 10 includes a use case generation module 100, an interface providing module 200, and an automated test module 300.

[0043] Such as figure 1 As shown, the logbook system 103 is a log recording system of an online business system, used to record interface call logs and b...

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 an automatic test method and an automatic test system. The automated test method comprises the following steps: based on an interface calling log of a production environment, generating a plurality of test cases, and each test case comprises an interface name, an entry parameter value and a first exit parameter value; and for each test case, executing interface calling based on the entry parameter value and the interface name, obtaining a returned second exit parameter value, comparing the first exit parameter value with the second exit parameter value,and judging whether each test case passes or not according to a comparison result. According to the automatic test method, a tester does not need to design and construct a test case, so that the missing test risk is avoided, the comparison of test results is automatically completed by the system, and the reliability is high.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to an automated test method, system, device and computer readable storage medium. Background technique [0002] At present, JD’s pre-release environment and online environment use the same set of databases, and all data writing operations must be directly stored in the database and will directly enter the production environment. If the write interface test is performed in the pre-release environment and the online environment, the generated test dirty data will enter the production environment. Therefore, in general, it is not allowed to perform interface testing in the pre-release environment and online environment. The current solution is to perform corresponding tests in a test environment. However, the inventor found that constructing data in the test environment to test the write interface has the following drawbacks: [0003] First of all, the data in the test environment...

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/3684
Inventor 朱媛媛
Owner BEIJING JINGDONG SHANGKE INFORMATION 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
Eureka Blog
Learn More
PatSnap group products