Supercharge Your Innovation With Domain-Expert AI Agents!

Container cloud-based pressure testing method and system

A pressure test and container technology, applied in the field of container cloud-based stress test methods and systems, can solve the problems of time-consuming deployment, large demand for stress test physical machines, and unreasonable utilization, so as to realize the reuse of stress test resources, Realize lightweight deployment and super-large concurrency

Active Publication Date: 2019-08-23
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF1 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) The concurrency of traditional pressure testing using LR is not high enough to effectively simulate high-concurrency scenarios on the Internet. The lack of effective means is to estimate the production capacity capacity by comparing the test environment with the production environment, making some performance problems until production was discovered
[0005] 2) The physical machines for stress testing are in great demand and cannot be reasonably utilized
For example, a physical stress testing machine lacks the monitoring of available resources during the stress testing of application A, which makes it impossible for the stress testing machine to be used as a stress testing machine by application B at the same time.
[0006] 3) The deployment of stress testing tools is complex and time-consuming
For example, it takes nearly an hour to deploy an LR stress test physical machine, and different configurations need to be modified for different stress tests, which greatly consumes the deployment time

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
  • Container cloud-based pressure testing method and system
  • Container cloud-based pressure testing method and system
  • Container cloud-based pressure testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0040] figure 1 It is a schematic flowchart of a container cloud-based stress testing method provided by an embodiment of the present invention. Such as figure 1 As shown, the method mainly includes the following steps:

[0041] Step S1. Assemble the stress test script according to the stress test elements of the received stress test task. The stress test elements include the URL required for the stress test, the message to be sent, the number of concurrency...

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 a container cloud-based pressure testing method and system. The method comprises the following steps: assembling a pressure test script according to pressure test elements of areceived pressure test task; carrying out parameterization on values needing to be changed in the pressure measurement process in the pressure measurement foot notebook message body, and replacing theparameterized values with different data in combination with the pressure measurement data so as to generate an effective pressure measurement message when a pressure measurement script is operated;calculating the number of required containers according to the concurrent number of the pressure measurement task, and generating a corresponding number of containers on the Docker container cloud; and distributing the pressure test script containing the pressure test data to the generated container for pressure test. The situation that the traditional pressure is increased by thousands of times is achieved, and the pressure measurement requirement of internet finance is met; the multiplexing of pressure measurement resources is realized, and the deployment cost of the pressure measurement machine is reduced; cloud pressure measurement is introduced, an idle machine is fully utilized, and super-large concurrence and even wave concurrence are achieved through the characteristic that cloud elasticity is extensible. Lightweight deployment is realized, and development and test coordination is realized.

Description

technical field [0001] The invention relates to the field of software stress test automation, in particular to a container cloud-based stress test method and system. Background technique [0002] The rapid growth of Internet business requires shorter and shorter product development, iteration, and delivery cycles. The extensive cloudification of IT infrastructure and the extensive use of third-party API interfaces have made traditional stress testing methods and testing tools based on internal environments more and more difficult. The more difficult it is to meet the needs of application function availability and container planning estimates. [0003] The existing stress testing process is usually: use the traditional stress testing tool LOADRUNNER (hereafter referred to as LR) to perform hundreds of concurrent stress tests, and manually record the resource consumption of the server, and manually log the stress test As a result, if it is necessary to achieve tens of thousan...

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/3604G06F11/362G06F11/3668Y02D10/00
Inventor 谢林洁杨卓俊杨敏黄俊文
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More