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

Test method and system

A testing method and tested technology are applied in the field of communication to improve efficiency and simplify dependencies

Inactive Publication Date: 2016-04-20
ALIBABA GRP HLDG LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. The service simulation system and automated test cases need to use consistent data, which requires manual maintenance;
[0009] 2. Although the service simulation system solves the external dependency problem of the system under test, it also introduces the dependency of the simulation system itself;
[0010] 3. The service simulation system requires manual input of all data;

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
  • Test method and system
  • Test method and system
  • Test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] As mentioned in the background art, due to the acquisition of test data from the peripheral system, the system under test in the prior art cannot independently and spontaneously perform the test. By recording system trigger events and external dependent system call data, this application can simulate the call of dependent services by the tested system, simplify the dependencies between systems, and directly generate automated test cases for automated regression testing.

[0023] Such as figure 1 As shown, the embodiment of the present application provides a test method, the method is applied to a distributed architecture including the system under test and peripheral systems, and the method includes the following steps:

[0024] Step 101. When the system under test is currently in the playback mode, according to the parameters requested by the system under test, perform matching and searching in the stored recorded data. The recorded data is based on the parameters requ...

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 test method comprising the steps of generating recorded data according to interaction data between a tested system in a recording mode and a peripheral system, and performing matching and searching in the stored recorded data according to a parameter requested by the tested system and returning data corresponding to the parameter to the tested system when the tested system is currently in a playback mode. Thus, simulation of the process in which the tested system calls the data of the peripheral system is realized, the dependency between the systems in the test process is simplified, and the test efficiency is improved. The invention further discloses a tested system.

Description

technical field [0001] The present application relates to the technical field of communication, in particular to a testing method. The present application also relates to a tested system. Background technique [0002] With the increasing diversification of people's online activities, large-scale distributed architecture systems have become an indispensable tool for operators. In a large-scale distributed architecture system, there are a large number of system dependencies. For example, the website transaction system needs to rely on the membership system and accounting system at the same time. Usually, when performing automated testing of such systems, it is necessary to build a complete testing environment. At present, the automated testing process usually uses the following methods to simplify the handling of service dependencies: [0003] (1) Build a general service to simulate the dependency of the system under test on the peripheral system, generally called Mock serv...

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): H04L12/26
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