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

Pressure test method, device and apparatus and medium

A pressure test and test request technology, applied in the field of devices, pressure test methods, equipment and media, can solve problems such as limited resources, high labor costs, and intricate relationships, and achieve the effect of improving stability and reducing labor costs

Inactive Publication Date: 2019-01-08
杭州云创共享网络科技有限公司
View PDF7 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current stress testing method requires technicians to configure a huge business system in advance. Due to the intricate relationship between various services in the business system, technicians need to spend a lot of time understanding the working logic relationship between services in the entire business system. , to be able to determine whether the business system configured offline is consistent with the business system working online in terms of parameters, so the current stress testing method requires high labor costs, and, due to the offline stress testing, the pre-generated The resources of virtual test data are limited. When the business system processes test requests, it often uses virtual test data repeatedly, which may lead to a decrease in the stability of the overall working environment of the business system.

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
  • Pressure test method, device and apparatus and medium
  • Pressure test method, device and apparatus and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1 It is a flowchart of a stress testing method provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the stress test method include:

[0039] Step S10: Receive and respond to the service request through the online service system.

[0040] Wherein, the types of service requests include real requests and test requests.

[0041] It should be noted that in this step, the business system running online refers to the real network environment used by the user. After the business system runs online, the user can initiate a business request to the business system. The key point of this step is that business requests are not limited to real requests initiated by real users, but also include test requests generated by stress testing. That is to say, business systems respond to test requests in addition to real requests. The user provision of services and the stress test of the business system are carried out at the same tim...

Embodiment 2

[0048] On the basis of the above embodiments, the present invention also provides the following series of preferred implementation manners.

[0049] As a preferred implementation manner, when it is determined that the type of the service request is a test request, the step of obtaining the data resources required for the test request specifically includes:

[0050] When there is a preset test mark in the service request, it is determined that the type of the service request is a test request;

[0051] The data resource required by the test request is acquired in the target database storing the virtual test data.

[0052] It should be noted that in this embodiment, the difference between the test request and the real request is that the test request is pre-set with a test flag, and the specific content of the test flag can be determined according to actual needs, and can be related to the configuration of the stress test The parameter may also be a randomly generated ID number...

Embodiment 3

[0070] The embodiment of the pressure testing method has been described in detail above, and the present invention also provides a pressure testing device corresponding to the method. Since the embodiment of the device part corresponds to the embodiment of the method part, the part of the device For the embodiments, please refer to the description of the embodiments in the method part, which will not be repeated here.

[0071] figure 2 A structural diagram of a pressure testing device provided by an embodiment of the present invention. The pressure test device provided by the embodiment of the present invention includes:

[0072] The online response module 10 is configured to receive and respond to service requests through the online service system; wherein, the types of service requests include real requests and test requests.

[0073] The test execution module 11 is used to obtain the data resources required by the test request when it is determined that the type of the s...

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 pressure test method, device and apparatus and a medium. The method comprises the following steps: receiving and responding to a service request through a service system running on a line, wherein the types of service requests include real requests and test requests; when it is judged that the type of the service request is a test request, obtaining the data resource required by the test request, and processing the data resource according to the service execution logic corresponding to the service request to generate a processing result; counting the results of each treatment and generating the stress test results. The method defines the object of stress testing as a business system working normally on line, which reduces the labor cost of stress testing relatively. In addition, because there are often a lot of real data resources in the online business system and the repeated use of virtual test data is avoided, the overall stability of stress testing is improved. In addition, the invention also provides a pressure testing device and apparatus and a medium, the beneficial effects of which are as described above.

Description

technical field [0001] The invention relates to the field of system testing, in particular to a pressure testing method, device, equipment and medium. Background technique [0002] As a program running on server equipment, the business system continuously provides users with rich and powerful functions. With the continuous development of computer network technology, the number of network users is increasing, and the requests initiated by network users to the business system will gradually increase the processing pressure of the business system. focus of attention. [0003] Stress testing is a testing method to establish system stability, usually outside the normal operating range of the system to examine its functional limits and hidden dangers. In the traditional sense, stress testing is a "stress" test for the business system running on the server to continuously initiate business requests. It is to obtain the performance of the business system by determining the bottlen...

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/3688G06F11/3692
Inventor 杨坚于江舟
Owner 杭州云创共享网络科技有限公司
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