Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and centralized management platform for simulating service

A simulator and simulation matching technology, which is applied in the field of simulation services and centralized management platforms, can solve problems affecting work efficiency, coding capacity limitations, and failure to connect to passport.api, so as to improve work efficiency and simplify work procedures

Active Publication Date: 2020-06-23
唯品会(广州)软件有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing various service simulation frameworks or systems basically need to write code, and the main research and development is limited to unit testing or integration testing, and only supports the simulation of common protocols such as HTTP and SOCKS.
For testers, they mainly do black-box testing, but due to limited coding ability and business pressure, it is very difficult to write a mock to simulate external services, which greatly affects work efficiency.
In particular, for some large Internet companies, a system often relies on multiple external systems, and the business scenarios and joint debugging test data involved are very complicated. The following situations are often encountered: 1. A service is deployed to B service, and B service Unavailable or unstable due to some reasons (for example, the login page calls a passport.api for login, but the passport.api cannot be connected and cannot log in); 2. A service calls B service, and the data or scene of B service is difficult to construct ( For example, if the login page calls a passport.api for login, passport.api will return some error codes in some extreme cases; 3. During automated testing, service A calls service B. Since service B is uncontrollable, the data often changes, resulting in test data change often
[0003] Due to the above reasons, service operations cannot be performed due to dependence on external services, which affects work efficiency

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
  • Method, device and centralized management platform for simulating service
  • Method, device and centralized management platform for simulating service
  • Method, device and centralized management platform for simulating service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical configurations in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0044] It should be noted that if there is a directional indication (such as up, down, left, right, front, back...) in the embodiment of the present invention, the directional indication is only used to explain the position in a certain posture (as shown in the accompanying drawing). If the specific posture changes, the directional indication will also change accordingly.

[0045] refer to figure 1 , figure 1 It is a schematic flowchart of a me...

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 service simulation method. The method comprises the steps that external service behaviors are simulated for enabling a simulator initialization operation, simulation matching conditions and preset response are edited in a pile matcher of the initialized simulator; a monitoring link enabled by the simulator with the same IP as a to-be-tested service intercepts a request sent by the to-be-tested service; the intercepted request is analyzed, the analyzed request is transmitted to the pile matcher of the simulator; the pile matcher of the simulator receives the analyzed request, and a matching instruction is executed according to the simulation matching condition; if matching is successful, the pile matcher of the simulator sends the preset response to the to-be-tested service. The invention further discloses a service simulation device and a centralized management platform. Simulation services of tester joint debugging testing, development joint debugging, abnormal scenes and complex testing scenes can be simplified, the pressure testing data and testing environment are simplified, and the working efficiency of the simulation services is improved.

Description

technical field [0001] The invention relates to the field of testing, in particular to a method, device and centralized management platform for simulating services. Background technique [0002] With the development of social science and technology, the business scenarios and joint debugging test data involved in the internal service management system of enterprises are very complex. Enterprise application systems rarely exist in isolation, and most systems rely on different software suppliers. Services pieced together. However, the existing various service simulation frameworks or systems basically need to write code, and the main development is limited to unit testing or integration testing, and only supports the simulation of common protocols such as HTTP and SOCKS. For testers, the main thing is black-box testing, but there are limitations in coding ability and business pressure. It is very difficult to write a mock to simulate external services, which greatly affects w...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3664G06F11/3688
Inventor 马家麒梁议尹黄嵘
Owner 唯品会(广州)软件有限公司