CN110806973A - Automatic generation method and device of interface message - Google Patents

Automatic generation method and device of interface message Download PDF

Info

Publication number
CN110806973A
CN110806973A CN201910961119.8A CN201910961119A CN110806973A CN 110806973 A CN110806973 A CN 110806973A CN 201910961119 A CN201910961119 A CN 201910961119A CN 110806973 A CN110806973 A CN 110806973A
Authority
CN
China
Prior art keywords
path
message
field
variable
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910961119.8A
Other languages
Chinese (zh)
Inventor
孙阳
郭婷婷
徐梅兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suning Cloud Computing Co Ltd
Original Assignee
Suning Cloud Computing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suning Cloud Computing Co Ltd filed Critical Suning Cloud Computing Co Ltd
Priority to CN201910961119.8A priority Critical patent/CN110806973A/en
Publication of CN110806973A publication Critical patent/CN110806973A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The invention discloses an automatic generation method and a device of an interface message, wherein the method comprises the following steps: acquiring an initial message and field basic data describing a message to be generated, wherein the field basic data at least comprises a field value and field level codes, and the field level codes describe rules for field division; dividing and defining the field value according to the field level code, and generating a variable of the message to be generated and a path index corresponding to the variable; if the field value is not null, generating a path array according to the path index corresponding to the variable and the hierarchy; if the path in the path array exists in the initial message, analyzing the initial message according to the path to generate a final message. The invention can dynamically generate the required input and output messages only by inputting the expected variable value, thereby omitting the fussy step of manually defining the messages in the middle, decoupling the message definition from the service function, greatly reducing the compiling cost and improving the compiling efficiency and the execution efficiency.

Description

Automatic generation method and device of interface message
Technical Field
The present invention relates to the field of automated testing technologies, and in particular, to an automatic generation method and an automatic generation device for an interface packet.
Background
At present, interface messages generally adopt manually defined messages and manually defined variables, the limitation is large, with iteration of daily versions, service functions are continuously increased, the coupling degree of the message definition and the service functions is higher and higher, the reusability of manually defined branches is not high, when fields are newly added, fields in scenes of multiple lines of service data are not completely supplemented, and the maintenance cost is relatively high. And the manual definition of messages and the manual definition of variables often have the problem that the batch running result of the historical cases is influenced due to the newly added field definitions.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide an automatic generation method and an automatic generation device for an interface packet, so as to overcome the problems in the prior art that when a packet is manually defined, when a field is newly added, fields of multiple lines of service data are not supplemented uniformly, field output of some scenes needs to redefine service data branches, the coupling degree with a service is high, manual definition steps are complicated, and the execution efficiency is low.
In order to solve one or more technical problems, the invention adopts the technical scheme that:
on one hand, an automatic generation method of interface messages is provided, which comprises the following steps:
acquiring an initial message and field basic data describing a message to be generated, wherein the field basic data at least comprises a field value and field level codes, and the field level codes describe rules for field division;
dividing and defining the field value according to the field level codes, and generating variables of the message to be generated and path indexes corresponding to the variables;
if the field value is not null, generating a path array according to the path index corresponding to the variable and the hierarchy:
and if the path in the path array exists in the initial message, analyzing the initial message according to the path to generate a final message.
Further, if the to-be-generated packet is a JSON packet, the analyzing the initial packet according to the path, and generating a final packet includes:
and analyzing the initial message into a data object according to the path, and adding the variable into the data object to generate a final message.
Further, if a path in the path array does not exist in the initial packet and the packet to be generated is a JSON packet, the method further includes:
identifying the type of the path, if the type of the path is an array, creating a data object after creating a Json array, and creating a data node under the data object, and if the type of the path is a data object, directly creating a data node under the corresponding data object;
setting the value of the data node according to the field value;
and generating a final message according to the data node after the set value.
Further, if the message to be generated is an XML message, the analyzing the initial message according to the path to generate a final message includes:
and analyzing the initial message into element objects according to the path, adding the element objects into corresponding List elements, and generating a final message.
Further, if a path in the path array does not exist in the initial packet and the packet to be generated is an XML packet, the method further includes:
creating a List element and an element object, setting the value of the element object according to the field value, adding the element object to the List element, and generating a final message.
In another aspect, an apparatus for automatically generating an interface packet is provided, where the apparatus includes:
the data acquisition module is used for acquiring an initial message and field basic data for describing a message to be generated, wherein the field basic data at least comprises a field value and field level codes, and the field level codes describe rules for field division;
the segmentation definition module is used for carrying out segmentation definition on the field value according to the field hierarchy coding and generating a variable of the message to be generated and a path index corresponding to the variable;
an array generating module, configured to generate a path array according to a hierarchy according to a path index corresponding to the variable if the field value is not null;
and the message generation module is used for analyzing the initial message according to the path if the path in the path array exists in the initial message, and generating a final message.
Further, the message generating module includes:
a first parsing unit, configured to parse the initial packet into a data object according to the path;
and the first adding unit is used for adding the variable into the data object to generate a final message.
Further, the apparatus further comprises:
a path identification module for identifying the type of the path;
the first creation module is used for creating a data object after a Json array is created if the type of the path is an array, and creating a data node under the data object, and directly creating a data node under the corresponding data object if the type of the path is a data object;
the first setting module is used for setting the value of the data node according to the field value;
and the message generation module is used for generating a final message according to the data node after the set value.
Further, the message generating module includes:
a second parsing unit, configured to parse the initial packet into element objects according to the path;
and the second adding unit is used for adding the element object to the corresponding List element to generate a final message.
Further, the apparatus further comprises:
a second creation module for creating List elements and element objects;
a second setting module for setting a value of the element object according to the field value;
the message generation module is further configured to add the element object to the List element to generate a final message
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
1. according to the automatic generation method and device of the interface message, the field value is divided and defined according to the field level coding, the variable of the message to be generated and the path index corresponding to the variable are generated, when the field value is not null, the path array is generated according to the path index corresponding to the variable according to the level, when the path in the path array exists in the initial message, the initial message is analyzed according to the path, and the final message is generated, namely, the required input and output messages can be dynamically generated only by inputting the expected variable value, so that the fussy step of manually defining the message in the middle is omitted, the message definition is decoupled from the service function, the compiling cost is reduced to a great extent, and the compiling efficiency and the execution efficiency are improved;
2. the method and the device for automatically generating the interface message provided by the embodiment of the invention dynamically generate variable values based on input (namely field basic data), the same variable only needs to be defined once, different variables are automatically assigned according to the number of the input variable values and the path index of the variable values, and the variable names generate new variable names according to preset prefixes and variable index values, so that the definition steps are reduced, the execution efficiency of cases is improved, and the readability and the usability of the variables are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow diagram illustrating a method for automatic generation of interface messages in accordance with an illustrative embodiment;
fig. 2 is a schematic structural diagram illustrating an apparatus for automatically generating an interface packet according to an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to the scheme provided by the embodiment of the invention, the field value is segmented and defined according to the field hierarchy coding, the variable of the message to be generated and the path index corresponding to the variable are generated, when the field value is not null, the path array is generated according to the path index corresponding to the variable in a hierarchy manner, when the path in the path array exists in the initial message, the initial message is analyzed according to the path, and the final message is generated, namely, the matched interface message is automatically generated according to different service data, so that the complicated step of manually defining the message in the middle is omitted, the message definition is decoupled from the service function, the message compiling and maintaining efficiency is greatly improved, and the compiling and maintaining cost is reduced.
Fig. 1 is a flowchart illustrating an automatic interface message generation method according to an exemplary embodiment, and referring to fig. 1, the method includes the following steps:
s1: the method comprises the steps of obtaining an initial message and field basic data describing the message to be generated, wherein the field basic data at least comprises a field value and field level codes, and the field level codes describe rules of field segmentation.
Specifically, the field basic data in the embodiment of the present invention describes a variable expected to be generated in the packet to be generated, and the field basic data includes, in addition to a field value and a field hierarchy code, a value of a required field corresponding to the field, a hierarchy delimiter of the field value, a field name, a field variable name, a field type, a field parent path type, and other data. Where the field level coding describes the rules for field partitioning.
S2: and carrying out segmentation definition on the field value according to the field level code, and generating a variable of the message to be generated and a path index corresponding to the variable.
Specifically, the field value is defined by dividing according to the field hierarchy code in the field basic data obtained in the above steps, and the variable of the message to be generated and the path index corresponding to the variable are generated.
For example, taking JSON messages as an example, regarding the definition of message variables of service a and service B, taking terminalId field variables as an example, a plurality of terminalId field variables need to be manually defined originally, and if the number of rows increases, the number of definition variables also needs to be increased, so the definition of variables is slightly redundant.
By adopting the method provided by the implementation force of the invention, only the value of the terminalId field needs to be defined as 1; 2 ", where the semicolon is a value of a separator (i.e., a hierarchical separator of the above-mentioned field value), and the variable name is" var _ tertiary id ", the variable is automatically divided into 2 variables var _ tertiary id-1 and var _ tertiary id-2 according to the semicolon, and the JosnPath (i.e., field parent path) is $.
For another example, taking an XML message as an example, if the following message is required to be generated:
<activityTerminal>
<terminalDetail>
<terminalType>1</terminalType>
</terminalDetail>
<terminalDetail>
<terminalType>2</terminalType>
</terminalDetail>
</activityTerminal>
by adopting the method provided by the implementation force of the invention, only the value of the terminalType field needs to be defined as '1'; 2 ", where the semicolon is a value of a separator (i.e., a hierarchical separator of the above-mentioned field value), the variable name is" var _ terminalType ", and then the variable is automatically divided into two variables var _ terminalType-1 and var _ terminalType-2 according to the semicolon, where the xpath path (i.e., field parent path) is// activtytterminal// terminalDetail [ L ], and corresponding xpath path// activtitytterminal [1] and/activtitytterminal detail [2] are generated according to the variable index.
It should be noted that, in the embodiment of the present invention, for the definition of multiple lines of data, variable names with suffixes of hierarchical numbers are generated according to the hierarchy where the fields are located, so that readability of the variables is increased. And one-time definition can generate a plurality of variables at the same time, thereby improving the writing efficiency and the execution efficiency.
In an embodiment of the present invention, when a field value is divided and defined to generate a variable of a message to be generated, the variable is divided into a suffix such as-1 and-2 in a case of one layer, a suffix such as _1-1 and _1-2 in a case of two layers, or a suffix such as.1 _1-1 and.1 _1-2 in a case of three layers.
S3: and if the field value is not null, generating a path array according to the path index corresponding to the variable and the hierarchy.
Specifically, for the definition of a packet of multiple services (e.g., service a and service B), in the prior art, two different branches are usually defined according to specific services, and with the increase of service fields, the following branches may also be added with service C and service D, so that the reusability of packet definition branches is not high, and particularly when the fields are newly added fields, some branches need to be added with new fields, and some branches do not need to be added with new fields, so that each branch needs to be independently debugged to ensure that service cases are not affected, and the maintenance cost is high.
In the embodiment of the invention, whether the field is generated or not is judged according to the input field value (namely, the input specific value), and only when the field value is not null, the next step is continuously executed, namely, the path array is generated according to the path index corresponding to the variable according to the hierarchy, otherwise, the flow is directly ended.
It should be noted that, as an example, in the embodiment of the present invention, it may be set in advance, a null node is generated when a field value is null, a node with a value is generated when the field value has a value, and the node is not generated when the field value is null. In addition, when the newly added field is an unnecessary field and a plurality of lines of service data exist, the value of the node is automatically filled to be null or null, and then whether the node is generated or not is judged. Therefore, when a plurality of lines of data exist, the message with the expected line number is generated according to the line number cycle, and the required service data message (namely the final message) is generated finally. Therefore, the process of matching the manual work and the specific service when the case is maintained can be omitted, and the maintenance cost is reduced.
S4: and if the path in the path array exists in the initial message, analyzing the initial message according to the path to generate a final message.
Specifically, in the embodiment of the present invention, after the path array is generated, the path array is traversed, whether a path in the path array exists in the initial message is queried, and if the path exists in the initial message, the initial message is analyzed according to the corresponding path, so as to generate the final message.
As a preferred embodiment, in the embodiment of the present invention, if the packet to be generated is a JSON packet, the analyzing the initial packet according to the path, and generating a final packet includes:
and analyzing the initial message into a data object according to the path, and adding the variable into the data object to generate a final message.
Specifically, when the message to be generated is a JSON message, the initial message is analyzed according to the path, and a specific process of generating the final message is as follows:
and analyzing the initial message into a corresponding data object (here, mainly referred to as a JsonObject) according to the path in the path array, and then adding the variable obtained in the step into the data object (JsonObject) to generate a final message.
As a preferred embodiment, in the embodiment of the present invention, if a path in the path array does not exist in the initial packet and the packet to be generated is a JSON packet, the method further includes:
identifying the type of the path, if the type of the path is an array, creating a data object after creating a Json array, and creating a data node under the data object, and if the type of the path is a data object, directly creating a data node under the corresponding data object;
setting the value of the data node according to the field value;
and generating a final message according to the data node after the set value.
Specifically, when a path in the path array does not exist in the initial message and the message to be generated is a JSON message, the following steps are executed:
first, the type of the path is recognized, and during specific recognition, the type of the path may be recognized by using a method of recognizing an identifier corresponding to the path, for example, if the identifier corresponding to the path is an array identifier L (i.e., a jsonnairerray identifier), the type of the path is indicated as an array, and if the identifier corresponding to the path is a data object identifier (i.e., a jsonnject identifier) D, the type of the path is indicated as a data object. When the type of the path is identified as an array, a Json array is firstly created according to the path, then a corresponding data object is created according to the path, and finally a data node is created under the data object.
And after the data object is established, setting the value of the data node according to the field value, and then generating a final message according to the data node with the set value.
As a preferred embodiment, in the embodiment of the present invention, if the message to be generated is an XML message, the analyzing the initial message according to the path to generate a final message includes:
and analyzing the initial message into element objects according to the path, adding the element objects into corresponding List elements, and generating a final message.
Specifically, when the message to be generated is an XML message, the initial message is analyzed according to the path, and a specific process of generating the final message is as follows:
the initial message is firstly parsed into element objects (mainly referred to as elements herein) according to paths, values of the element objects are set according to the field values, and then the element objects (i.e., elements) are added to corresponding List elements, so as to generate a final message. It should be noted that the List element referred to herein refers to a List element corresponding to the path in the initial message.
As a preferred embodiment, in the embodiment of the present invention, if a path in the path array does not exist in the initial packet and the packet to be generated is an XML packet, the method further includes:
creating a List element and an element object, setting the value of the element object according to the field value, adding the element object to the List element, and generating a final message.
Specifically, when the path in the path array does not exist in the initial message and the message to be generated is an XML message, the following steps are executed:
firstly, creating a List element according to the path, then creating a corresponding element object (i.e. element) according to the path, and setting the value of the element object according to the field value. If the terminalType field has a value of "1; and 2', the variable is named as "var _ terminalType", the variable is divided into two variables, namely, var _ terminalType-1 and var _ terminalType-2 through the segmentation definition, and the values corresponding to the variable _ terminalType-1 and the variable _ terminalType-2 are set to be "1" and "2", respectively. And finally, adding the element object into the List element to generate a final message.
Fig. 2 is a schematic structural diagram of an apparatus for automatically generating an interface packet according to an exemplary embodiment, and referring to fig. 2, the apparatus includes:
the data acquisition module is used for acquiring an initial message and field basic data for describing a message to be generated, wherein the field basic data at least comprises a field value and field level codes, and the field level codes describe rules for field division;
the segmentation definition module is used for carrying out segmentation definition on the field value according to the field hierarchy coding and generating a variable of the message to be generated and a path index corresponding to the variable;
an array generating module, configured to generate a path array according to a hierarchy according to a path index corresponding to the variable if the field value is not null;
and the message generation module is used for analyzing the initial message according to the path if the path in the path array exists in the initial message, and generating a final message.
As a preferred implementation manner, in the embodiment of the present invention, the message generating module includes:
a first parsing unit, configured to parse the initial packet into a data object according to the path;
and the first adding unit is used for adding the variable into the data object to generate a final message.
As a preferred implementation manner, in an embodiment of the present invention, the apparatus further includes:
a path identification module for identifying the type of the path;
the first creation module is used for creating a data object after a Json array is created if the type of the path is an array, and creating a data node under the data object, and directly creating a data node under the corresponding data object if the type of the path is a data object;
the first setting module is used for setting the value of the data node according to the field value;
and the message generation module is used for generating a final message according to the data node after the set value.
As a preferred implementation manner, in the embodiment of the present invention, the message generating module includes:
a second parsing unit, configured to parse the initial packet into element objects according to the path;
and the second adding unit is used for adding the element object to the corresponding List element to generate a final message.
As a preferred implementation manner, in an embodiment of the present invention, the apparatus further includes:
a second creation module for creating List elements and element objects;
a second setting module for setting a value of the element object according to the field value;
the message generation module is further configured to add the element object to the List element, and generate a final message.
In summary, the technical solution provided by the embodiment of the present invention has the following beneficial effects:
1. according to the automatic generation method and device of the interface message, the field value is divided and defined according to the field level coding, the variable of the message to be generated and the path index corresponding to the variable are generated, when the field value is not null, the path array is generated according to the path index corresponding to the variable according to the level, when the path in the path array exists in the initial message, the initial message is analyzed according to the path, and the final message is generated, namely, the required input and output messages can be dynamically generated only by inputting the expected variable value, so that the fussy step of manually defining the message in the middle is omitted, the message definition is decoupled from the service function, the compiling cost is reduced to a great extent, and the compiling efficiency and the execution efficiency are improved;
2. the method and the device for automatically generating the interface message provided by the embodiment of the invention dynamically generate variable values based on input (namely field basic data), the same variable only needs to be defined once, different variables are automatically assigned according to the number of the input variable values and the path index of the variable values, and the variable names generate new variable names according to preset prefixes and variable index values, so that the definition steps are reduced, the execution efficiency of cases is improved, and the readability and the usability of the variables are improved.
It should be noted that: the automatic generation device of an interface message provided in the foregoing embodiment is only illustrated by dividing the functional modules when a message generation service is triggered, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, an internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the automatic generation apparatus of an interface message and the automatic generation method of an interface message provided in the above embodiments belong to the same concept, that is, the apparatus is based on the automatic generation method of an interface message, and the specific implementation process thereof is detailed in the method embodiments and will not be described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. An automatic generation method of interface messages is characterized by comprising the following steps:
acquiring an initial message and field basic data describing a message to be generated, wherein the field basic data at least comprises a field value and field level codes, and the field level codes describe rules for field division;
dividing and defining the field value according to the field level codes, and generating variables of the message to be generated and path indexes corresponding to the variables;
if the field value is not null, generating a path array according to the path index corresponding to the variable and the hierarchy;
and if the path in the path array exists in the initial message, analyzing the initial message according to the path to generate a final message.
2. The method according to claim 1, wherein if the to-be-generated packet is a JSON packet, the parsing the initial packet according to the path and generating a final packet include:
and analyzing the initial message into a data object according to the path, and adding the variable into the data object to generate a final message.
3. The method according to claim 1 or 2, wherein if the path in the path array does not exist in the initial packet and the packet to be generated is a JSON packet, the method further comprises:
identifying the type of the path, if the type of the path is an array, creating a data object after creating a Json array, and creating a data node under the data object, and if the type of the path is a data object, directly creating a data node under the corresponding data object;
setting the value of the data node according to the field value;
and generating a final message according to the data node after the set value.
4. The method according to claim 1, wherein if the message to be generated is an XML message, the parsing the initial message according to the path to generate a final message includes:
and analyzing the initial message into element objects according to the path, adding the element objects into corresponding List elements, and generating a final message.
5. The method according to claim 1 or 4, wherein if the path in the path array does not exist in the initial packet and the packet to be generated is an XML packet, the method further includes:
creating a List element and an element object, setting the value of the element object according to the field value, adding the element object to the List element, and generating a final message.
6. An apparatus for automatically generating interface messages, the apparatus comprising:
the data acquisition module is used for acquiring an initial message and field basic data for describing a message to be generated, wherein the field basic data at least comprises a field value and field level codes, and the field level codes describe rules for field division;
the segmentation definition module is used for carrying out segmentation definition on the field value according to the field hierarchy coding and generating a variable of the message to be generated and a path index corresponding to the variable;
an array generating module, configured to generate a path array according to a hierarchy according to a path index corresponding to the variable if the field value is not null;
and the message generation module is used for analyzing the initial message according to the path if the path in the path array exists in the initial message, and generating a final message.
7. The apparatus according to claim 6, wherein the message generation module comprises:
a first parsing unit, configured to parse the initial packet into a data object according to the path;
and the first adding unit is used for adding the variable into the data object to generate a final message.
8. The apparatus according to claim 6 or 7, wherein the apparatus further comprises:
a path identification module for identifying the type of the path;
the first creation module is used for creating a data object after a Json array is created if the type of the path is an array, and creating a data node under the data object, and directly creating a data node under the corresponding data object if the type of the path is a data object;
the first setting module is used for setting the value of the data node according to the field value;
and the message generation module is used for generating a final message according to the data node after the set value.
9. The apparatus according to claim 6, wherein the message generation module comprises:
a second parsing unit, configured to parse the initial packet into element objects according to the path;
and the second adding unit is used for adding the element object to the corresponding List element to generate a final message.
10. The apparatus according to claim 6 or 9, wherein the apparatus further comprises:
a second creation module for creating List elements and element objects;
a second setting module for setting a value of the element object according to the field value;
the message generation module is further configured to add the element object to the List element, and generate a final message.
CN201910961119.8A 2019-10-11 2019-10-11 Automatic generation method and device of interface message Pending CN110806973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910961119.8A CN110806973A (en) 2019-10-11 2019-10-11 Automatic generation method and device of interface message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910961119.8A CN110806973A (en) 2019-10-11 2019-10-11 Automatic generation method and device of interface message

Publications (1)

Publication Number Publication Date
CN110806973A true CN110806973A (en) 2020-02-18

Family

ID=69488324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910961119.8A Pending CN110806973A (en) 2019-10-11 2019-10-11 Automatic generation method and device of interface message

Country Status (1)

Country Link
CN (1) CN110806973A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165406A (en) * 2020-08-31 2021-01-01 苏宁云计算有限公司 Interface message testing method and device, computer equipment and storage medium
WO2021189826A1 (en) * 2020-09-02 2021-09-30 平安科技(深圳)有限公司 Message generation method and apparatus, electronic device, and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970672A (en) * 2014-04-09 2014-08-06 汉柏科技有限公司 Message memory management method and system
CN105279032A (en) * 2015-11-24 2016-01-27 浪潮(北京)电子信息产业有限公司 Method and apparatus for synchronizing interface message and javaBean

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970672A (en) * 2014-04-09 2014-08-06 汉柏科技有限公司 Message memory management method and system
CN105279032A (en) * 2015-11-24 2016-01-27 浪潮(北京)电子信息产业有限公司 Method and apparatus for synchronizing interface message and javaBean

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165406A (en) * 2020-08-31 2021-01-01 苏宁云计算有限公司 Interface message testing method and device, computer equipment and storage medium
WO2021189826A1 (en) * 2020-09-02 2021-09-30 平安科技(深圳)有限公司 Message generation method and apparatus, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN106528129A (en) Web application interface generation system and method
US8782597B2 (en) Ontology updating apparatus, method and system
CN111090417B (en) Binary file analysis method, binary file analysis device, binary file analysis equipment and binary file analysis medium
CN106293664A (en) Code generating method and device
CN110866029B (en) sql statement construction method, device, server and readable storage medium
CN111399828B (en) Model-driven logic device modeling method and terminal
CN104407863A (en) Abstract control model programming device and method
CN111324619B (en) Object updating method, device, equipment and storage medium in micro-service system
CN110968509B (en) Method and system for batch customizing of variables
CN110543427B (en) Test case storage method and device, electronic equipment and storage medium
CN115858796A (en) Fault knowledge graph construction method and device
CN113238740B (en) Code generation method, code generation device, storage medium and electronic device
CN108664546B (en) XML data structure conversion method and device
CN104461531A (en) Implementing method for self-defined functions of reporting system
CN110806973A (en) Automatic generation method and device of interface message
CN112395339B (en) Intersystem data admission verification method, device, computer equipment and storage medium
US20090064092A1 (en) Visual programming language optimization
CN102486731B (en) Strengthen the visualization method of the call stack of software of software, equipment and system
CN115982416A (en) Data processing method and device, readable storage medium and electronic equipment
CN115048913A (en) Command processing method and device and electronic equipment
CN113868138A (en) Method, system, equipment and storage medium for acquiring test data
CN116501744B (en) Automatic form building and warehousing method and device for simulation data and computer equipment
CN113992549B (en) Test method, test device, electronic equipment and storage medium
CN101753346B (en) Method and system for leading in comprehensive webmaster data
CN102609249A (en) Configurable menu implementation method based on extensible markup language

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200218