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

Program testing method, program testing device and storage medium

A program testing and program technology, applied in the fields of computer-readable storage media, program testing, and program testing devices, can solve problems such as inaccurate test results of asynchronous processing programs, and achieve the effect of improving accuracy

Pending Publication Date: 2020-03-17
GUANGZHOU PINWEI SOFTWARE
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This has the flaw that the test results of the asynchronous handler are inaccurate

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
  • Program testing method, program testing device and storage medium
  • Program testing method, program testing device and storage medium
  • Program testing method, program testing device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0036] In the traditional asynchronous processing program automation test process, the message is usually generated by the simulated producer to the middleware, and then the message middleware determines the corresponding message consumer according to the message content, and transmits the message sent by the simulated producer to the message consumer By. After the message consumer receives the message, it generates response data according to the content of the message, and saves the response data in the database. Finally, the simulation producer regularly polls the database to read the response data, and determines the test result according to the response data. Since the time for a message consumer to process each received message is affected by many factors such as the number of messages to be processed, server pe...

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 a program testing method which comprises the following steps that a consumer module processes a preset message through a program to be tested and updates a database according to a processing result; a real-time data pipeline generates a feedback message according to the updated content of the database; and a test result of the to-be-tested program is determined according tothe expected results corresponding to the feedback message and the preset message. The invention further discloses a program testing device and a computer readable storage medium which realize the effect of improving the accuracy of the testing results of the asynchronous processing programs.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a program testing method, a program testing device and a computer-readable storage medium. Background technique [0002] In the traditional automated testing process of asynchronous handlers, the simulated producer usually sends a message to the middleware, and then the message middleware determines the corresponding message consumer according to the message content, and transmits the message sent by the simulated producer to the message consumer . After the message consumer receives the message, it generates response data according to the content of the message, and saves the response data in the database. Finally, the simulation producer regularly polls the database to read the response data, and determines the test result according to the response data. Since the time for a message consumer to process each received message is affected by many factors such as the num...

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/3684G06F11/3688Y02D10/00
Inventor 雷达伟
Owner GUANGZHOU PINWEI SOFTWARE
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