CN107220169B - Method and equipment for simulating server to return customized data - Google Patents

Method and equipment for simulating server to return customized data Download PDF

Info

Publication number
CN107220169B
CN107220169B CN201610160549.6A CN201610160549A CN107220169B CN 107220169 B CN107220169 B CN 107220169B CN 201610160549 A CN201610160549 A CN 201610160549A CN 107220169 B CN107220169 B CN 107220169B
Authority
CN
China
Prior art keywords
service
virtual object
node
interceptor
object test
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.)
Active
Application number
CN201610160549.6A
Other languages
Chinese (zh)
Other versions
CN107220169A (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201610160549.6A priority Critical patent/CN107220169B/en
Publication of CN107220169A publication Critical patent/CN107220169A/en
Application granted granted Critical
Publication of CN107220169B publication Critical patent/CN107220169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The method comprises the steps that a corresponding method interceptor is configured through an application implementation method based on first node service equipment, and virtual object test conditions and expected return values corresponding to the virtual object test conditions are preset in the method interceptor; when a first service request is received, the method interceptor is used for obtaining the first service request, analyzing the first service request to obtain service designated parameter information and judging whether the service designated parameter information meets the virtual object test condition, if so, the corresponding expected return value is fed back, and if not, the method interceptor is quitted, so that a server can be quickly and effectively simulated to return the corresponding expected return value when service calling is carried out, resources are effectively saved, and the use flexibility of the simulated object test in the service calling process is improved.

Description

Method and equipment for simulating server to return customized data
Technical Field
The application relates to the field of computers, in particular to a technology for simulating a server to return customized data.
Background
With the development of services, the functions of application systems are more and more, so that the application systems are continuously enlarged. In the prior art, an application is generally split into a plurality of applications, each application has an independent service device deployment to cooperatively complete a series of services, which is also a course of distributed architecture evolution. Each application needs to pay attention only to the internal logic of the service device (for example, some interface logic is implemented at the code level) issued by the application, and the service devices of other applications depended on as the client devices can normally process different data when returning. Generally, in the test process of the multi-application deployment system, a system which depends on a certain node application needs to be simulated.
In the prior art, a first analog object test method (mock method) directly writes a mock object test application (mock application) to be independently deployed on a service device, and then a call address of the mock application is directly configured to an address of the independently deployed mock object test (mock) service device. If general client equipment calls service equipment, the address of the service equipment corresponding to each client equipment is unique, and general tests can only point to one address of the service equipment, so that the mock service equipment is not called when the services are called, real service equipment is not called, so that when different testers test the application of the same client equipment and call the application of the service equipment, the same set of test environment is adopted, namely the same set of test environment can only be accessed uniformly, the requirements of different testers for calling and verifying different return values of the application of the same client equipment corresponding to the service equipment in different service scenes cannot be met, the expected return values cannot be customized conveniently, and independent server deployment for separately developing the mock application is high in development cost and high in resource consumption.
In the second simulation object test method (mock method) in the prior art, a simulation object test server (mock server) is added in a client device program, and a server is constructed in a code program to return data, so that a service request is not sent to a service device at all. Because a plurality of client devices are corresponding to the service device, for example, one application is used as one service issued by the service device, and thus, there may be many applications used for the service, all of which are used as client devices, and thus, the corresponding client devices may be many and unpredictable, if a simulation object test server (mock server) is continuously added to the client device, a simulation object test server (mock server) is continuously developed, which results in high development cost and large resource consumption; and because the simulated return data are all in the code program of the client equipment in a mode of adding the mock server by the client equipment, the return value cannot be customized quickly and conveniently, and the use is not flexible enough.
Therefore, in the prior art, a simulation object test method (mock method) is adopted to simulate a server to return data, so that a return value cannot be customized quickly and conveniently, and the problems of insufficient flexibility in use and high resource consumption are caused.
Disclosure of Invention
The application aims to provide a method and equipment for simulating a server to return customized data, so as to solve the problems that in the prior art, a simulation object test method (mock method) is adopted to simulate the server to return data, so that a return value cannot be customized quickly and conveniently, the use is not flexible enough, and the resource consumption is large.
According to one aspect of the application, a method for simulating a server to return customized data at a first node service equipment side is provided, and the method comprises the following steps:
configuring a corresponding method interceptor based on an application implementation method of first node service equipment, and presetting a virtual object test condition and an expected return value corresponding to the virtual object test condition in the method interceptor;
when a first service request is received, the method interceptor is used for obtaining the first service request, analyzing the first service request to obtain service designated parameter information and judging whether the service designated parameter information meets the virtual object test condition, if so, the corresponding expected return value is fed back, and if not, the method interceptor is quitted.
Further, the method for the simulation server to return the customized data at the first node service equipment further includes:
and after exiting the method interceptor, executing an application implementation method of the first node service equipment based on the first service request.
According to another aspect of the present application, there is also provided a first node service device for a simulation server to return customized data, including:
the system comprises a presetting device, a first node service device and a second node service device, wherein the presetting device is used for configuring corresponding method interceptors based on an application implementation method of the first node service device, and presetting virtual object test conditions and expected return values corresponding to the virtual object test conditions in the method interceptors;
and the intercepting device is used for acquiring the first service request by using the method interceptor when the first service request is received, analyzing the first service request to acquire service designated parameter information, judging whether the service designated parameter information meets the virtual object test condition or not, feeding back the corresponding expected return value if the service designated parameter information meets the virtual object test condition, and exiting the method interceptor if the service designated parameter information does not meet the virtual object test condition.
Further, the first node service apparatus further includes: and the execution device is used for executing the application implementation method of the first node service equipment based on the first service request and feeding back a corresponding execution result after the method interceptor exits.
Compared with the prior art, according to the method and the device for simulating the server to return the customized data at the first node service device side, the corresponding method interceptor is configured through the application implementation method based on the first node service device, the virtual object test condition and the expected return value corresponding to the virtual object test condition are preset in the method interceptor, so that the virtual object test condition is thresholded on each first service node device in advance before the virtual object test is needed and the expected return value corresponding to the virtual object test condition is met, and the server can be quickly and effectively simulated to return the corresponding expected return value when the service is called; further, when a first service request is received, the method interceptor is used for obtaining the first service request, analyzing the first service request to obtain service designated parameter information, and judging whether the service designated parameter information meets the virtual object test condition, if so, the corresponding expected return value is fed back, and if not, the method interceptor is quitted, thereby effectively saving resources and improving the use flexibility of the simulation object test in the service calling process.
Further, according to the method and the device for the simulation server to return the customized data, after the method interceptor exits, the application implementation method of the first node service device is executed based on the first service request and the corresponding execution result is fed back, so that the use flexibility of the simulation object test in the service calling process is effectively improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a block diagram of a first node service device simulating a server returning customized data according to an aspect of the subject application.
FIG. 2 illustrates a service call orchestration diagram between a first node service device and a client device and a second node service device simulating a server returning customized data according to an aspect of the subject application;
FIG. 3 illustrates a flow diagram of a method for simulating server return of customized data at a first node server side, according to an aspect of the subject application;
fig. 4 is a schematic flow chart illustrating an overall method for simulating a server returning customized data at a first node service device side according to a preferred embodiment of another aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
FIG. 1 illustrates a block diagram of a first node service device simulating a server returning customized data according to an aspect of the subject application. The first node service equipment comprises a presetting device 11 and an intercepting device 12.
The preset device 11 configures a corresponding method interceptor based on an application implementation method of the first node service equipment, and presets a virtual object test condition and an expected return value corresponding to the virtual object test condition in the method interceptor; when receiving the first service request, the obtaining device 12 obtains the first service request by using the method interceptor, analyzes the first service request to obtain service-specific parameter information, and determines whether the service-specific parameter information satisfies the virtual object test condition, if so, feeds back the corresponding expected return value, and if not, exits the method interceptor.
Here, the first node service device includes, but is not limited to, a service device or a device formed by integrating the service device and a network device through a network. The service device includes, but is not limited to, any mobile electronic product, such as a smart phone, a PDA, etc., capable of human-computer interaction with a user through a touch panel, and the mobile electronic product may employ any operating system, such as an android operating system, an iOS operating system, etc. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to preset or stored instructions, and the hardware includes but is not limited to a microprocessor, an Application Specific Integrated Circuit (ASIC), a programmable gate array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the first node service device may also be a script program running on a device formed by integrating the service device, or the service device and the network device, or the touch terminal, or the network device and the touch terminal through a network. Of course, those skilled in the art should understand that the first node service device is only an example, and other existing or future first node service devices may be applicable to the present application, and are included in the scope of the present application and are incorporated herein by reference.
The above devices are operated continuously, and herein, those skilled in the art should understand that "continuously" means that the above devices are operated in real time or according to the set or real-time adjusted operating mode requirement.
It should be noted that the first node service device includes one or more first node service devices, and each of the first node service devices is deployed on each node in the distributed application deployment environment, and then the first node service device includes a script or an application program that runs on a device formed by integrating the first node service device with other node service devices or client devices through a network. Preferably, the application program in the first node service device has an independent database and an independent server deployment, and the application programs respectively corresponding to the plurality of first node service devices in the distributed application deployment environment form an original complete application program, that is, the original complete application program is split into the plurality of application programs through application and is respectively deployed in the first node service devices, so that the requirements of different testers on verification tests of different service scenarios of the same complete application program can be met. Furthermore, one skilled in the art should understand that: any node service device of the distributed application deployment environment can be simultaneously a first service node device and a second service node device called by other service node devices.
In the embodiment of the present application, the presetting device 11 in the first node service equipment configures a corresponding method interceptor based on an application implementation method of the first node service equipment, and presets a virtual object test condition and an expected return value corresponding to the virtual object test condition in the method interceptor, so that when service is invoked, a server can be quickly and effectively simulated to return the corresponding expected return value; when receiving a first service request, the intercepting apparatus 12 obtains the first service request by using the method interceptor, analyzes the first service request to obtain service-specific parameter information, and determines whether the service-specific parameter information satisfies the virtual object test condition, if so, feeds back the corresponding expected return value, and if not, exits the method interceptor, thereby effectively saving resources and improving the flexibility of the simulation object test in the service calling process.
Further, the presetting device 11 is used for: based on the execution logic of the application implementation method of the first node service equipment and a virtual object test target, a virtual object test condition and an expected return value corresponding to the virtual object test condition are preset in the method interceptor.
It should be noted that, the application implementation method of the first node service device may include, but is not limited to, a technical framework including an application program, an implementation technical manner of the application program, or a source program of the application program. In the embodiment of the present application, the preset apparatus 11 configures, based on a difference in technical frameworks of the application programs of the first node service device, a corresponding method interceptor to write a corresponding interception logic program and deploy the interception logic program on the first node service device. For example, under an open source framework (spring framework), a Method Interceptor (Method Interceptor) is configured; under a Model View Controller (MVC) based framework (struts2 framework), configuring a Method Filter Interceptor (Method Filter Interreceptor); and configuring a blank Interceptor (Empty Interceptor) under an object relationship mapping framework (Hibernate framework) of the open source code. In a preferred embodiment of the present application, a corresponding Method Interceptor (Method Interceptor) is preferably configured under the open source framework (spring framework). Of course, those skilled in the art should understand that the above-mentioned configuration of the corresponding Method Interceptor (Method Interceptor) under the open source framework (spring framework) is only a preferred embodiment of the present application, and other existing or future technology frameworks capable of configuring the corresponding Method Interceptor based on the application program of the first node service device, as applicable to the present application, should be included in the scope of the present application, and are hereby incorporated by reference.
In the embodiment of the present application, the execution logic of the application implementation method of the first node service device may include, but is not limited to, a part of or all of actual test result information obtained based on the virtual object test target in the process of actually testing the application implementation method. For example, in the execution logic (test of payment return condition of bank payment service) process of the application implementation method of the first node service device, the test is performed based on the virtual object test target (the last 3 bits of the input card number), wherein in the test process, conditions such as payment success or payment failure may occur, the actual test result information is preset according to the last 3 bits of the input bank card number, if the last 3 bits of the input card number are 123, the payment success is returned, and if the last 3 bits of the input card number are 456, the payment failure is returned. Presetting a virtual object test condition (mock condition) in the Method Interceptor (Method Interceptor) as { { 3 bits after the input card number are 123 }; { 3 bits after the input card number are 456} }, if the mock condition is satisfied, and 3 bits after the input card number are 123}, the corresponding expected return value is { payment success } or if the mock condition is satisfied, and 3 bits after the input card number is 456}, the corresponding expected return value is { payment failure }, so that when service calling is performed in the virtual object test process, the server can be quickly and effectively simulated to return the corresponding expected return value.
Further, the presetting device 11 includes: a configuration unit 111 (not shown) for configuring a plurality of the method interceptors at the first node service apparatus based on different virtual object tests; a determining unit 112 (not shown) configured to determine a sequence of the plurality of method interceptors acquiring the first service request.
In an embodiment of the present application, the configuration unit 111 (not shown) configures a plurality of the method interceptors at the first node service device based on different virtual object tests. For example, in the process of the identification card information collection application, corresponding tests can be performed in different virtual object tests (service scenarios) through the identification card information, wherein the virtual object tests can include but are not limited to checking the gender of the owner through the identification card number and checking the province of the owner through the identification card number. When a service scene that the gender of the user is checked through the identity card number exists, if the last but one digit of the identity card number is an odd number, the user is a male, and if the last but one digit of the identity card number is an even number, the user is a female; when the business scene of the province where the householder is located is checked through the identity card number, if the first two digits of the identity card number are 11, the householder is a person in Beijing City, if the first two digits of the identity card number are 31, the householder is a person in Shanghai city, and if the first two digits of the identity card number are 44, the householder is a person in Guangdong province. Based on the virtual object tests of the two situations, configuring two corresponding method interceptors in the first node service equipment, wherein a virtual object test condition (mock condition) preset in the method interceptor 1 is { { the last digit of the identity card number is an odd number }; { the second last digit of the identity card number is an even number } }, if the mock condition is met, the corresponding expected return value is { the householder is male } when the second last digit of the identity card number is an odd number, and if the mock condition is met, the corresponding expected return value is { the householder is female }; the method comprises the following steps that a preset virtual object test condition (mock condition) in the interceptor 2 is { { two first digits of an identity card number are 11 }; { the first two digits of the ID number are 31 }; { 44} for the first two digits of the identity card number, if the mock condition is satisfied, the expected return value corresponding to the first two digits of the identity card number being 11} is { the householder is a Beijing city person }, if the mock condition is satisfied, the expected return value corresponding to the first two digits of the identity card number being 31} is { the householder is a Shanghai city person }, and if the mock condition is satisfied, the expected return value corresponding to the first two digits of the identity card number being 44} is { the householder is a Guangdong province person }.
In the determining unit 112 (not shown), there may be one or more first service requests, and according to the time sequence of the first service requests acquired by the plurality of method interceptors, the method interceptors are determined to determine that the corresponding virtual object test conditions are determined based on the first service requests, so that expected return values in different virtual object test processes can be effectively and quickly returned.
Further, the intercepting device 12 is configured to: and utilizing the method interceptor to extract parameters of the first service request so as to obtain the service designated parameter information.
In an embodiment of the application, the first service request includes one or more pieces of call parameter information and related parameter information thereof, where the service specific parameter information is determined by the method interceptor performing parameter extraction on the one or more pieces of call parameter information and related parameter information thereof in the first service request. For example, in the application of bank transaction, the calling parameter information included in the first service request includes the bank account owner, the bank card number, the mobile phone number bound with the bank card number, the bank card expenditure amount and the bank card income amount, if the related parameter information is name information of the bank account opening owner, specific information of the bank card number, detailed list information of bank card expenditure and detailed list information of bank card income, the service designation parameter information judged in the virtual object test condition (mock condition) preset in the method interceptor is the bank account opening owner, performing parameter extraction on the calling parameter information and the related parameter information thereof in the first service request through the method interceptor, the method comprises the steps of obtaining a bank account opening owner and a corresponding bank account opening owner name, and accordingly determining service designated parameter information as the bank account opening owner and the name information of the bank account opening owner.
FIG. 2 illustrates a service call orchestration diagram between a first node service device and a client device and a second node service device simulating a server returning customized data according to an aspect of the subject application.
When the client device calls the first node service device, the first node service device acquires a first service request from the client device, acquires the first service request by using a method interceptor in the first node service device and performs parameter extraction on the first service request to determine service-specific parameter information; and judging whether the specified service parameter information meets the virtual object test condition (mock condition) in a method interceptor in the first node service equipment, and if so, sending the corresponding expected return value to the client equipment.
For example, when a customer buys a train ticket, a specific bank is selected for payment, an application a in customer equipment is used for testing the condition that the payment returned by the bank is successful, and an application B in first node service equipment is used for testing the condition that the payment returned by the bank is failed, a method interceptor is configured in the first node service equipment, wherein the method interceptor includes a preset virtual object test condition (mock condition) and an expected return value corresponding to the mock condition, that is, when the customer equipment (application a) needs to call the first node service equipment (application B) in the test process of a tester a, the method interceptor simulates test result information which may appear in the first node service equipment (application B): if 3 bits after the preset input card number are 123, returning payment success, if 3 bits after the preset input card number are 456, returning payment failure, presetting the test result information which possibly appears as an expected return value corresponding to the mock condition, and in the test process that the client device (application A) calls the first node service device (application B), if the service specified parameter information meets the mock condition { 3 bits after the input card number are 456}, sending the corresponding expected return value { payment success } to the client device (application A), so that the rapid simulation server returns the expected return value corresponding to the mock condition.
In the embodiment of the present application, in the intercepting apparatus 12, when the service specification parameter information in the first service request does not satisfy the virtual object test condition, the method interceptor is exited.
As shown in fig. 2, wherein the solid line represents: the test procedure of tester a, the dashed line indicates: test procedure of tester B. In the test process of the tester a indicated by the solid line, when the client device (application a) calls the first node service device (application B), if a string of random codes is obtained after the service-specific parameter information extracted from the first service request by the method interceptor is used, when the virtual object test condition (mock condition) is judged by using the string of random codes as the service-specific parameter information, the mock condition preset in the method interceptor in the first node service device cannot be met, and the method interceptor is exited.
Further, the first node service apparatus further includes: and an executing device 13 (not shown) configured to, after exiting the method interceptor, execute an application implementation method of the first node service device based on the first service request and feed back a corresponding execution result.
In the above embodiment of the present application, in a test process, when a client device (application a) calls a first node service device (application B), if service-specific parameter information extracted from a first service request by using a method interceptor is a string of random codes, when the virtual object test condition (mock condition) is determined by using the string of random codes as the service-specific parameter information, the mock condition cannot be satisfied, and then the method interceptor is exited; the application implementation method (the source program of the application B) of the first node service apparatus is continuously executed based on the first service request from the client apparatus (the application a) to determine an execution result of the application implementation method (the source program of the application B), and the execution result is fed back to the client apparatus (the application a).
Further, the executing device 13 (not shown) further includes: a first execution unit (not shown), a second execution unit (not shown), and a third execution unit (not shown), where when the first execution unit executes the application implementation method of the first node service device, and when the application implementation method of the second node service device needs to be called, a second service request is sent to the second node service device; the second execution unit acquires feedback information of the second node service equipment based on the second service request; and the third execution unit continues to execute the application implementation method of the first node service equipment based on the feedback information.
As shown in fig. 2, in a whole application service scenario, when the application implementation method of the first node service device is executed, and when the application implementation method of the second node service device (application C) needs to be invoked, where a dotted line in fig. 2 represents a test process of a tester B, during a test process of the tester B, when the first node service device (application B) needs to invoke the application implementation method of the second node service device (application C), after a second service request is sent to the second node service device (application C), feedback information of the second node service device (application C) based on the second service request is obtained, and the application implementation method (source program of the application B) in the first node service device (application B) is continuously executed based on the feedback information.
In the above embodiment of the present application, in the process of performing the test, when the client device (application a) calls the first node service device (application B), the tester a directly returns the expected return value when the service specification parameter information in the first service request from the client device (application a) satisfies the virtual object test condition (mock condition) of the method interceptor in the first node service device (application B); in the process of testing, when the first node service device (application B) needs to call the second node service device (application C), the tester B sends a second service request to the second node service device (application C), acquires feedback information from the second node service device (application C) based on the second service request, and continues to execute the application implementation method of the first node service device (application B) based on the feedback information, thereby meeting the testing requirements of two testers in different service scenarios in the same set of environmental tests.
Further, the feedback information of the second service request in the executing device 13 (not shown) includes: the second node service device is based on information fed back by its method interceptor or on a result of execution of an application implementation method of the second node service device.
In an embodiment of the present application, the information fed back by the second node service device based on its method interceptor includes: the service designation parameter information in the second service request satisfies an expected return value corresponding to a virtual object test condition (mock condition) in a method interceptor in the second node service device; the result executed by the application implementation method based on the second node service equipment comprises the following steps: and when the service designation parameter information in the second service request does not satisfy a virtual object test condition (mock condition) in a method interceptor in the second node service equipment, after exiting the method interceptor of the second node service equipment, executing an application implementation method of the second node service equipment based on the second service request.
For example, the feedback information of the second service request includes: an expected return value corresponding to when a virtual object test condition (mock condition) of a method interceptor in the second node service device (application C) is satisfied, or a result obtained by executing an application implementation method (source program of application C) of the second node service device based on the second service request.
FIG. 3 illustrates a flow diagram of a method for simulating server return of customized data at a first node server side according to an aspect of the subject application. The method includes step S11 and step S12.
Step S11 is to configure a corresponding method interceptor based on an application implementation method of the first node service device, and preset a virtual object test condition and an expected return value corresponding to the virtual object test condition in the method interceptor; when receiving the first service request, the step S12 uses the method interceptor to obtain the first service request, analyzes the first service request to obtain service-specific parameter information, and determines whether the service-specific parameter information satisfies the virtual object test condition, if so, feeds back the corresponding expected return value, and if not, exits the method interceptor.
It should be noted that the first node service device includes one or more first node service devices, and each of the first node service devices is deployed on each node in the distributed application deployment environment, and then the first node service device includes a script or an application program that runs on a device formed by integrating the first node service device with other node service devices or client devices through a network. Preferably, the application program in the first node service device has an independent database and an independent server deployment, and the application programs respectively corresponding to the plurality of first node service devices in the distributed application deployment environment form an original complete application program, that is, the original complete application program is split into the plurality of application programs through application and is respectively deployed in the first node service devices, so that the requirements of different testers on verification tests of different service scenarios of the same complete application program can be met.
In an embodiment of the present application, in step S11, based on an application implementation method of the first node service device, a corresponding method interceptor is configured, and a virtual object test condition and an expected return value corresponding to the virtual object test condition are preset in the method interceptor, so that when service is invoked, a server can be quickly and effectively simulated to return the corresponding expected return value; when receiving the first service request, the step S12 uses the method interceptor to obtain the first service request, analyzes the first service request to obtain service-specific parameter information, and determines whether the service-specific parameter information satisfies the virtual object test condition, if so, feeds back the corresponding expected return value, and if not, exits the method interceptor, thereby effectively saving resources and improving the flexibility of the simulated object test in the service calling process.
Further, the step S11 includes: configuring a corresponding method interceptor based on an application implementation method of first node service equipment, and presetting a virtual object test condition and an expected return value corresponding to the virtual object test condition in the method interceptor; specifically, the step S11 includes: based on the execution logic of the application implementation method of the first node service equipment and a virtual object test target, a virtual object test condition and an expected return value corresponding to the virtual object test condition are preset in the method interceptor.
It should be noted that, the application implementation method of the first node service device may include, but is not limited to, a technical framework including an application program, an implementation technical manner of the application program, or a source program of the application program. In an embodiment of the application, in the step S11, based on a difference in a technical framework of an application program of the first node service device, a corresponding method interceptor is configured to write a corresponding interception logic program and deploy the interception logic program on the first node service device. For example, under an open source framework (spring framework), a Method Interceptor (Method Interceptor) is configured; under a Model View Controller (MVC) based framework (struts2 framework), configuring a Method Filter Interceptor (Method Filter Interreceptor); and configuring a blank Interceptor (Empty Interceptor) under an object relationship mapping framework (Hibernate framework) of the open source code. In a preferred embodiment of the present application, a corresponding Method Interceptor (Method Interceptor) is preferably configured under the open source framework (spring framework). Of course, those skilled in the art should understand that the above-mentioned configuration of the corresponding Method Interceptor (Method Interceptor) under the open source framework (spring framework) is only a preferred embodiment of the present application, and other existing or future technology frameworks capable of configuring the corresponding Method Interceptor based on the application program of the first node service device, as applicable to the present application, should be included in the scope of the present application, and are hereby incorporated by reference.
In the embodiment of the present application, the execution logic of the application implementation method of the first node service device may include, but is not limited to, a part of or all of actual test result information obtained based on the virtual object test target in the process of actually testing the application implementation method. For example, in the execution logic (test of payment return condition of bank payment service) process of the application implementation method of the first node service device, the test is performed based on the virtual object test target (the last 3 bits of the input card number), wherein in the test process, conditions such as payment success or payment failure may occur, the actual test result information is preset according to the last 3 bits of the input bank card number, if the last 3 bits of the input card number are 123, the payment success is returned, and if the last 3 bits of the input card number are 456, the payment failure is returned. Presetting a virtual object test condition (mock condition) in the Method Interceptor (Method Interceptor) as { { 3 bits after the input card number are 123 }; { 3 bits after the input card number are 456} }, if the mock condition is satisfied, and 3 bits after the input card number are 123}, the corresponding expected return value is { payment success } or if the mock condition is satisfied, and 3 bits after the input card number is 456}, the corresponding expected return value is { payment failure }, so that when service calling is performed in the virtual object test process, the server can be quickly and effectively simulated to return the corresponding expected return value.
Further, the step S11 includes: configuring a corresponding method interceptor based on an application implementation method of first node service equipment, and presetting a virtual object test condition and an expected return value corresponding to the virtual object test condition in the method interceptor; specifically, the step S11 includes a step S111 (not shown) and a step S112 (not shown), wherein the step S111 (not shown) includes: configuring a plurality of the method interceptors at the first node service equipment based on different virtual object tests; the step S112 (not shown) includes: determining the sequence of the plurality of method interceptors for acquiring the first service request.
In an embodiment of the application, the step S111 (not shown) configures a plurality of method interceptors at the first node service device based on different virtual object tests. For example, in the process of the identification card information collection application, corresponding tests can be performed in different virtual object tests (service scenarios) through the identification card information, wherein the virtual object tests can include but are not limited to checking the gender of the owner through the identification card number and checking the province of the owner through the identification card number. When a service scene that the gender of the user is checked through the identity card number exists, if the last but one digit of the identity card number is an odd number, the user is a male, and if the last but one digit of the identity card number is an even number, the user is a female; when the business scene of the province where the householder is located is checked through the identity card number, if the first two digits of the identity card number are 11, the householder is a person in Beijing City, if the first two digits of the identity card number are 31, the householder is a person in Shanghai city, and if the first two digits of the identity card number are 44, the householder is a person in Guangdong province. Based on the virtual object tests of the two situations, configuring two corresponding method interceptors in the first node service equipment, wherein a virtual object test condition (mock condition) preset in the method interceptor 1 is { { the last digit of the identity card number is an odd number }; { the second last digit of the identity card number is an even number } }, if the mock condition is met, the corresponding expected return value is { the householder is male } when the second last digit of the identity card number is an odd number, and if the mock condition is met, the corresponding expected return value is { the householder is female }; the method comprises the following steps that a preset virtual object test condition (mock condition) in the interceptor 2 is { { two first digits of an identity card number are 11 }; { the first two digits of the ID number are 31 }; { 44} for the first two digits of the identity card number, if the mock condition is satisfied, the expected return value corresponding to the first two digits of the identity card number being 11} is { the householder is a Beijing city person }, if the mock condition is satisfied, the expected return value corresponding to the first two digits of the identity card number being 31} is { the householder is a Shanghai city person }, and if the mock condition is satisfied, the expected return value corresponding to the first two digits of the identity card number being 44} is { the householder is a Guangdong province person }.
In the step S112 (not shown), there may be one or more first service requests, and according to the time sequence of the first service requests acquired by the plurality of method interceptors, it is determined that the plurality of method interceptors perform the judgment on the corresponding virtual object test condition based on the first service request, so that expected return values in different virtual object test processes can be effectively and quickly returned.
Further, the parsing the first service request to obtain service specification parameter information in the step S12 includes: and utilizing the method interceptor to extract parameters of the first service request so as to obtain the service designated parameter information.
In an embodiment of the application, the first service request includes one or more pieces of call parameter information and related parameter information thereof, where the service specific parameter information is determined by the method interceptor performing parameter extraction on the one or more pieces of call parameter information and related parameter information thereof in the first service request. For example, in the application of bank transaction, the calling parameter information included in the first service request includes the bank account owner, the bank card number, the mobile phone number bound with the bank card number, the bank card expenditure amount and the bank card income amount, if the related parameter information is name information of the bank account opening owner, specific information of the bank card number, detailed list information of bank card expenditure and detailed list information of bank card income, the service designation parameter information judged in the virtual object test condition (mock condition) preset in the method interceptor is the bank account opening owner, performing parameter extraction on the calling parameter information and the related parameter information thereof in the first service request through the method interceptor, the method comprises the steps of obtaining a bank account opening owner and a corresponding bank account opening owner name, and accordingly determining service designated parameter information as the bank account opening owner and the name information of the bank account opening owner.
FIG. 2 illustrates a service call flow diagram between a first node service device and a client device and a second node service device simulating a server returning customized data according to an aspect of the subject application.
When the client device calls the first node service device, the first node service device acquires a first service request from the client device, acquires the first service request by using a method interceptor in the first node service device and performs parameter extraction on the first service request to determine service-specific parameter information; and judging whether the specified service parameter information meets the virtual object test condition (mock condition) in a method interceptor in the first node service equipment, and if so, sending the corresponding expected return value to the client equipment.
For example, when a customer buys a train ticket, a specific bank is selected for payment, an application a in customer equipment is used for testing the condition that the payment returned by the bank is successful, and an application B in first node service equipment is used for testing the condition that the payment returned by the bank is failed, a method interceptor is configured in the first node service equipment, wherein the method interceptor includes a preset virtual object test condition (mock condition) and an expected return value corresponding to the mock condition, that is, when the customer equipment (application a) needs to call the first node service equipment (application B) in the test process of a tester a, the method interceptor simulates test result information which may appear in the first node service equipment (application B): if 3 bits after the preset input card number are 123, returning payment success, if 3 bits after the preset input card number are 456, returning payment failure, presetting the test result information which possibly appears as an expected return value corresponding to the mock condition, and in the test process that the client device (application A) calls the first node service device (application B), if the service specified parameter information meets the mock condition { 3 bits after the input card number are 456}, sending the corresponding expected return value { payment success } to the client device (application A), so that the rapid simulation server returns the expected return value corresponding to the mock condition.
In an embodiment of the application, in the step S12, when the service specification parameter information in the first service request does not satisfy the virtual object test condition, the method interceptor is exited.
As shown in fig. 2, wherein the solid line represents: the test procedure of tester a, the dashed line indicates: test procedure of tester B. In the test process of the tester a indicated by the solid line, when the client device (application a) calls the first node service device (application B), if a string of random codes is obtained after the service-specific parameter information extracted from the first service request by the method interceptor is used, when the virtual object test condition (mock condition) is judged by using the string of random codes as the service-specific parameter information, the mock condition preset in the method interceptor in the first node service device cannot be met, and the method interceptor is exited.
Further, the method further comprises: step S13 (not shown), wherein the step S13 (not shown) includes: and after exiting the method interceptor, executing the application implementation method of the first node service equipment based on the first service request and feeding back a corresponding execution result.
In the above embodiment of the present application, in a test process, when a client device (application a) calls a first node service device (application B), if service-specific parameter information extracted from a first service request by using a method interceptor is a string of random codes, when the virtual object test condition (mock condition) is determined by using the string of random codes as the service-specific parameter information, the mock condition cannot be satisfied, and then the method interceptor is exited; the application implementation method (the source program of the application B) of the first node service apparatus is continuously executed based on the first service request from the client apparatus (the application a) to determine an execution result of the application implementation method (the source program of the application B), and the execution result is fed back to the client apparatus (the application a).
Further, the step S13 (not shown) further includes: when the application implementation method of the first node service equipment is executed and the application implementation method of the second node service equipment needs to be called, a second service request is sent to the second node service equipment; acquiring feedback information of the second node service equipment based on the second service request; and continuing to execute the application implementation method of the first node service equipment based on the feedback information.
As shown in fig. 2, in a whole application service scenario, when the application implementation method of the first node service device is executed, and when the application implementation method of the second node service device (application C) needs to be invoked, where a dotted line in fig. 2 represents a test process of a tester B, during a test process of the tester B, when the first node service device (application B) needs to invoke the application implementation method of the second node service device (application C), after a second service request is sent to the second node service device (application C), feedback information of the second node service device (application C) based on the second service request is obtained, and the application implementation method (source program of the application B) in the first node service device (application B) is continuously executed based on the feedback information.
In the above embodiment of the present application, in the process of performing the test, when the client device (application a) calls the first node service device (application B), the tester a directly returns the expected return value when the service specification parameter information in the first service request from the client device (application a) satisfies the virtual object test condition (mock condition) of the method interceptor in the first node service device (application B); in the process of testing, when the first node service device (application B) needs to call the second node service device (application C), the tester B sends a second service request to the second node service device (application C), acquires feedback information from the second node service device (application C) based on the second service request, and continues to execute the application implementation method of the first node service device (application B) based on the feedback information, thereby meeting the testing requirements of two testers in different service scenarios in the same set of environmental tests.
Further, the feedback information of the second service request in the step S13 (not shown) includes: the second node service device is based on information fed back by its method interceptor or on a result of execution of an application implementation method of the second node service device.
In an embodiment of the present application, the information fed back by the second node service device based on its method interceptor includes: the service designation parameter information in the second service request satisfies an expected return value corresponding to a virtual object test condition (mock condition) in a method interceptor in the second node service device; the result executed by the application implementation method based on the second node service equipment comprises the following steps: and when the service designation parameter information in the second service request does not satisfy a virtual object test condition (mock condition) in a method interceptor in the second node service equipment, after exiting the method interceptor of the second node service equipment, executing an application implementation method of the second node service equipment based on the second service request.
For example, the feedback information of the second service request includes: an expected return value corresponding to when a virtual object test condition (mock condition) of a method interceptor in the second node service device (application C) is satisfied, or a result obtained by executing an application implementation method (source program of application C) of the second node service device based on the second service request.
Fig. 4 is a schematic flow chart illustrating an overall method for simulating a server returning customized data at a first node service device side according to a preferred embodiment of another aspect of the present application. The method comprises steps S101, S102, S103, S104, S105 and S106.
Step S101, configuring corresponding method interceptors, and presetting virtual object test conditions (mock conditions) and corresponding expected return values; the step S102 acquires a first service request; the step S103 performs parameter extraction on the first service request; step S104, judging whether a mock condition is met, if so, executing step S105, and if not, executing step S106; said step S105 sending a corresponding expected return value; said step S106 exits the method interceptor and executes the application implementation method of the first node service device.
In the above preferred embodiment of the present application, in step S101, based on an application implementation method of a first node service device, a corresponding method interceptor is configured, and a virtual object test condition and an expected return value corresponding to the virtual object test condition are preset in the method interceptor; the step S102 acquires a first service request from a client device, where the first service request includes service specification parameter information; the step S103 performs parameter extraction on the first service request by using the method interceptor to obtain the service designation parameter information; the step S104 determines whether the service designation parameter information satisfies the virtual object test condition by using the method interceptor, if so, performs the step S105, and if not, performs the step S106; said step S105 feeds back said expected return value corresponding to said virtual object test condition being satisfied to said client device; if the service designation parameter information does not satisfy the virtual object test condition preset in the method interceptor, the method interceptor is exited in the step S106; and continuing to execute the application implementation method of the first node service equipment based on the first service request, and determining and feeding back an execution result.
Compared with the prior art, according to the method and the device for simulating the server to return the customized data at the first node service device side, the corresponding method interceptor is configured through the application implementation method based on the first node service device, the virtual object test condition and the expected return value corresponding to the virtual object test condition are preset in the method interceptor, so that the virtual object test condition is thresholded on each first service node device in advance before the virtual object test is needed and the expected return value corresponding to the virtual object test condition is met, and the server can be quickly and effectively simulated to return the corresponding expected return value when the service is called; further, when a first service request is received, the method interceptor is used for obtaining the first service request, analyzing the first service request to obtain service designated parameter information, and judging whether the service designated parameter information meets the virtual object test condition, if so, the corresponding expected return value is fed back, and if not, the method interceptor is quitted, thereby effectively saving resources and improving the use flexibility of the simulation object test in the service calling process.
Further, according to the method and the device for the simulation server to return the customized data, after the method interceptor exits, the application implementation method of the first node service device is executed based on the first service request and the corresponding execution result is fed back, so that the use flexibility of the simulation object test in the service calling process is effectively improved.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (10)

1. A method for a simulation server to return customized data at a first node service equipment side, wherein the method comprises:
configuring a corresponding method interceptor based on an application implementation method of first node service equipment, and presetting a virtual object test condition and an expected return value corresponding to the virtual object test condition in the method interceptor;
when a first service request is received, acquiring the first service request by using the method interceptor, analyzing the first service request to acquire service designated parameter information, and judging whether the service designated parameter information meets the virtual object test condition, if so, feeding back the corresponding expected return value, and if not, exiting the method interceptor;
after exiting the method interceptor, executing the application implementation method of the first node service equipment, and when the application implementation method of the second node service equipment needs to be called, sending a second service request to the second node service equipment;
acquiring feedback information of the second node service equipment based on the second service request;
and continuing to execute the application implementation method of the first node service equipment based on the feedback information.
2. The method of claim 1, wherein the feedback information of the second service request comprises:
the second node service device is based on information fed back by its method interceptor or on a result of execution of an application implementation method of the second node service device.
3. The method of claim 1 or 2, wherein said parsing the first service request to obtain service specific parameter information comprises:
and utilizing the method interceptor to extract parameters of the first service request so as to obtain the service designated parameter information.
4. The method according to claim 1 or 2, wherein the configuring of the corresponding method interceptor by the application implementation method based on the first node service device, and the presetting of the virtual object test condition and the expected return value corresponding to the virtual object test condition in the method interceptor comprises:
based on the execution logic of the application implementation method of the first node service equipment and a virtual object test target, a virtual object test condition and an expected return value corresponding to the virtual object test condition are preset in the method interceptor.
5. The method according to claim 1 or 2, wherein the configuring of the corresponding method interceptor by the application implementation method based on the first node service device, and the presetting of the virtual object test condition and the expected return value corresponding to the virtual object test condition in the method interceptor comprises:
configuring a plurality of the method interceptors at the first node service equipment based on different virtual object tests;
determining the sequence of the plurality of method interceptors for acquiring the first service request.
6. A first node serving appliance emulating a server returning customised data, wherein the appliance comprises:
the system comprises a presetting device, a first node service device and a second node service device, wherein the presetting device is used for configuring corresponding method interceptors based on an application implementation method of the first node service device, and presetting virtual object test conditions and expected return values corresponding to the virtual object test conditions in the method interceptors;
the intercepting device is used for acquiring a first service request by using the method interceptor when the first service request is received, analyzing the first service request to acquire service designated parameter information, judging whether the service designated parameter information meets the virtual object test condition or not, feeding back the corresponding expected return value if the service designated parameter information meets the virtual object test condition, and quitting the method interceptor if the service designated parameter information does not meet the virtual object test condition;
the execution device comprises a first execution unit, a second execution unit and a third execution unit;
the first execution unit is configured to send a second service request to a second node service device when the application implementation method of the first node service device is executed after the method interceptor is exited and when the application implementation method of the second node service device needs to be called;
the second execution unit is configured to acquire feedback information of the second node service device based on the second service request;
the third execution unit is configured to continue to execute the application implementation method of the first node service device based on the feedback information.
7. The first node serving device of claim 6, wherein the feedback information of the second service request comprises:
the second node service device is based on information fed back by its method interceptor or on a result of execution of an application implementation method of the second node service device.
8. The first node service device of claim 6 or 7, wherein the intercepting means is configured to:
and utilizing the method interceptor to extract parameters of the first service request so as to obtain the service designated parameter information.
9. The first node serving device of claim 6 or 7, wherein the provisioning means is configured to:
based on the execution logic of the application implementation method of the first node service equipment and a virtual object test target, a virtual object test condition and an expected return value corresponding to the virtual object test condition are preset in the method interceptor.
10. The first node serving device of claim 6 or 7, wherein the configuring means comprises:
a configuration unit, configured to configure a plurality of the method interceptors at a first node service device based on different virtual object tests;
and the determining unit is used for determining the sequence of the plurality of method interceptors for acquiring the first service request.
CN201610160549.6A 2016-03-21 2016-03-21 Method and equipment for simulating server to return customized data Active CN107220169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610160549.6A CN107220169B (en) 2016-03-21 2016-03-21 Method and equipment for simulating server to return customized data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610160549.6A CN107220169B (en) 2016-03-21 2016-03-21 Method and equipment for simulating server to return customized data

Publications (2)

Publication Number Publication Date
CN107220169A CN107220169A (en) 2017-09-29
CN107220169B true CN107220169B (en) 2021-05-28

Family

ID=59928008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610160549.6A Active CN107220169B (en) 2016-03-21 2016-03-21 Method and equipment for simulating server to return customized data

Country Status (1)

Country Link
CN (1) CN107220169B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832224A (en) * 2017-11-22 2018-03-23 深圳前海桔子信息技术有限公司 A kind of method of testing of application program, device, storage medium and intelligent terminal
CN110912856A (en) * 2018-09-14 2020-03-24 千寻位置网络有限公司 Non-invasive mock payment method and system, payment server and mock server
CN109739656B (en) * 2018-11-29 2020-11-27 东软集团股份有限公司 Interface data simulation method and device, storage medium and electronic equipment
CN112306864A (en) * 2020-10-19 2021-02-02 北京健康之家科技有限公司 Method and system for testing Mock based on microservice, storage medium and computing equipment
CN112685291A (en) * 2020-12-22 2021-04-20 平安普惠企业管理有限公司 System joint test method and related device
CN114185799A (en) * 2021-12-15 2022-03-15 中国建设银行股份有限公司 Data processing method and device for creating virtual object

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899013A (en) * 2014-03-05 2015-09-09 深圳中兴网信科技有限公司 Calling method and calling device of customized service assembly
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040098311A1 (en) * 2002-11-15 2004-05-20 Rajan Nair XML message monitor for managing business processes

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899013A (en) * 2014-03-05 2015-09-09 深圳中兴网信科技有限公司 Calling method and calling device of customized service assembly
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs

Also Published As

Publication number Publication date
CN107220169A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN107220169B (en) Method and equipment for simulating server to return customized data
CN108829581B (en) Application program testing method and device, computer equipment and storage medium
US7996818B1 (en) Method for testing using client specified references
CN109145590B (en) Function hook detection method, detection equipment and computer readable medium
CN104765678A (en) Method and device for testing applications on mobile terminal
CN109062667B (en) Simulator identification method, simulator identification equipment and computer readable medium
CN109558313B (en) Method and device for constructing abnormal test scene
CN108563567A (en) Automated testing method, device, equipment and computer readable storage medium
CN111782524B (en) Application testing method and device, storage medium and electronic device
CN109726108B (en) Front-end code testing method, device, system and medium based on analog data
CN104090839A (en) Simulation test method and device for abnormal scene
CN108111364B (en) Service system testing method and device
CN107621963B (en) Software deployment method, software deployment system and electronic equipment
CN103246606A (en) Method and system for testing performances of ESB (enterprises service bus) platform
CN111538659A (en) Interface testing method and system for service scene, electronic device and storage medium
CN107040535A (en) Mobile solution channel logs in monitoring method, device, system and storage medium
CN112597015B (en) A system testing method, device, computer equipment and storage medium
CN113051178A (en) Test data construction method, device, equipment and medium
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
CN112561690B (en) Method, system, equipment and storage medium for testing credit card staged service interface
CN117076330B (en) Access verification method, system, electronic equipment and readable storage medium
CN113986747A (en) Data generation method and device, electronic equipment and storage medium
CN112882957A (en) Test task validity checking method and device
CN113852610A (en) Message processing method and device, computer equipment and storage medium
CN114812695B (en) Product testing method and device, computer equipment and 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant