Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic test method and device, medium, electronic equipment and system

A technology for automated testing and the system under test, which is applied in the field of computer applications, can solve the problems of high complexity of the test system, achieve the effects of improving scalability, realizing componentization and openness, and improving flexibility

Pending Publication Date: 2021-04-20
CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the existence of the third-party system, in order to enable the interactive data to be recognized by the third-party system, the interface simulation module in the test system needs to perform protocol conversion on the interactive data according to the third-party data protocol, which makes the overall complexity of the test system high

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 and device, medium, electronic equipment and system
  • Automatic test method and device, medium, electronic equipment and system
  • Automatic test method and device, medium, electronic equipment and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It is a flow chart of an automated testing method provided in Embodiment 1 of the present application. This embodiment is applicable to the situation of testing the performance of the system under test. The method can be executed by the automated testing device provided by the embodiment of the present application, the method can be realized by software and / or hardware, and can be integrated into the electronic equipment running the method.

[0032] Such as figure 1 As shown, the automated testing method includes:

[0033] S110. Perform protocol conversion on the target test data according to the preset data conversion protocol to obtain a test data protocol conversion result, and drive the interface simulation module to establish a communication connection with the system under test according to the test script.

[0034] Wherein, the preset data conversion protocol is pre-configured by the user in the test engine of the test system for the test task. Specifi...

Embodiment 2

[0046] figure 2 It is a flowchart of an automated testing method provided in Embodiment 2 of the present application. This embodiment is further optimized on the basis of the foregoing embodiments. The specific optimization is that the protocol conversion of the target test data according to the preset data conversion protocol to obtain the test data protocol conversion result includes: obtaining the target test data through the data acquisition module in response to the test task selection instruction; wherein the target test data Including the test task identification; matching the test task identification of the target test data with the association relationship, if the matching is successful, determining the data conversion protocol corresponding to the target test data in the candidate data conversion protocol; according to The data conversion protocol performs protocol conversion on the target test data to obtain a test data protocol conversion result.

[0047] Such a...

Embodiment 3

[0063] image 3 It is a flow chart of the automated testing method provided in Embodiment 3 of the present application. This embodiment is further optimized on the basis of the foregoing embodiments. The specific optimization is to determine the reply content for the feedback data according to the feedback data protocol conversion result and the preset test task feedback information attribute table, including: test task identification and preset test task identification according to the feedback data protocol conversion result Test the task feedback information attribute table to determine the method for judging the correctness of the feedback data; the expected requirements include specified parameters. Judgment is made to obtain the correctness judgment result; and the reply content for the feedback data is determined according to the correctness judgment result and the preset test task feedback information attribute table.

[0064] Such as image 3 As shown, the automate...

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 discloses an automatic test method and device, a medium, electronic equipment and a system. The method comprises the following steps: performing protocol conversion on target test data according to a preset data conversion protocol to obtain a test data protocol conversion result, and driving an interface simulation module to establish communication connection with a tested system according to a test script; sending the test data protocol conversion result to the tested system through the interface simulation module, so that the tested system generates and sends feedback data according to the test data protocol conversion result; acquiring feedback data through an interface simulation module, and performing protocol conversion on the feedback data to obtain a feedback data protocol conversion result; and determining reply content for the feedback data according to the feedback data protocol conversion result and a preset test task feedback information attribute table. According to the invention, the coupling between the test engine and the tested system and the interface simulation module is reduced, the modularization and openness of the test engine are achieved, and the expandability of the test system is improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer application technologies, and in particular to an automated testing method, device, medium, electronic equipment and system. Background technique [0002] In an interactive system based on B / S or C / S architecture, the devices in the interactive system communicate through interactive programs, and each device participating in the communication requires high security and reliability to ensure the reliability of the interactive system. Therefore, in the process of system development, the reliability of the system needs to be tested. [0003] At present, there are many test systems and there are often third-party systems between the system under test and the test system. The third-party system intercepts the interaction data between the system under test and the test system. After the interaction data is processed by the third-party system, the processed interaction data is sent to...

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
Inventor 郁文斌宋西欣付立民程露竹刘哲苏筱玲王宇杰任超李淼马晓波胡云帆
Owner CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products