Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Application testing system and method, electronic device, and readable storage medium

A technology for application testing and caching, applied in the computer field, can solve problems such as waste of system and human resources, pre-construction of test parameters, inability to simulate abnormal situations, etc., to increase functions, improve test efficiency, and save test time.

Active Publication Date: 2018-08-21
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF7 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 3. Test parameters need to be constructed in advance and cannot be reused, resulting in a great waste of system and human resources
For example, when a large amount of concurrent data needs to be used to test an interface, and the business logic requires that the data must be globally unique, in this scenario, a large amount of test data needs to be constructed in advance, and the data cannot be reused after the test is completed, and needs to be restructured , increased repetitive work;
[0010] 4. The two existing technical solutions can only return the correct return information to the caller through the Mock dependent interface or method, and cannot simulate the abnormal situation that occurs in the case of a large number of concurrent data requests

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
  • Application testing system and method, electronic device, and readable storage medium
  • Application testing system and method, electronic device, and readable storage medium
  • Application testing system and method, electronic device, and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

[0040] In view of the problems mentioned in the prior art, the present invention proposes an application testing system. By configuring parameter generation rules and exception simulation rules for the simulation interface, the simulation interface can generate parameter return values ​​as required, and can simulate response timeout, The interface is abnormal such as network f...

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 provides an application testing system and method, an electronic device and a readable storage medium which can improve the performance of analog interfaces, flexibly generate test parameters and simulate interface abnormity. The application includes calls to one or a plurality of interfaces. Each interface is simulated by using a corresponding analog interface. Each analog interfacehas interface configuration information including a corresponding relation between input parameters and return values. The system includes a request distributing module and a service handling module.The request distributing module is used for receiving requests for interface calls and generating a unique identifier used for visiting the interface configuration information of a corresponding analog interface according to the requests, wherein the requests include input parameters. The service handling module is used for obtaining the corresponding interface configuration information accordingto the unique identifier, determining the return values of the requests according to the input parameters of the requests and the obtained interface configuration information, and returning the return values. The interface configuration information also includes a predefined rule. The return values are handled according to the predefined rule before the return values are returned.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to an application testing system, method, electronic device and readable storage medium. Background technique [0002] Because the process of e-commerce business is very complex, there will be interdependence between the services of each business node. Before the development of the business system is completed in whole or in part, the business system needs to be tested for performance to ensure that the system can operate correctly in a predetermined manner. The performance test of the application is to test various performance indicators of the application by simulating a variety of normal, peak and abnormal load conditions through automated test tools. The application needs to call some interfaces during operation. In the performance test of the application, for the convenience of testing, for an interface that is not easy to construct or obtain, a virtual interfa...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3668
Inventor 王晓琦
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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
Eureka Blog
Learn More
PatSnap group products