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

Automatic test method and system for object-oriented communication protocol

A technology for automated testing and communication protocols, applied in software testing/debugging, genetic laws, error detection/correction, etc., to solve problems such as low test efficiency and poor test quality

Pending Publication Date: 2021-01-15
NANJING LINYANG POWER TECH +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to solve the low test efficiency and poor test quality of the automated test method of the existing object-oriented communication protocol

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 system for object-oriented communication protocol
  • Automatic test method and system for object-oriented communication protocol
  • Automatic test method and system for object-oriented communication protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0046] Example: figure 1 It shows the implementation flowchart of the automatic testing method of the object-oriented communication protocol in this embodiment. figure 2 It shows the expanded flow chart of the automatic testing method of the object-oriented communication protocol in this embodiment. refer to figure 1 with figure 2 , the automated testing method of the object-oriented communication protocol of the present embodiment comprises the following steps:

[0047] Step S100, establishing an XML protocol data model according to the specification of the object-oriented communication protocol to be tested;

[0048] Step S200, creating an XML configuration file according to the XML protocol data model;

[0049] Step S300, creating an XML test case file template according to the XML protocol data model;

[0050] Step S400, create a test case file according to the XML test case file template, the test data contained in the test case file is generated based on a genetic...

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 an automatic test method and system for an object-oriented communication protocol. The method comprises the following steps: establishing an XML protocol data model according tothe specification of an object-oriented communication protocol to be tested; creating an XML configuration file according to the XML protocol data model; creating an XML test case file template according to the XML protocol data model; creating a test case file according to the XML test case file template, wherein test data contained in the test case file is generated based on a genetic algorithm, and in the test case file, the test data and a test expected result are described by adopting a JSON data format; and analyzing and executing the test case file. The system comprises a function module for correspondingly realizing each step. According to the invention, the problems of low test efficiency and poor test quality of the existing automatic test method for the object-oriented communication protocol can be effectively solved.

Description

technical field [0001] The invention belongs to the field of software testing, and more specifically relates to an automatic testing method and system of an object-oriented communication protocol. Background technique [0002] Automated testing is a process of converting human-driven testing behavior into machine execution. Usually, after the test case is designed and passed the review, the tester executes the test step by step according to the procedure described in the test case, and compares the actual result with the expected result. In this process, in order to save manpower, time or hardware resources and improve test efficiency, the concept of automated testing is introduced. [0003] Software testing is an important means to ensure software quality. Traditional manual testing has the disadvantages of high cost and low efficiency, so automated testing technology has become an important research direction and development trend of software testing technology in recent...

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/36G06N3/12
CPCG06F11/3684G06N3/126
Inventor 施井荣刘国锋陆寒熹陈海东
Owner NANJING LINYANG POWER TECH
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