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

Simulation object test method, equipment and system

A technology for simulating objects and testing methods, applied in the testing field, can solve problems such as high learning costs, inability to construct platforms, poor flexibility, etc., and achieve the effect of flexible configuration

Active Publication Date: 2020-08-11
ALIBABA GRP HLDG LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The defect of the existing mock object test is that at present, the traditional mock object test platform is mostly used to simulate the interface, and the interface, return data and other parameters of system B are manually configured on the mock object test platform page, and the platform receives the system After A's request, return the configured return data to system A
The flexibility of this manual configuration method is poor. Every time the response data is modified, it needs to be edited on the platform. The labor cost is high, and the response data has a high construction cost, and even cannot be constructed on the platform.
[0005] Moreover, the traditional simulated object testing platform requires users to learn the syntax, scripts and rules provided by the platform, and to do script writing and configuration. The learning cost is high, and the analysis and processing of various complex data cannot be considered, and the ability is insufficient.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Simulation object test method, equipment and system
  • Simulation object test method, equipment and system
  • Simulation object test method, equipment and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment provides a mock object testing method, such as figure 1 shown, including the following steps:

[0039] Step 100, the simulated object test server constructs a virtual interface according to the interface information received from the user terminal.

[0040] Wherein, the simulated object test server is a server used to replace the real system to exchange information with the tested object, and the virtual interface is used to replace the corresponding interface function in the real system. An interface is a shared boundary for information exchange between systems.

[0041] Specifically, the user sends the interface information for constructing the virtual interface to the mock object test server through the user terminal, so that the mock object test server constructs a virtual interface according to the interface information, and the virtual interface has the same function as the replaced interface. For example, if figure 2 As shown, system A is the ...

Embodiment 2

[0069] This embodiment provides a simulated object test system to implement the above method, such as Figure 4 As shown, including: simulated object test server 10 and user terminal 20, its working principle is as follows:

[0070] The terminal side interface construction module 21 in the user terminal 20 sends the interface information for constructing the virtual interface to the simulated object test server 10; The interface information constructs a virtual interface; when the simulated object test server 10 receives request information from the object under test 30 through the virtual interface, the server forwarding module 12 forwards the request information to the user terminal 20 .

[0071] When the user terminal 20 receives the request information of the object under test 30 forwarded from the simulated object test server 10 through the virtual interface, the terminal side information construction module 22 constructs the response information, and the terminal return ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a simulation object test method, equipment and a system. The simulation object test method comprises the steps of: constructing a virtual interface according to received interface information from a user terminal by a simulation object test server; when the simulation object test server receives request information from a tested object through the virtual interface, forwarding the request information to the user terminal; and when the simulation object test server receives response information from the user terminal through the virtual interface, returning the responseinformation to the tested object through the virtual interface. According to the simulation object test method, the user terminal is used for constructing the interface on the simulation object test server, and the simulated alternative interface is used for system test, so that the simulation object test method has the advantages of flexible configuration, high expandability and easiness in learning.

Description

technical field [0001] The invention relates to a simulation object testing method, equipment and system, belonging to the technical field of testing. Background technique [0002] Substitution (mock) testing is a testing method that substitutes a virtual object for some real objects that are not easy to construct or obtain during the testing process. The service facility that hosts the virtual object is called the mock object test server (Mock Server). On this mock object test server, you can customize each interface that needs to be replaced in the virtual object, as well as the data that each interface should return, so as to simulate Various interaction capabilities between real objects and other systems. [0003] For example, system A and system B exchange information through an interface. System B provides weather services. System A recommends fitness exercises to users according to the weather conditions. If B returns to sunny days, A recommends outdoor walking; if B...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 王浩徐小龙南丽娜
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products