Online mock test method, device and system

A test system and test method technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems affecting the normal operation of the application system to be tested, large intrusion of the application system to be tested, etc., to improve efficiency and reduce cost effect

Active Publication Date: 2017-07-21
ANT WEALTH (SHANGHAI) FINANCIAL INFORMATION SERVICES CO LTD
View PDF6 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this way, the system code of the application system under test needs to be modified no matter whether the

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
  • Online mock test method, device and system
  • Online mock test method, device and system
  • Online mock test method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purpose, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the schematic embodiments and descriptions of the embodiments of the present application are used to explain the embodiments of the present application, but are not intended to limit the embodiments of the present application.

[0032] refer to figure 1 As shown, the online mock testing system of the embodiment of the present application includes an application server 1 to be tested, and the application server 1 to be tested includes an application server 11 and a mock server 12 dynamically injected into the application server 1 to be tested in advance. ,in:

[0033] The application server 11 is configured to provide the request to the mock server 11 when receiving a request carrying a use case ...

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 embodiment of the invention provides an online mock test method, device and system. The system comprises a to-be-tested application server, and the to-be-tested application server comprises an application server and a mock server which is dynamically injected into the to-be-tested application server in advance. The application server is used for providing a request for the mock server when receiving the request carrying a case identifier; when a mock response provided by the mock server is received, the mock response is used as a response to the request and returned; the mock server is used for matching a corresponding mock object from a built-in mock object set according to the case identifier, the request is subjected to simulation processing based on the mock object, and the mock response obtained after processing is provided for the application server. Through the embodiment, mock test cost can be lowered, and mock test efficiency can be improved.

Description

technical field [0001] The present application relates to the technical field of system automation testing, in particular to an online mock testing method, device and system. Background technique [0002] During the offline test or online drill of the system, the objects and services that need attention often depend on many internal methods and / or external interface services. The mock test is to simulate the dependencies of these internal methods and / or external interface services in a controllable manner , in order to verify whether the object under test can provide stable and reliable services in various states that may exist. [0003] At present, mock tests for internal methods are generally implemented through frameworks such as mockito, powermock, and jmockit. However, these frameworks are driven by test cases, and mock tests cannot be driven by the rpc (Remote Procedure Call Protocol, remote procedure call protocol) remote call mode. However, the current mock test fo...

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/3688
Inventor 付宇刘银蒋丰杰
Owner ANT WEALTH (SHANGHAI) FINANCIAL INFORMATION SERVICES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products