CN110309058A - Business end test method, device, computer installation and computer storage medium - Google Patents

Business end test method, device, computer installation and computer storage medium Download PDF

Info

Publication number
CN110309058A
CN110309058A CN201910438478.5A CN201910438478A CN110309058A CN 110309058 A CN110309058 A CN 110309058A CN 201910438478 A CN201910438478 A CN 201910438478A CN 110309058 A CN110309058 A CN 110309058A
Authority
CN
China
Prior art keywords
request
service request
response message
rule
business end
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
CN201910438478.5A
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN201910438478.5A priority Critical patent/CN110309058A/en
Publication of CN110309058A publication Critical patent/CN110309058A/en
Pending legal-status Critical Current

Links

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/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of business end test method, device, computer installation and storage medium.Business end test method includes: the service request at reception business end;Determine the protocol type of the service request;The service request is matched with the request rule that Mock platform stores, is obtained and the matched request rule of the service request;Message data corresponding with the matched request rule of the service request is obtained from the Mock platform;The message data is converted to the response message of the protocol type;The response message is returned into the business end.The present invention supports the service request of various protocols type, realizes the test of multi-protocols business end.

Description

Business end test method, device, computer installation and computer storage medium
Technical field
The present invention relates to software testing technology fields, and in particular to a kind of business end test method, device, computer installation And computer storage medium.
Background technique
Mock (simulation) test is an important link in application development process.Mock test is exactly in test process In, for certain objects for being not easy to construct or be not easy to obtain, the survey so as to test is created with a virtual object Method for testing.It is tested, is may make in application development process using Mock, reduce the coupling at front end (business end) and rear end, so that Front-end person who is tested again after providing data without waiting for rear end, realizes separation and the front and back end concurrent development of front and back end.
The Mock test at business end is the service that analog service end provides, according to the service request at business end, returned data Give business end.The existing Mock for business end is tested generally by means of the Mock tool such as Easy Mock, Rap.However, existing Mock tool only support HTTP (Hyper Text Transfer Protocol hypertext transfer protocol), HTTPS (HyperText Transfer Protocol Secure, Hyper text transfer security protocol) agreement.For using other agreements The business end of (such as SOAP, Simple Object Access Protocol, Simple Object Access Protocol), existing Mock Tool is not able to satisfy.
Therefore, it is necessary to the business end test methods that one kind can support various protocols type, can overcome existing Mock work The deficiency of tool.
Summary of the invention
In view of the foregoing, it is necessary to propose a kind of business end test method, device, computer installation and computer storage Medium can support the service request of various protocols type and make a response, and realize the test of multi-protocols business end.
The first aspect of the application provides a kind of business end test method, which comprises
The service request at reception business end;
Determine the protocol type of the service request;
The service request is matched with the request rule that Mock platform stores, obtains matching with the service request Request rule;
Message data corresponding with the matched request rule of the service request is obtained from the Mock platform;
The message data is converted to the response message of the protocol type;
The response message is returned into the business end.
In alternatively possible implementation, the protocol type of the determination service request includes:
The protocol type of the service request is determined according to the message format of the service request.
In alternatively possible implementation, the request rule by the service request and Mock platform storage It includes following one or more for carrying out matching:
By user's body in the request rule of subscriber identity information and Mock platform storage in the service request Part information is matched;
By the number of request in the request rule of request data path and Mock platform storage in the service request It is matched according to path;
By the number of request in the request rule of request data time and Mock platform storage in the service request It is matched according to the time;
By the number of request in the request rule of request data classification and Mock platform storage in the service request It is matched according to classification;
By the request data mark in the service request and the number of request in the request rule of Mock platform storage It is matched according to mark.
In alternatively possible implementation, the response message that the message data is converted to the protocol type Include:
Obtain the structure of the response message of the protocol type;
From data needed for the structure of response message for extracting the protocol type in the message data;
It will be described in structure construction of the data that extracted from the message data according to the response message of the protocol type The response message of protocol type.
In alternatively possible implementation, before the business end by response message return, the side Method further include:
Whether judge in the response message comprising random function, date function, the function of time, waiting function or dynamic Required parameter;
If in the response message including random function, random number is generated according to the random function, in the response The random number is added in message;
If in the response message including date function, according to the date function date of formation, reported in the response The date is added in text;
If in the response message including the function of time, the time is generated according to the function of time, is reported in the response The time is added in text;
If waiting preset time according to the waiting function comprising waiting function in the response message;
If including dynamic requests parameter in the response message, the parameter value of the dynamic requests parameter is obtained, in institute It states and adds the parameter value in response message.
In alternatively possible implementation, the method also includes:
If the service request and the request rule match of Mock platform storage fail, according to the business end IP address obtains real interface address;
Message data is obtained from the real interface address.
In alternatively possible implementation, the method also includes:
Judge whether the service request includes abnormality mark;
If the service request is identified comprising abnormality, preset abnormality return code is returned into the business End.
The second aspect of the application provides a kind of business end test device, and described device includes:
Receiving module, for receiving the service request at business end;
Determining module, for determining the protocol type of the service request;
Matching module obtains and institute for matching the service request with the request rule that Mock platform stores State the matched request rule of service request;
Module is obtained, for obtaining message corresponding with the matched request rule of the service request from the Mock platform Data;
Conversion module, for the message data to be converted to the response message of the protocol type;
Return module, for the response message to be returned to the business end.
In alternatively possible implementation, the protocol type of the determination service request includes:
The protocol type of the service request is determined according to the message format of the service request.
In alternatively possible implementation, the request rule by the service request and Mock platform storage It includes following one or more for carrying out matching:
By user's body in the request rule of subscriber identity information and Mock platform storage in the service request Part information is matched;
By the number of request in the request rule of request data path and Mock platform storage in the service request It is matched according to path;
By the number of request in the request rule of request data time and Mock platform storage in the service request It is matched according to the time;
By the number of request in the request rule of request data classification and Mock platform storage in the service request It is matched according to classification;
By the request data mark in the service request and the number of request in the request rule of Mock platform storage It is matched according to mark.
In alternatively possible implementation, the conversion module is used for:
Obtain the structure of the response message of the protocol type;
From data needed for the structure of response message for extracting the protocol type in the message data;
It will be described in structure construction of the data that extracted from the message data according to the response message of the protocol type The response message of protocol type.
In alternatively possible implementation, described device further include:
Multidate information processing module, is used for:
Before the response message is returned to the business end, whether judge in the response message comprising random letter Number, waits function or dynamic requests parameter at date function, the function of time;
If in the response message including random function, random number is generated according to the random function, in the response The random number is added in message;
If in the response message including date function, according to the date function date of formation, reported in the response The date is added in text;
If in the response message including the function of time, the time is generated according to the function of time, is reported in the response The time is added in text;
If waiting preset time according to the waiting function comprising waiting function in the response message;
If including dynamic requests parameter in the response message, the parameter value of the dynamic requests parameter is obtained, in institute It states and adds the parameter value in response message.
In alternatively possible implementation, described device further include:
True address obtains module, if the request rule match for the service request and Mock platform storage is lost It loses, then real interface address is obtained according to the IP address at the business end, obtain message data from the real interface address.
In alternatively possible implementation, described device further include:
Abnormal return module, for judging whether the service request includes abnormality mark, if the service request It is identified comprising abnormality, then preset abnormality return code is returned into the business end.
The third aspect of the application provides a kind of computer installation, and the computer installation includes processor, the processing Device is for realizing the business end test method when executing the computer program stored in memory.
The fourth aspect of the application provides a kind of computer storage medium, is stored thereon with computer program, the calculating Machine program realizes the business end test method when being executed by processor.
The service request at present invention reception business end;Determine the protocol type of the service request;By the service request It is matched, is obtained and the matched request rule of the service request with the request rule of Mock platform storage;From the Mock Platform obtains message data corresponding with the matched request rule of the service request;The message data is converted into the association Discuss the response message of type;The response message is returned into the business end.The present invention supports the business of various protocols type to ask It asks and makes a response, realize the test of multi-protocols business end.
Detailed description of the invention
Fig. 1 is the flow chart of business end provided in an embodiment of the present invention test method.
Fig. 2 is the structure chart of business end provided in an embodiment of the present invention test device.
Fig. 3 is the schematic diagram of computer installation provided in an embodiment of the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, embodiments herein and embodiment In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Preferably, business end test method of the invention is applied in one or more computer installation.The calculating Machine device is that one kind can be according to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing, Its hardware includes but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The computer installation can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The computer installation can carry out people by modes such as keyboard, mouse, remote controler, touch tablet or voice-operated devices with user Machine interaction.
Embodiment one
Fig. 1 is the flow chart for the business end test method that the embodiment of the present invention one provides.Business end test method is answered For computer installation.The computer installation includes Mock platform.The computer installation can be Mock service device.
Business end of the present invention test method is interacted using Mock platform and business end, can be convenient user to industry Business end is tested.
As shown in Figure 1, business end test method includes:
Step 101, the service request at business end is received.
When needing to test business end, business end sends the service request to the Mock platform.
Service request comprising verification information can be sent to the Mock platform, the verification information by the business end For being verified to the business end.
The verification information may include account and password.The account can be user name, phone number, mailbox, use Family coding etc..The password can be character composition password (such as number, letter composition password), graphical passwords (such as The graphical passwords inputted by touch screen touch-control) etc..
The verification information can also include biological information (such as finger print information, iris information).The biology is special Reference breath is collected by physical characteristics collecting device.The physical characteristics collecting device can be face information acquisition dress It sets, one of voice acquisition device, fingerprint acquisition device, iris collection device or a variety of.The face information acquisition device, Voice acquisition device, fingerprint acquisition device, iris collection device are respectively used to the face information of acquisition user, voice messaging, refer to Line information, iris information.
The verification information can also be key.In the present embodiment, the Mock platform is generated for service request Key, and the key is sent to the business end, the business end is sent to the Mock platform comprising the key Service request.
The verification information can also include other information, such as organization number, user certificate etc..The organization number Indicate tissue/company belonging to user.The user certificate includes the information for showing user identity.
Step 102, the protocol type of the service request is determined.
In the present embodiment, the protocol type may include that (Hyper Text Transfer Protocol is super by HTTP Text transfer protocol), HTTPS (HyperText Transfer Protocol Secure, Hyper text transfer security protocol), TCP (Transmission Control Protocol, transmission control protocol), Dubbo, SOAP (Simple Object Access Protocol, Simple Object Access Protocol) etc..
The protocol type of the service request can be determined according to the message format of the service request.
Such as, it can be determined that whether the service request includes requesting method field, and judges that requesting method field is No is GET or POST, described if the service request includes requesting method field and requesting method field is GET or POST The corresponding protocol type of service request is HTTP.
For another example, it can be determined that the heading of the service request whether include 4 bytes serial number and 4 bytes confirmation Number, if the heading of the service request includes the confirmation number of the serial number and 4 bytes of 4 bytes, the service request is corresponding Protocol type be TCP.
For another example, it can be determined that the service request whether include SOAP envelope (<soap:Envelope>), SOAP (< Soap:Header>), soap message body (<soap:Body>) and request mark (HTTP request), if the service request Comprising SOAP envelope, SOAP, soap message body and request mark, then the corresponding protocol type of the service request is SOAP.
As an alternative embodiment, determining the service request pair according to the data format of the service request Before the communication protocol answered, the method also includes:
Whether the verification information verified in the service request is effective.
If the verification information is effective, the operation for determining the protocol type of the service request is executed.Otherwise, if it is described Verification information is invalid, then does not execute the operation for determining the protocol type of the service request.
Step 103, the service request is matched with the request rule that the Mock platform stores, obtain with it is described The matched request rule of service request.
It may determine that whether the default solicited message in the service request is included in the request of the Mock platform storage It, should if the default solicited message in the service request is included in the request rule of Mock platform storage in rule The request rule of Mock platform storage is and the matched request of the service request is regular.For example, pre- in the service request If solicited message is ID=2, if the request rule of Mock platform storage includes ID=2, Mock platform storage is asked It is regular with the matched request of the service request for seeking rule.
In the present embodiment, the request rule by the service request and Mock platform storage carries out matching packet It includes following one or more:
By user's body in the request rule of subscriber identity information and Mock platform storage in the service request Part information is matched;
By the number of request in the request rule of request data path and Mock platform storage in the service request It is matched according to path;
By the number of request in the request rule of request data time and Mock platform storage in the service request It is matched according to the time;
By the number of request in the request rule of request data classification and Mock platform storage in the service request It is matched according to classification;
By the request data mark in the service request and the number of request in the request rule of Mock platform storage It is matched according to mark.
The request rule of the service request and Mock platform storage can be carried out step by step according to preset order Match, gradually to reduce matching range.For example, first the subscriber identity information in the service request is stored with the Mock platform Request rule in subscriber identity information matched, it is regular to obtain a plurality of request matched with the service request;Again will Request data classification and a plurality of number of request with the matched request rule of the service request in the service request It is matched, is obtained final regular with the matched request of the service request according to classification.
Step 104, message data corresponding with the matched request rule of the service request is obtained from the Mock platform.
The request rule of every Mock platform storage can correspond to one or more message datas.Mock can be pre-defined The corresponding relationship of the request rule and message data of platform storage, obtains according to the corresponding relationship and matches with the service request The corresponding message data of request rule.
For example, with the service request it is matched request rule be by the service request subscriber identity information and institute It states what the subscriber identity information in the request rule of Mock platform storage was matched, then refers to from Mock platform acquisition Determine the message data of user.
For another example, with the service request it is matched request rule be by the service request request data path and institute It states what the request data path in the request rule of Mock platform storage was matched, then refers to from Mock platform acquisition Determine the message data in path.
For another example, with the service request it is matched request rule be by the service request request data classification and institute It states what the request data classification in the request rule of Mock platform storage was matched, then refers to from Mock platform acquisition Determine the message data of classification.
Step 105, the message data is converted to the response message of the protocol type.
For example, the message data of designated user is obtained in step 104 from the Mock platform, then by the report of the designated user Literary data are converted to the response message of the protocol type.
For another example, the message data for obtaining specified path in step 104 from the Mock platform, then by the report of the specified path Literary data are converted to the response message of the protocol type.
For another example, this, then is specified the report of classification by the message data for obtaining specified classification in step 104 from the Mock platform Literary data are converted to the response message of the protocol type.
The response message that the message data is converted to the protocol type includes:
Obtain the structure of the response message of the protocol type;
From data needed for the structure of response message for extracting the protocol type in the message data;
It will be described in structure construction of the data that extracted from the message data according to the response message of the protocol type The response message of protocol type.
If the protocol type is HTTP, the structure of the response message of http protocol type is obtained, from the message number Data needed for structure according to the middle response message for extracting http protocol type, the data extracted from the message data are pressed According to the response message of the structure construction http protocol type of the response message of http protocol type.The response report of http protocol type The structure of text includes head response and response text.The head response includes statusline and message header.The format of the statusline For HTTP-Version Status-Code Reason-Phrase CRLF.Wherein, HTTP-Version indicates http protocol Version;Status-Code indicates responsive state code;Reason-Phrase indicates the text description of state code.
If the protocol type is SOAP, the structure of the response message of soap protocol type is obtained, from the message number Data needed for structure according to the middle response message for extracting soap protocol type, the data extracted from the message data are pressed According to the response message of the structure construction soap protocol type of the response message of soap protocol type.The response report of soap protocol type Text structure include SOAP envelope (<soap:Envelope>), SOAP (<soap:Header>), soap message body (<soap: Body >) and response identification (HTTP response) response message.
The conversion of other protocol types is converted according to the corresponding response message format, and details are not described herein again.
Step 106, the response message is returned into the business end.
For example, the message data of the designated user to be converted to the response message of the protocol type in step 105, then will The message data of the designated user is converted to response message and returns to the business end.
For another example, the message data of the specified path is converted to the response message of the protocol type in step 105, then will The message data of the specified path is converted to response message and returns to the business end.
For another example, it specifies the message data of classification to be converted to the response message of the protocol type this in step 105, then will The message data of the specified classification is converted to response message and returns to the business end.
As an alternative embodiment, the method is also before the response message is returned to the business end Include:
Whether judge in the response message comprising multidate information;
If including multidate information in the response message, handled according to the multidate information.
The multidate information may include random function, date function, the function of time, wait function, dynamic requests parameter.
If in the response message including random function, random number is generated according to the random function, in the response The random number is added in message.Therefore, return to the business end is the response message for adding the random number.
If in the response message including date function, the day before yesterday (such as is worked as according to the date function date of formation Phase), the date is added in the response message.Therefore, return to the business end is the response report for adding the date Text.
If in the response message including the function of time, the time is generated (such as when current according to the function of time Between), the time is added in the response message.Therefore, return to the business end is the response report for adding the time Text.
If waiting preset time according to the waiting function comprising waiting function in the response message.Therefore, it is waiting The response message is returned after the preset time.
If in the response message include dynamic requests parameter, obtain the dynamic requests parameter parameter value (such as Obtained from service request), the parameter value is added in the response message.Therefore, return to the business end is addition The response message of the parameter value.For example, the response message includes dynamic requests parameter number (as used $ number table Show), number=5 is defined in service request, then adds parameter value 5 in response message and return to the business end.
The business end test method of embodiment one receives the service request at business end;Determine the protocol class of the service request Type;The service request is matched with the request rule that Mock platform stores, is obtained and the service request is matched asks Seek rule;Message data corresponding with the matched request rule of the service request is obtained from the Mock platform;By the report Literary data are converted to the response message of the protocol type;The response message is returned into the business end.Embodiment one can be with It supports the service request of various protocols type and makes a response, realize the test of multi-protocols business end.
As an alternative embodiment, the method also includes:
The request rule is set.
It may include increasing the request rule newly, deleting and ask described in the request rule or modification that the request rule, which is arranged, Seek rule.
It can be one enabling switch of each request rule setting, for enabling or deactivating request rule.When request is advised When enabling then switchs closing, request rule is deactivated, i.e., is not matched the request rule with the service request.When asking When the enabling switch of rule being asked to open, request rule is enabled, i.e., is matched the request rule with the service request.
In the present embodiment, the enabling switch can be closed periodically.Such as, it can be determined that enable the opening time of switch Whether preset time threshold (such as 30 minute) are reached, if the opening time for enabling switch reaches preset time threshold, Close the enabling switch.
As an alternative embodiment, the method also includes:
If the service request and the request rule match of Mock platform storage fail, according to the business end IP address obtains real interface address;
The message data is obtained from the real interface address.
That is, if the service request and the request rule match of Mock platform storage fail, from true Interface IP address obtains the message data, the message data is converted to described in returning after the response message of the protocol type Business end.
(such as IP address-is true for the IP address and the corresponding relationship of real interface address that each business end can be preset Real address data to), the corresponding real interface address of IP address that the business end is searched according to the corresponding relationship.
It should be noted that if request rule setting has enabling to switch, when enabling switch and closing, request rule is deactivated, then The service request and the request rule match fail.
As an alternative embodiment, the method also includes:
Judge whether the service request includes abnormality mark;
If the service request is identified comprising abnormality, preset abnormality return code is returned into the business End.
The abnormality mark and the abnormality code can be preset according to actual needs, for example, described different Normal status indicator is Error=1, and the abnormality code is set as 404 or 500.
Embodiment two
Fig. 2 is the structure chart of business end provided by Embodiment 2 of the present invention test device.Business end test device 20 Applied to computer installation.The computer installation includes Mock platform.The present apparatus is handed over using Mock platform and business end Mutually, can be convenient user business end is tested.Business end test device 20 can support various protocols type Service request and make a response, realize multi-protocols business end test.
As shown in Fig. 2, business end test device 20 may include receiving module 201, determining module 202, matching mould Block 203 obtains module 204, conversion module 205, return module 206.
Receiving module 201, for receiving the service request at business end.
When needing to test business end, business end sends the service request to the Mock platform.
Service request comprising verification information can be sent to the Mock platform, the verification information by the business end For being verified to the business end.
The verification information may include account and password.The account can be user name, phone number, mailbox, use Family coding etc..The password can be character composition password (such as number, letter composition password), graphical passwords (such as The graphical passwords inputted by touch screen touch-control) etc..
The verification information can also include biological information (such as finger print information, iris information).The biology is special Reference breath is collected by physical characteristics collecting device.The physical characteristics collecting device can be face information acquisition dress It sets, one of voice acquisition device, fingerprint acquisition device, iris collection device or a variety of.The face information acquisition device, Voice acquisition device, fingerprint acquisition device, iris collection device are respectively used to the face information of acquisition user, voice messaging, refer to Line information, iris information.
The verification information can also be key.In the present embodiment, the Mock platform is generated for service request Key, and the key is sent to the business end, the business end is sent to the Mock platform comprising the key Service request.
The verification information can also include other information, such as organization number, user certificate etc..The organization number Indicate tissue/company belonging to user.The user certificate includes the information for showing user identity.
Determining module 202, for determining the protocol type of the service request.
In the present embodiment, the protocol type may include that (Hyper Text Transfer Protocol is super by HTTP Text transfer protocol), HTTPS (HyperText Transfer Protocol Secure, Hyper text transfer security protocol), TCP (Transmission Control Protocol, transmission control protocol), Dubbo, SOAP (Simple Object Access Protocol, Simple Object Access Protocol) etc..
The protocol type of the service request can be determined according to the message format of the service request.
Such as, it can be determined that whether the service request includes requesting method field, and judges that requesting method field is No is GET or POST, described if the service request includes requesting method field and requesting method field is GET or POST The corresponding protocol type of service request is HTTP.
For another example, it can be determined that the heading of the service request whether include 4 bytes serial number and 4 bytes confirmation Number, if the heading of the service request includes the confirmation number of the serial number and 4 bytes of 4 bytes, the service request is corresponding Protocol type be TCP.
For another example, it can be determined that the service request whether include SOAP envelope (<soap:Envelope>), SOAP (< Soap:Header>), soap message body (<soap:Body>) and request mark (HTTP request), if the service request Comprising SOAP envelope, SOAP, soap message body and request mark, then the corresponding protocol type of the service request is SOAP.
As an alternative embodiment, determining the service request pair according to the data format of the service request Before the communication protocol answered, the method also includes:
Whether the verification information verified in the service request is effective.
If the verification information is effective, the operation for determining the protocol type of the service request is executed.Otherwise, if it is described Verification information is invalid, then does not execute the operation for determining the protocol type of the service request.
Matching module 203 is obtained for matching the service request with the request rule that the Mock platform stores To with the service request matched request rule.
It may determine that whether the default solicited message in the service request is included in the request of the Mock platform storage It, should if the default solicited message in the service request is included in the request rule of Mock platform storage in rule The request rule of Mock platform storage is and the matched request of the service request is regular.For example, pre- in the service request If solicited message is ID=2, if the request rule of Mock platform storage includes ID=2, Mock platform storage is asked It is regular with the matched request of the service request for seeking rule.
In the present embodiment, the request rule by the service request and Mock platform storage carries out matching packet It includes following one or more:
By user's body in the request rule of subscriber identity information and Mock platform storage in the service request Part information is matched;
By the number of request in the request rule of request data path and Mock platform storage in the service request It is matched according to path;
By the number of request in the request rule of request data time and Mock platform storage in the service request It is matched according to the time;
By the number of request in the request rule of request data classification and Mock platform storage in the service request It is matched according to classification;
By the request data mark in the service request and the number of request in the request rule of Mock platform storage It is matched according to mark.
The request rule of the service request and Mock platform storage can be carried out step by step according to preset order Match, gradually to reduce matching range.For example, first the subscriber identity information in the service request is stored with the Mock platform Request rule in subscriber identity information matched, it is regular to obtain a plurality of request matched with the service request;Again will Request data classification and a plurality of number of request with the matched request rule of the service request in the service request It is matched, is obtained final regular with the matched request of the service request according to classification.
Module 204 is obtained, it is corresponding with the matched request rule of the service request for being obtained from the Mock platform Message data.
The request rule of every Mock platform storage can correspond to one or more message datas.Mock can be pre-defined The corresponding relationship of the request rule and message data of platform storage, obtains according to the corresponding relationship and matches with the service request The corresponding message data of request rule.
For example, with the service request it is matched request rule be by the service request subscriber identity information and institute It states what the subscriber identity information in the request rule of Mock platform storage was matched, then refers to from Mock platform acquisition Determine the message data of user.
For another example, with the service request it is matched request rule be by the service request request data path and institute It states what the request data path in the request rule of Mock platform storage was matched, then refers to from Mock platform acquisition Determine the message data in path.
For another example, with the service request it is matched request rule be by the service request request data classification and institute It states what the request data classification in the request rule of Mock platform storage was matched, then refers to from Mock platform acquisition Determine the message data of classification.
Conversion module 205, for the message data to be converted to the response message of the protocol type.
For example, obtaining the message data for obtaining designated user in module 204 from the Mock platform, then conversion module 205 The message data of the designated user is converted to the response message of the protocol type.
For another example, the message data for obtaining specified path in module 204 from the Mock platform is obtained, then conversion module 205 The message data of the specified path is converted to the response message of the protocol type.
For another example, the message data for obtaining specified classification in module 204 from the Mock platform is obtained, then conversion module 205 The message data of classification is specified to be converted to the response message of the protocol type this.
The response message that the message data is converted to the protocol type includes: by conversion module 205
Obtain the structure of the response message of the protocol type;
From data needed for the structure of response message for extracting the protocol type in the message data;
It will be described in structure construction of the data that extracted from the message data according to the response message of the protocol type The response message of protocol type.
If the protocol type is HTTP, conversion module 205 obtains the structure of the response message of http protocol type, from Data needed for extracting the structure of the response message of http protocol type in the message data, will mention from the message data The data taken construct the response message of http protocol type according to the structure of the response message of http protocol type.Http protocol class The structure of the response message of type includes head response and response text.The head response includes statusline and message header.The shape The format of state row is HTTP-Version Status-Code Reason-Phrase CRLF.Wherein, HTTP-Version is indicated The version of http protocol;Status-Code indicates responsive state code;Reason-Phrase indicates that the text of state code is retouched It states.
If the protocol type is SOAP, conversion module 205 obtains the structure of the response message of soap protocol type, from Data needed for extracting the structure of the response message of soap protocol type in the message data, will mention from the message data The data taken construct the response message of soap protocol type according to the structure of the response message of soap protocol type.Soap protocol class The structure of the response message of type includes that SOAP envelope (<soap:Envelope>), SOAP (<soap:Header>), SOAP disappear Cease the response message of body (<soap:Body>) and response identification (HTTP response).
The conversion of other protocol types is converted according to the corresponding response message format, and details are not described herein again.
Return module 206, for the response message to be returned to the business end.
For example, the message data of the designated user is converted to the response message of the protocol type in conversion module 205, The message data of the designated user is then converted to response message and returns to the business end.
For another example, the message data of the specified path is converted to the response message of the protocol type in conversion module 205, The message data of the specified path is then converted to response message and returns to the business end.
For another example, the message data of classification is specified to be converted to the response message of the protocol type this in conversion module 205, It then specifies the message data of classification to be converted to response message this and returns to the business end.
In another embodiment, business end test device 20 can also include multidate information processing module, be used for Before the response message is returned to the business end, whether judge in the response message comprising multidate information;If the sound It answers in message comprising multidate information, is then handled according to the multidate information.
The multidate information may include random function, date function, the function of time, wait function, dynamic requests parameter.
If in the response message including random function, random number is generated according to the random function, in the response The random number is added in message.Therefore, the response message for adding the random number is returned to the business by return module 206 End.
If in the response message including date function, the day before yesterday (such as is worked as according to the date function date of formation Phase), the date is added in the response message.Therefore, return module 206 returns to the response message for adding the date The business end.
If in the response message including the function of time, the time is generated (such as when current according to the function of time Between), the time is added in the response message.Therefore, return module 206 returns to the response message for adding the time The business end.
If waiting preset time according to the waiting function comprising waiting function in the response message.Therefore, it returns The response message is returned to the business end after waiting the preset time by module 206.
If in the response message include dynamic requests parameter, obtain the dynamic requests parameter parameter value (such as Obtained from service request), the parameter value is added in the response message.Therefore, return module 206 will add the ginseng The response message of numerical value returns to the business end.For example, the response message includes that dynamic requests parameter number (such as uses $ Number is indicated), number=5 is defined in service request, then adds parameter value 5 in response message and return to the business End.
The business end test device 20 of embodiment two receives the service request at business end;Determine the agreement of the service request Type;The service request is matched with the request rule that the Mock platform stores, is obtained and the service request The request rule matched;Message data corresponding with the matched request rule of the service request is obtained from the Mock platform;It will The message data is converted to the response message of the protocol type;The response message is returned into the business end.Embodiment Two can support the service request of various protocols type and make a response, and realize the test of multi-protocols business end.
In another embodiment, business end test device 20 can also include: setup module, for described ask to be arranged Seek rule.
It may include increasing the request rule newly, deleting and ask described in the request rule or modification that the request rule, which is arranged, Seek rule.
It can be one enabling switch of each request rule setting, for enabling or deactivating request rule.When request is advised When enabling then switchs closing, request rule is deactivated, i.e., is not matched the request rule with the service request.When asking When the enabling switch of rule being asked to open, request rule is enabled, i.e., is matched the request rule with the service request.
In the present embodiment, the enabling switch can be closed periodically.Such as, it can be determined that enable the opening time of switch Whether preset time threshold (such as 30 minute) are reached, if the opening time for enabling switch reaches preset time threshold, Close the enabling switch.
In another embodiment, the business end test 20 can also include: that true address obtains module, if for described Service request and the request rule match of Mock platform storage fail, then are obtained according to the IP address at the business end true Interface IP address;The message data is obtained from the real interface address.
That is, if the service request and the request rule match of Mock platform storage fail, from true Interface IP address obtains the message data, the message data is converted to described in returning after the response message of the protocol type Business end.
(such as IP address-is true for the IP address and the corresponding relationship of real interface address that each business end can be preset Real address data to), the corresponding real interface address of IP address that the business end is searched according to the corresponding relationship.
It should be noted that if request rule setting has enabling to switch, when enabling switch and closing, request rule is deactivated, then The service request and the request rule match fail.
In another embodiment, business end test device 20 can also include: abnormal return module, for judging State whether service request includes abnormality mark;If the service request is identified comprising abnormality, by preset exception State return code returns to the business end.
The abnormality mark and the abnormality code can be preset according to actual needs, for example, described different Normal status indicator is Error=1, and the abnormality code is set as 404 or 500.
Embodiment three
The present embodiment provides a kind of computer storage medium, it is stored with computer program in the computer storage medium, it should The step in above-mentioned business end test method embodiment, such as step shown in FIG. 1 are realized when computer program is executed by processor Rapid 101-106:
Step 101, the service request at business end is received;
Step 102, the protocol type of the service request is determined;
Step 103, the service request is matched with the request rule that Mock platform stores, is obtained and the business Request matched request rule;
Step 104, message data corresponding with the matched request rule of the service request is obtained from the Mock platform;
Step 105, the message data is converted to the response message of the protocol type;
Step 106, the response message is returned into the business end.
Alternatively, the function of each module in above-mentioned apparatus embodiment is realized when the computer program is executed by processor, such as Module 201-206 in Fig. 2:
Receiving module 201, for receiving the service request at business end;
Determining module 202, for determining the protocol type of the service request;
Matching module 203, for the service request to be matched with the request rule that Mock platform stores, obtain with The matched request rule of service request;
Module 204 is obtained, it is corresponding with the matched request rule of the service request for being obtained from the Mock platform Message data;
Conversion module 205, for the message data to be converted to the response message of the protocol type;
Return module 206, for the response message to be returned to the business end.
Example IV
Fig. 3 is the schematic diagram for the computer installation that the embodiment of the present invention four provides.The computer installation 30 includes storage Device 301, processor 302 and it is stored in the computer program that can be run in the memory 301 and on the processor 302 303, such as Mock platform.The processor 302 realizes that above-mentioned business end test method is real when executing the computer program 303 Apply the step in example, such as step 101-106 shown in FIG. 1:
Step 101, the service request at business end is received;
Step 102, the protocol type of the service request is determined;
Step 103, the service request is matched with the request rule that Mock platform stores, is obtained and the business Request matched request rule;
Step 104, message data corresponding with the matched request rule of the service request is obtained from the Mock platform;
Step 105, the message data is converted to the response message of the protocol type;
Step 106, the response message is returned into the business end.
Alternatively, the function of each module in above-mentioned apparatus embodiment is realized when the computer program is executed by processor, such as Module 201-206 in Fig. 2:
Receiving module 201, for receiving the service request at business end;
Determining module 202, for determining the protocol type of the service request;
Matching module 203, for the service request to be matched with the request rule that Mock platform stores, obtain with The matched request rule of service request;
Module 204 is obtained, it is corresponding with the matched request rule of the service request for being obtained from the Mock platform Message data;
Conversion module 205, for the message data to be converted to the response message of the protocol type;
Return module 206, for the response message to be returned to the business end.
Illustratively, the computer program 303 can be divided into one or more modules, one or more of Module is stored in the memory 301, and is executed by the processor 302, to complete this method.It is one or more of Module can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer Implementation procedure of the program 303 in the computer installation 30.For example, the computer program 303 can be divided into Fig. 2 Receiving module 201, determining module 202, matching module 203, obtain module 204, conversion module 205, return module 206, respectively Module concrete function is referring to embodiment two.
The computer installation 30 can be the calculating such as desktop PC, notebook, palm PC and cloud server Equipment.It will be understood by those skilled in the art that the schematic diagram 3 is only the example of computer installation 30, do not constitute to meter The restriction of calculation machine device 30 may include perhaps combining certain components or different portions than illustrating more or fewer components Part, such as the computer installation 30 can also include input-output equipment, network access equipment, bus etc..
Alleged processor 302 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 302 is also possible to any conventional processing Device etc., the processor 302 are the control centres of the computer installation 30, are entirely calculated using various interfaces and connection The various pieces of machine device 30.
The memory 301 can be used for storing the computer program 303, and the processor 302 is by operation or executes The computer program or module being stored in the memory 301, and the data being stored in memory 301 are called, it realizes The various functions of the computer installation 30.The memory 301 can mainly include storing program area and storage data area, In, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image Playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio number according to computer installation 30 According to, phone directory etc.) etc..In addition, memory 301 may include high-speed random access memory, it can also include non-volatile deposit Reservoir, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other Volatile solid-state part.
If the integrated module of the computer installation 30 is realized in the form of software function module and as independent production Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention realizes All or part of the process in above-described embodiment method can also instruct relevant hardware to complete by computer program, The computer program can be stored in a computer storage medium, which, can be real when being executed by processor The step of existing above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, the computer journey Sequence code can be source code form, object identification code form, executable file or certain intermediate forms etc..It is described computer-readable Medium may include: any entity or device, recording medium, USB flash disk, mobile hard that can carry the computer program code Disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter Number and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in a processing module It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
The above-mentioned integrated module realized in the form of software function module, can store and computer-readable deposit at one In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any attached associated diagram label in claim should not be considered as right involved in limitation to want It asks.Furthermore, it is to be understood that one word of " comprising " is not excluded for other modules or step, odd number is not excluded for plural number.It is stated in system claims Multiple modules or device can also be implemented through software or hardware by a module or device.The first, the second equal words It is used to indicate names, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of business end test method, which is characterized in that the described method includes:
The service request at reception business end;
Determine the protocol type of the service request;
The service request is matched with the request rule that Mock platform stores, is obtained and the service request is matched asks Seek rule;
Message data corresponding with the matched request rule of the service request is obtained from the Mock platform;
The message data is converted to the response message of the protocol type;
The response message is returned into the business end.
2. the method as described in claim 1, which is characterized in that the protocol type of the determination service request includes:
The protocol type of the service request is determined according to the message format of the service request.
3. the method as described in claim 1, which is characterized in that described by the service request and Mock platform storage It includes following one or more that request rule, which carries out matching:
User identity in the request rule of subscriber identity information and Mock platform storage in the service request is believed Breath is matched;
By the request data road in the request rule of request data path and Mock platform storage in the service request Diameter is matched;
When the request data requested in rule that the request data time in the service request is stored with the Mock platform Between matched;
By the request data class in the request rule of request data classification and Mock platform storage in the service request It is not matched;
By the request data mark in the service request and the request data mark in the request rule of Mock platform storage Knowledge is matched.
4. the method as described in claim 1, which is characterized in that described that the message data is converted to the protocol type Response message includes:
Obtain the structure of the response message of the protocol type;
From data needed for the structure of response message for extracting the protocol type in the message data;
The data extracted from the message data are constructed into the agreement according to the structure of the response message of the protocol type The response message of type.
5. such as method of any of claims 1-4, which is characterized in that it is described will be described in the response message returns Before business end, the method also includes:
Whether judge in the response message comprising random function, date function, the function of time, waiting function or dynamic requests Parameter;
If in the response message including random function, random number is generated according to the random function, in the response message The middle addition random number;
If including date function in the response message, according to the date function date of formation, in the response message Add the date;
If in the response message including the function of time, the time is generated according to the function of time, in the response message Add the time;
If waiting preset time according to the waiting function comprising waiting function in the response message;
If including dynamic requests parameter in the response message, the parameter value of the dynamic requests parameter is obtained, in the sound It answers and adds the parameter value in message.
6. such as method of any of claims 1-4, which is characterized in that the method also includes:
If the service request and the request rule match of Mock platform storage fail, according to the IP at the business end Location obtains real interface address;
Message data is obtained from the real interface address.
7. such as method of any of claims 1-4, which is characterized in that the method also includes:
Judge whether the service request includes abnormality mark;
If the service request is identified comprising abnormality, preset abnormality return code is returned into the business end.
8. a kind of business end test device, which is characterized in that described device includes:
Receiving module, for receiving the service request at business end;
Determining module, for determining the protocol type of the service request;
Matching module obtains and the industry for matching the service request with the request rule that Mock platform stores Matched request rule is requested in business;
Module is obtained, for obtaining message number corresponding with the matched request rule of the service request from the Mock platform According to;
Conversion module, for the message data to be converted to the response message of the protocol type;
Return module, for the response message to be returned to the business end.
9. a kind of computer installation, it is characterised in that: the computer installation includes processor, and the processor is deposited for executing The computer program stored in reservoir is to realize the business end test method as described in any one of claim 1-7.
10. a kind of computer storage medium, computer program is stored in the computer storage medium, it is characterised in that: institute It states and realizes the business end test method as described in any one of claim 1-7 when computer program is executed by processor.
CN201910438478.5A 2019-05-24 2019-05-24 Business end test method, device, computer installation and computer storage medium Pending CN110309058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910438478.5A CN110309058A (en) 2019-05-24 2019-05-24 Business end test method, device, computer installation and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910438478.5A CN110309058A (en) 2019-05-24 2019-05-24 Business end test method, device, computer installation and computer storage medium

Publications (1)

Publication Number Publication Date
CN110309058A true CN110309058A (en) 2019-10-08

Family

ID=68075325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910438478.5A Pending CN110309058A (en) 2019-05-24 2019-05-24 Business end test method, device, computer installation and computer storage medium

Country Status (1)

Country Link
CN (1) CN110309058A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765024A (en) * 2019-10-29 2020-02-07 百度在线网络技术(北京)有限公司 Simulation test method, simulation test device, electronic equipment and computer-readable storage medium
CN110851364A (en) * 2019-11-12 2020-02-28 深圳市前海随手数据服务有限公司 Software testing method, system and related equipment
CN111124908A (en) * 2019-12-19 2020-05-08 广州品唯软件有限公司 Interface testing method and device and computer readable storage medium
CN111143224A (en) * 2019-12-30 2020-05-12 广州酷狗计算机科技有限公司 Pile service implementation method, device, equipment and computer storage medium
CN111478941A (en) * 2020-03-05 2020-07-31 平安银行股份有限公司 Mock automatic operation method and device, computer equipment and storage medium
CN111695328A (en) * 2020-06-16 2020-09-22 深圳前海微众银行股份有限公司 Method, device, equipment and storage medium for generating simulation test message
CN111782535A (en) * 2020-06-30 2020-10-16 京东数字科技控股股份有限公司 Test method and device
CN112100079A (en) * 2020-11-02 2020-12-18 北京淇瑀信息科技有限公司 Test method and system based on simulation data calling and electronic equipment
CN112311808A (en) * 2020-11-11 2021-02-02 上海电器科学研究所(集团)有限公司 Method for automatically mapping Modbus protocol data to OPCUA address space
CN112328470A (en) * 2020-10-22 2021-02-05 中国建设银行股份有限公司 Automatic operation and maintenance testing method, device, equipment and storage medium
CN113791971A (en) * 2021-08-13 2021-12-14 唯品会(广州)软件有限公司 Mock testing method, Mock testing device, Mock testing equipment and computer readable medium
CN115103039A (en) * 2022-06-25 2022-09-23 平安银行股份有限公司 Message data processing method and device, intelligent equipment and storage medium
CN115801652A (en) * 2022-11-21 2023-03-14 中国民航信息网络股份有限公司 Aviation system test method, system and related device
CN115103039B (en) * 2022-06-25 2024-06-07 平安银行股份有限公司 Message data processing method and device, intelligent equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302721A (en) * 2015-10-29 2016-02-03 普元信息技术股份有限公司 System and method for realizing integration testing of centralized analog server in cloud computing platform
CN108427631A (en) * 2017-02-14 2018-08-21 北京京东尚科信息技术有限公司 A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing
CN108897691A (en) * 2018-06-29 2018-11-27 百度在线网络技术(北京)有限公司 Data processing method, device, server and medium based on interface analog service
CN109510737A (en) * 2018-12-14 2019-03-22 深圳壹账通智能科技有限公司 Protocol interface test method, device, computer equipment and storage medium
CN109558320A (en) * 2018-11-28 2019-04-02 深圳前海微众银行股份有限公司 System detection method, device, system, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302721A (en) * 2015-10-29 2016-02-03 普元信息技术股份有限公司 System and method for realizing integration testing of centralized analog server in cloud computing platform
CN108427631A (en) * 2017-02-14 2018-08-21 北京京东尚科信息技术有限公司 A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing
CN108897691A (en) * 2018-06-29 2018-11-27 百度在线网络技术(北京)有限公司 Data processing method, device, server and medium based on interface analog service
CN109558320A (en) * 2018-11-28 2019-04-02 深圳前海微众银行股份有限公司 System detection method, device, system, equipment and computer readable storage medium
CN109510737A (en) * 2018-12-14 2019-03-22 深圳壹账通智能科技有限公司 Protocol interface test method, device, computer equipment and storage medium

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765024A (en) * 2019-10-29 2020-02-07 百度在线网络技术(北京)有限公司 Simulation test method, simulation test device, electronic equipment and computer-readable storage medium
CN110765024B (en) * 2019-10-29 2023-08-29 百度在线网络技术(北京)有限公司 Simulation test method, simulation test device, electronic equipment and computer readable storage medium
CN110851364A (en) * 2019-11-12 2020-02-28 深圳市前海随手数据服务有限公司 Software testing method, system and related equipment
CN111124908A (en) * 2019-12-19 2020-05-08 广州品唯软件有限公司 Interface testing method and device and computer readable storage medium
CN111143224A (en) * 2019-12-30 2020-05-12 广州酷狗计算机科技有限公司 Pile service implementation method, device, equipment and computer storage medium
CN111478941B (en) * 2020-03-05 2023-08-22 平安银行股份有限公司 Mock automatic operation method and device, computer equipment and storage medium
CN111478941A (en) * 2020-03-05 2020-07-31 平安银行股份有限公司 Mock automatic operation method and device, computer equipment and storage medium
CN111695328A (en) * 2020-06-16 2020-09-22 深圳前海微众银行股份有限公司 Method, device, equipment and storage medium for generating simulation test message
CN111695328B (en) * 2020-06-16 2023-01-24 深圳前海微众银行股份有限公司 Method, device, equipment and storage medium for generating simulation test message
CN111782535A (en) * 2020-06-30 2020-10-16 京东数字科技控股股份有限公司 Test method and device
CN111782535B (en) * 2020-06-30 2024-05-17 京东科技控股股份有限公司 Test method and device
CN112328470A (en) * 2020-10-22 2021-02-05 中国建设银行股份有限公司 Automatic operation and maintenance testing method, device, equipment and storage medium
CN112100079A (en) * 2020-11-02 2020-12-18 北京淇瑀信息科技有限公司 Test method and system based on simulation data calling and electronic equipment
CN112311808A (en) * 2020-11-11 2021-02-02 上海电器科学研究所(集团)有限公司 Method for automatically mapping Modbus protocol data to OPCUA address space
CN112311808B (en) * 2020-11-11 2023-03-21 上海电器科学研究所(集团)有限公司 Method for automatically mapping Modbus protocol data to OPCUA address space
CN113791971A (en) * 2021-08-13 2021-12-14 唯品会(广州)软件有限公司 Mock testing method, Mock testing device, Mock testing equipment and computer readable medium
CN115103039A (en) * 2022-06-25 2022-09-23 平安银行股份有限公司 Message data processing method and device, intelligent equipment and storage medium
CN115103039B (en) * 2022-06-25 2024-06-07 平安银行股份有限公司 Message data processing method and device, intelligent equipment and storage medium
CN115801652A (en) * 2022-11-21 2023-03-14 中国民航信息网络股份有限公司 Aviation system test method, system and related device
CN115801652B (en) * 2022-11-21 2024-05-03 中国民航信息网络股份有限公司 Aviation system testing method, system and related device

Similar Documents

Publication Publication Date Title
CN110309058A (en) Business end test method, device, computer installation and computer storage medium
CN108280365B (en) Data access authority management method, device, terminal device and storage medium
CN108241799B (en) Cross-system access method, system, device and computer readable storage medium
CN109684047A (en) Event-handling method, device, equipment and computer storage medium
CN109062780A (en) The development approach and terminal device of automatic test cases
CN108959633A (en) It is a kind of that the method and apparatus of customer service are provided
CN113268336B (en) Service acquisition method, device, equipment and readable medium
CN106920204A (en) The dissemination method and system of interface service
CN111142746B (en) System quota calculation method and device
CN108255707A (en) Development roles creation method, device, equipment and the storage medium of test case
CN114925072B (en) Data management method, device, system, equipment and medium
CN108920543A (en) The method and device of inquiry and interaction, computer installation, storage medium
CN110321283A (en) Interface testing case generation method, device, computer installation and storage medium
CN108520471A (en) It is overlapped community discovery method, device, equipment and storage medium
CN109960719A (en) A kind of document handling method and relevant apparatus
CN110109955A (en) Data call amount statistical method, system, computer installation and readable storage medium storing program for executing
CN109547322A (en) System prompt control method, device, computer and computer readable storage medium
CN109542757A (en) Interface testing environment determines method, apparatus, electronic equipment and storage medium
CN107273250A (en) The method of testing and device of electronic declaration form automatic cover system
CN114219596A (en) Data processing method based on decision tree model and related equipment
CN110428122A (en) Data processing method, device, electronic equipment and storage medium
CN109634986A (en) System monitoring method, device, computer and computer readable storage medium
CN109857634A (en) Interface testing parameter verification method, apparatus, electronic equipment and storage medium
JP2021513127A (en) Computer programs and systems for providing conversation flow information
CN110308926A (en) Software information methods of exhibiting, device, computer installation and computer storage medium

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