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

Test method and device

A test method and technology to be tested, applied in the computer field, can solve problems such as affecting the process, omission and deletion, and deviation of pressure test results.

Pending Publication Date: 2021-07-06
BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for the first solution, if you store shadow data with a stress test flag in the cache or database, after the test is completed, the cache or database will generate a lot of test data, which may have a certain impact on the line; if you clean up these tests There may be risks such as accidental deletion and omission of data
If no data is written and the success flag is returned directly, then this stress test does not cover all the processes. When the online traffic is actually written, under high concurrency conditions, there may be problems with a certain service or a certain module, which affects the entire process
For the second solution, it solves the risks of accidental deletion or missing deletion of data in solution 1. However, there will inevitably be differences between the performance of the backup database or cache and the performance of the online database or cache, so the final pressure test results may be There is a certain deviation
Moreover, this solution is to manually write pressure measurement data for pressure measurement, which may be different from the real access of online traffic, and cannot completely cover all scenarios of online traffic access

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded 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 in the following description for clarity and conciseness.

[0042] figure 1 It is a schematic flow chart of the main steps of the test method of the embodiment of the present invention, such as figure 1 As shown, the test method includes:

[0043] Step S101: configuring recording aspect and recording point;

[0044] Step S102: Automatically identify the service to be recorded according to the recording aspect;

[0045] Step S103:...

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 and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: receiving a pressure test request, and determining an identifier of the pressure test request; obtaining recording data according to the identifier of the pressure test request; wherein the recorded data is recorded when the online traffic accesses the to-be-tested service, and the recorded data comprises a method called by the to-be-tested service and input parameters and output parameters of the method; playing back the recorded data to obtain a playback result; and comparing a parameter playback result to obtain a test result. According to the embodiment, the influence on an online real process is avoided; the risk of omission of some pressure measurement scenes caused by the fact that manually written pressure measurement data cannot completely cover all scenes accessed by online users and the service downtime caused by large flow of online real users are solved; the problem that the pressure measurement result has deviation due to the fact that the performance of a backup pressure measurement database or a cache is different from the performance of an online real environment is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a testing method and device. Background technique [0002] In recent years, promotional activities of major e-commerce platforms have been in full swing. The rapid increase in traffic during major e-commerce promotions has also brought severe challenges to the software and service systems related to e-commerce platforms; for example, flash sales and snap-up activities require the system to improve its high-concurrency and high-availability processing capabilities, and core business processes Better availability and stability are required. Therefore, on the eve of the big promotion, it is necessary to accurately conduct stress tests on online services, and do a good job in evaluating system server performance and current limiting in a timely manner, including system stress tests and stability tests. , load capacity test and scalability test, etc.; however, the stress test will ...

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/3644G06F11/366
Inventor 刘曌阳
Owner BEIJING JINGDONG TUOXIAN TECH CO 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