CN110417613A - Distributed performance test method, device, equipment and storage medium based on Jmeter - Google Patents
Distributed performance test method, device, equipment and storage medium based on Jmeter Download PDFInfo
- Publication number
- CN110417613A CN110417613A CN201910523487.4A CN201910523487A CN110417613A CN 110417613 A CN110417613 A CN 110417613A CN 201910523487 A CN201910523487 A CN 201910523487A CN 110417613 A CN110417613 A CN 110417613A
- Authority
- CN
- China
- Prior art keywords
- node
- jmeter
- mirror image
- test
- host node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to cloud testing fields, disclose a kind of distributed performance test method, device, equipment and storage medium based on Jmeter.Distributed performance test method based on Jmeter includes: that the Jmeter mirror image of predicted version is deployed to distributed node, distributed node include a host node and at least one from node;When host node receives test starting command, corresponding test script is sent from node to each by host node;When it is each receive corresponding test script from node when, be tested for the property by each from node, obtain corresponding test result;Host node is sent by corresponding test result from node by each;Corresponding test result is counted by host node, obtains the performance test results.The present invention carries out Version Control to Jmeter mirror image, is tested for the property using the distributed node deployment Jmeter mirror image based on container, disposes simple and fast, raising testing efficiency.
Description
Technical field
The present invention relates to cloud testing fields, more particularly to distributed performance test method, device, equipment based on Jmeter
And storage medium.
Background technique
The mainstream tool of server end performance test has a Jmeter and LoadRunner, principle be all by middle-agent,
The instruction that concurrent client is sent is collected in monitoring, is generated script and is sent to application server, then the result of monitoring server feedback.
When doing interface performance test to application program, due to the limitation of single machine CPU and memory, the Jmeter of single machine deployment without
Method meets testing requirement, needs using Jmeter distributed deployment.It is traditional using deployment way be by plug-in unit or script come
Installation application, disadvantage of this is that the operation of application program, configuration, management, all life cycles will be with current operation systems
Binding does so the operation such as the upgrading update for being unfavorable for application and version rollback.
When disposing Jmeter by way of creating virtual machine, then process complexity is disposed, low efficiency is unfavorable for portable
Property, while the Jmeter cluster based on a large amount of virtual machines has a disadvantage, is exactly to be inconvenient to manage, for example need to restart Jmeter clothes
Business, it is also necessary to be connected on each virtual machine and be operated, and installation and deployment are inconvenient, also cluster is packaged into whole by inconvenience
Body application externally provides service.
Summary of the invention
It is a primary object of the present invention to solve single machine deployment Jmeter to be unable to satisfy testing requirement, and use virtual machine portion
Jmeter process complexity, the problem of low efficiency and transplantability difference are affixed one's name to, while it is not friendly to Version Control support to solve test script
Good problem.
To achieve the above object, first aspect present invention provides a kind of distributed performance test side based on Jmeter
Method, comprising: the Jmeter mirror image of predicted version is deployed to distributed node, the distributed node include a host node and
At least one is from node;When the host node receives test starting command, sent out to each from node by the host node
Send corresponding test script;When it is each receive corresponding test script from node when, by each from section
Point is tested for the property, and obtains corresponding test result;Corresponding test result is sent from node by each
To the host node;Corresponding test result is counted by the host node, obtains the performance test results.
Optionally, in the first implementation of first aspect present invention, the Jmeter mirror image by predicted version
Be deployed to distributed node, the distributed node include a host node and at least one from node include: from mirror image warehouse
The Jmeter mirror image of middle selection predicted version;ECS example is serviced by elastic calculation, and the distributed node, the distribution are set
Formula node include one host node and it is described at least one from node;Judge the host node and each whether same from node
When there are the Jmeter mirror images of the predicted version;If the host node and each not existing simultaneously the predicted version from node
Jmeter mirror image, then the Jmeter mirror image of the predicted version is disposed by preset mode, obtain deployment result;If the master
Node and each Jmeter mirror image that the predicted version is existed simultaneously from node, it is determined that deployment success.
Optionally, in second of implementation of first aspect present invention, if the host node and each from section
Point does not exist simultaneously the Jmeter mirror image of the predicted version, then the Jmeter mirror of the predicted version is disposed by preset mode
Picture, if obtaining deployment result includes: the host node and each Jmeter mirror for not existing simultaneously the predicted version from node
The Jmeter mirror image of the predicted version is then deployed in the ECS example by picture, obtains Jmeter application;Pass through container
Docker runs the Jmeter application;By each control list for being added to the host node from the corresponding configuration information of node
In, it is described it is each from the corresponding configuration information of node include corresponding IP address and corresponding port;Restart described
The Jmeter of host node is applied, and obtains deployment result.
Optionally, in the third implementation of first aspect present invention, if the host node and each from section
Point does not exist simultaneously the Jmeter mirror image of the predicted version, then the Jmeter mirror of the predicted version is disposed by preset mode
Picture, after obtaining deployment result, the distributed performance test method based on Jmeter further include: judge the deployment result
It whether is target value, the target value is used to indicate the Jmeter mirror image of predicted version described in successful deployment;If the deployment knot
Fruit is not the target value, then redeploys;If the deployment result is the target value, it is determined that deployment success.
Optionally, described when the host node receives starting in the 4th kind of implementation of first aspect present invention
When test instruction, by the host node, to send corresponding test script from node include: by the host node to each
It is set as the client of remote method invocation;By each server end for being set as the RMI from node;When the main section
When point receives test starting command, test plan is executed by the host node, the test plan includes total test data
And test script;The control list for parsing the host node obtains described each from the corresponding configuration information of node;According to described
It is each that total test data is split from the corresponding configuration information of node, it obtains each from the corresponding test number of node
According to;According to it is described it is each replace the keyword in the test script from the corresponding test data of node, obtain it is described respectively it is right
The test script answered;Corresponding test foot is pushed from node to each in a manner of the RMI by the host node
This.
Optionally, in the 5th kind of implementation of first aspect present invention, it is described received when each from node it is described
It when corresponding test script, is tested for the property by each from node, obtains corresponding test result further include:
When it is each receive corresponding test script from node when, parse corresponding survey from node by each
Training sheet obtains corresponding test request;Corresponding test request is executed from node by each, obtains institute
State corresponding test result;By each from corresponding test result described in nodes records.
Optionally, in the 6th kind of implementation of first aspect present invention, the Jmeter mirror image by predicted version
Be deployed to distributed node, the distributed node include a host node and at least one before node, it is described to be based on
The distributed performance test method of Jmeter further include: the Jmeter mirror image of the predicted version is uploaded into the mirror image storehouse
Library;Version management is carried out by Jmeter mirror image of the mode of labelling to the predicted version.
Second aspect of the present invention provides a kind of distributed performance test device based on Jmeter, comprising: deployment unit,
For the Jmeter mirror image of predicted version to be deployed to distributed node, the distributed node is including a host node and at least
One from node;Control unit, when the host node receives test starting command, for by the host node to each
Corresponding test script is sent from node;Test cell receives corresponding test foot from node when each
This when, obtains corresponding test result for being tested for the property by each from node;Transmission unit, for passing through
It is each to send the host node for corresponding test result from node;Statistic unit, for being united by the host node
Corresponding test result is counted, the performance test results are obtained.
Optionally, in the first implementation of second aspect of the present invention, the deployment unit further include: selection is single
Member, for selecting the Jmeter mirror image of predicted version from mirror image warehouse;Subelement is set, for passing through elastic calculation service
ECS example is arranged the distributed node, the distributed node include one host node and it is described at least one from section
Point;First judgment sub-unit, for judging the host node and each whether existing simultaneously the predicted version from node
Jmeter mirror image;Subelement is disposed, if the host node and each Jmeter for not existing simultaneously the predicted version from node
Mirror image obtains deployment result then for disposing the Jmeter mirror image of the predicted version by preset mode;Confirm subelement,
If the host node and each Jmeter mirror image for existing simultaneously the predicted version from node, for determining deployment success.
Optionally, in second of implementation of second aspect of the present invention, the deployment subelement is specifically used for: if institute
Host node and each Jmeter mirror image for not existing simultaneously the predicted version from node are stated, then by the predicted version
Jmeter mirror image is deployed in the ECS example, obtains Jmeter application;The Jmeter is run by container docker to answer
With;It is described each corresponding from node by each from the control list that the corresponding configuration information of node is added to the host node
Configuration information include corresponding IP address and corresponding port;The Jmeter for restarting the host node is answered
With, obtain deployment result.
Optionally, in the third implementation of second aspect of the present invention, the deployment unit further include: the second judgement
Subelement, for judging whether the deployment result is target value, and the target value, which is used to indicate, predicts version described in successful deployment
This Jmeter mirror image;First processing subelement, if the deployment result is not the target value, for redeploying;The
Two processing subelements, if the deployment result is the target value, for determining deployment success.
Optionally, in the 4th kind of implementation of second aspect of the present invention, described control unit is specifically used for: will be described
Host node is set as the client of remote method invocation;By each server end for being set as the RMI from node;Work as institute
When stating host node and receiving test starting command, test plan is executed by the host node, the test plan includes total surveys
Try data and test script;The control list for parsing the host node obtains each from the corresponding configuration information of node;According to institute
State it is each total test data is split from the corresponding configuration information of node, obtain each from the corresponding test number of node
According to;According to it is described it is each replace the keyword in the test script from the corresponding test data of node, obtain it is described respectively it is right
The test script answered;Corresponding test foot is pushed from node to each in a manner of the RMI by the host node
This.
Optionally, in the 5th kind of implementation of second aspect of the present invention, the test cell is specifically used for: when each
When receiving corresponding test script from node, corresponding test foot is parsed from node by each
This, obtains corresponding test request;Corresponding test request is executed from node by each, is obtained described each
Self-corresponding test result;By each from corresponding test result described in nodes records.
Optionally, in the 6th kind of implementation of second aspect of the present invention, the distributed performance based on Jmeter
Test device further include: uploading unit, for the Jmeter mirror image of the predicted version to be uploaded to the mirror image warehouse;Management
Unit, for carrying out version management by Jmeter mirror image of the mode of labelling to the predicted version.
Third aspect present invention provides a kind of distributed performance test equipment based on Jmeter, comprising: memory and
At least one processor is stored with instruction in the memory, and the memory and at least one described processor pass through route
Interconnection;At least one described processor calls the described instruction in the memory, so that the distribution based on Jmeter
Formula performance test apparatus executes method described in above-mentioned first aspect.
The fourth aspect of the present invention provides a kind of computer readable storage medium, in the computer readable storage medium
It is stored with instruction, when run on a computer, so that computer executes method described in above-mentioned first aspect.
As can be seen from the above technical solutions, the invention has the following advantages that
In technical solution provided by the invention, the Jmeter mirror image of predicted version is deployed to distributed node, described point
Cloth node include host node and at least one from node;When the host node receives test starting command, pass through
The host node sends corresponding test script from node to each;When it is each receive from node it is described corresponding
It when test script, is tested for the property by each from node, obtains corresponding test result;It is incited somebody to action by each from node
Corresponding test result is sent to the host node;Corresponding test result is counted by the host node,
Obtain the performance test results.In the embodiment of the present invention, Version Control is carried out to Jmeter mirror image by mirror image warehouse, using being based on
The distributed node deployment Jmeter mirror image of container is simultaneously tested for the property, and process will not influence each other between container, can distinguish
Computing resource, while relative to virtual machine, container is disposed process and is simplified, and testing efficiency is improved.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of the distributed performance test method based on Jmeter in the embodiment of the present invention;
Fig. 2 is another embodiment signal of the distributed performance test method based on Jmeter in the embodiment of the present invention
Figure;
Fig. 3 is one embodiment schematic diagram of the distributed performance test device based on Jmeter in the embodiment of the present invention;
Fig. 4 is another embodiment signal of the distributed performance test device based on Jmeter in the embodiment of the present invention
Figure;
Fig. 5 is another embodiment signal of the distributed performance test equipment based on Jmeter in the embodiment of the present invention
Figure.
Specific embodiment
The embodiment of the invention provides a kind of distributed performance test method, device, equipment and storage based on Jmeter
Medium in the embodiment of the present invention, carries out Version Control to Jmeter mirror image by mirror image warehouse, supports version rollback, adopt simultaneously
With the distributed node deployment Jmeter mirror image based on container and it is tested for the property, process will not influence each other between container,
Computing resource can be distinguished, and relative to virtual machine, container energy rapid deployment.Due to container and bottom facilities and machine file system
System is decoupling, can be migrated between different clouds and different editions operating system, and deployment process is simplified, and improves test effect
Rate.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
The embodiment of the present invention is described in attached drawing.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " or " having " and its any deformation, it is intended that covering is not
Exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units be not necessarily limited to it is clear
Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set
Standby intrinsic other step or units.
For ease of understanding, the detailed process of the embodiment of the present invention is described below, referring to Fig. 1, the present invention is implemented
One embodiment of the distributed performance test method based on Jmeter includes: in example
101, the Jmeter mirror image of predicted version is deployed to distributed node, which includes a host node
With at least one from node;
The Jmeter mirror image of predicted version is deployed to distributed node by server, which includes a main section
Point all uses container docker from node, host node and from node at least one.Docker is the application container of an open source
Engine, docker use sandbox mechanism completely, do not have any interface between each other, and docker uses client-server C/S
Architecture mode.
It should be noted that server selects the Jmeter mirror image of predicted version from mirror image warehouse.Server passes through
Jmeter mirror image, then need not remove the environment of setting such as Java Virtual Machine and property file again, and only need to be absorbed in creation
Test script and test resource, such as data file.One Jmeter mirror image includes script all in test assignment, according to
The corresponding relationship of test assignment and test script name selects Jmeter of the Jmeter mirror image of a certain version as predicted version
Mirror image.Jmeter mirror image does not filter the command parameter of any Jmeter, allows plurality of operating modes, in the distribution based on container
Under formula mode, which can be used to build up container cluster.For example, server services (containers as by container
A service, CAAS) platform configuration management be arranged Jmeter mirror image, configured template is disposed.CAAS is a kind of
It is responsible for the application environment for managing and protecting by IT, the virtualization based on container can be passed through by CAAS building and application deployment
Management and deployment Jemeter container distributed type assemblies.
102, when host node receives test starting command, by host node to it is each from node send it is corresponding
Test script;
When host node receives test starting command, server is respectively corresponded to by host node to each send from node
Test script.Specifically, server sets host node to the client of remote method invocation;Server by it is each from
Node is set as the server end of RMI;When host node receives test starting command, server executes test by host node
Plan, which includes total test data and test script;Server parse host node control list, obtain it is each from
The corresponding configuration information of node;Server splits total test data from the corresponding configuration information of node according to each, obtains
To each from the corresponding test data of node;Server is according to each from the corresponding test data replacement test script of node
Keyword obtains corresponding test script;Server is respectively right to each from node push in a manner of RMI by host node
The test script answered.For example, number of concurrent be 700 test request data, distributed node include host node A and from node B, C,
D and E, server are calculated according to from the respective configuration information situation of node B, C, D and E, and server is distributed from node B, C, D
Test request data with E are respectively 180,170,190 and 160, and server will include corresponding survey by host node A
The test script of examination request data is sent to from node B, C, D and E.
It should be noted that remote method call (remote method invocation, RMI) be it is a kind of for realizing
The application programming interface of remote procedure call, the program run in support client can call pair on remote server
As, that is, be stored between the program level object in different address space and communicate with each other, RMI characteristic is supported in network environment
Middle distributed operation.RMI includes the server for running remote method call service and the client of operation remote method call service
End.For example, setting includes client of the host node A of Jmeter application as RMI, setting includes the slave node of Jmeter application
B, the server that C, D and E are serviced as RMI, host node A and is communicated by way of RMI between node B, C, D and E.
103, when it is each receive corresponding test script from node when, by it is each from node carry out performance survey
Examination, obtains corresponding test result;
When it is each receive corresponding test script from node when, server by it is each from node carry out performance survey
Examination, obtains corresponding test result.Specifically, when it is each receive corresponding test script from node when, service
Device parses corresponding test script from node by each, obtains corresponding test request;By each from node
Corresponding test request is executed, corresponding test result is obtained;It is each respectively right from nodes records that server passes through
The test result answered.
It should be noted that performance testing index includes number of concurrent, average response duration, success rate, each second is requested to be asked
It asks or the number of concurrent of transactions, i.e. QPS/TPS.Wherein, QPS/TPS and the relationship of number of concurrent and average response time are
QPS/TPS is equal to number of concurrent and is divided by with average response time.A system for example, working is registered, 9 points of workings in morning, from 8 thirty
Into 9 points of 30 minutes durations, user can log in the system of registering and register.Company personnel is 2000 people, on average every zooid
Log in register system when it is 5 minutes a length of, specific calculating process is to be converted to 30 minutes 1800 seconds, QPS be 2000 divided by
1800, average response time is 3 minutes, and being scaled the second is 180 seconds, then the number of concurrent being calculated is 200.
104, host node is sent by corresponding test result from node by each;
Server sends host node for corresponding test result from node by each.Specifically, server is logical
Cross it is each receive corresponding test result from node, server by it is each will be respective right with RMI method of service from node
The test result answered is sent to host node, while each from the corresponding test result of nodes records, corresponding survey
Test result is the test request under same test plan, but corresponding test result is not identical, this is corresponding
Test result includes proper testing data result and abnormality test data result.
105, corresponding test result is counted by host node, obtains the performance test results.
Server counts corresponding test result by host node, obtains the performance test results.Specifically, server
Receive each corresponding test result from node by host node, server according to preset statistics script to it is each from
Corresponding test result of node is calculated and is classified, and the performance test results are obtained.
In the embodiment of the present invention, Version Control is carried out to Jmeter mirror image by mirror image warehouse, supports version rollback, simultaneously
It using the distributed node deployment Jmeter mirror image based on container and is tested for the property, process will not mutual shadow between container
It rings, computing resource can be distinguished, and relative to virtual machine, container energy rapid deployment.Due to container and bottom facilities and machine text
Part system is decoupling, can be migrated between different clouds and different editions operating system, and deployment process is simplified, and improves test
Efficiency.
Referring to Fig. 2, another embodiment of the distributed performance test method in the embodiment of the present invention based on Jmeter
Include:
201, the Jmeter mirror image of predicted version is selected from mirror image warehouse;
Server selects the Jmeter mirror image of predicted version from mirror image warehouse, and mirror image is one and contains software and necessity
The elastic cloud Server template of configuration includes at least operating system, can also include application software and privately owned software, for example, answering
It include database software with software.Mirror image is divided into public mirror image and privately owned mirror image, and public mirror image is the mirror image that system default provides,
Privately owned mirror image is the mirror image of user's creation.For example, mirror image may take comprising Web if application program is website or Web service
Business device, associated static content and dynamic page code, after creating elastic Cloud Server by the mirror image, Web server will be opened
It is dynamic, and application program is ready for receiving request.
It should be noted that server selects the Jmeter mirror image of predicted version from mirror image warehouse.Server passes through
Jmeter mirror image, then need not remove the environment of setting such as Java Virtual Machine and property file again, and only need to be absorbed in creation
Test script and test resource, such as data file.One Jmeter mirror image includes script all in test assignment, according to
The corresponding relationship of test assignment and test script name selects Jmeter of the Jmeter mirror image of a certain version as predicted version
Mirror image.Jmeter mirror image does not filter the command parameter of any Jmeter, allows plurality of operating modes, in the distribution based on container
Under formula mode, which can be used to build up container cluster.
Optionally, the Jmeter mirror image of predicted version is uploaded to mirror image warehouse by server, which is storage
The warehouse of docker mirror image is not limited to Jmeter mirror image, is divided into publicly-owned warehouse and privately owned warehouse;Server passes through the side of labelling
Formula carries out version management to the Jmeter mirror image of predicted version, and version management is exactly the Jmeter mirror image root to different test assignments
It labels according to presetting rule, same test assignment can also have different branch and label, simultaneously according to the difference of test script
Version rollback is also supported after the deployment of Jmeter mirror image, keeps test deployment more convenient.
202, ECS example is serviced by elastic calculation and distributed node is set, which includes a host node
With at least one from node;
Server services ECS example by elastic calculation and distributed node is arranged, which includes a main section
Point and at least one from node.The distributed node is communicated by one group by network, in order to complete common task
The system of the computer node composition of co-ordination.The appearance of distributed node is in order to complete with cheap and common machine
At the impossible calculating of single computer, store tasks.For example, server services (containers as a by container
Service, CAAS) platform configuration management be arranged Jmeter mirror image, configured template is disposed.CAAS be it is a kind of by
IT is responsible for the application environment for managing and protecting, and can pass through the virtualization pipe based on container by CAAS building and application deployment
Reason and deployment Jemeter container distributed type assemblies.
It should be noted that server is dynamically adjusted according to the number of concurrent of performance testing index from section in actual deployment
Point quantity, for example, the number of concurrent of performance testing index is 1000, it is each 200 from the maximum number of concurrent of node, then at least needing
Want 5 from node.
203, judge host node and each Jmeter mirror image that predicted version whether is existed simultaneously from node;
Server judges host node and each Jmeter mirror image that predicted version whether is existed simultaneously from node, specifically,
Server judge host node and it is each from node specified directory whether comprising target mirror image installation file, if host node and each
Target mirror image installation file is not included from node specified directory, it is determined that do not exist simultaneously the Jmeter mirror image of predicted version;
If host node and it is each from node specified directory include target mirror image installation file, read target mirror image installation file, obtain
To version number;Judge version number whether the version numbers match with the Jmeter mirror image of predicted version, if Jmeter mirror image installation text
The version numbers match of the Jmeter mirror image of the version number and predicted version of part, it is determined that there are the Jmeter mirror images of predicted version;
If the version number of the Jmeter mirror image of version number and predicted version mismatches, it is determined that do not exist simultaneously the Jmeter of predicted version
Mirror image.For example, from node B, the version number in target mirror image installation file is j20190122, while predicted version
The version number of Jmeter mirror image is j20190123, then the version number and predicted version in target mirror image installation file
The version number of Jmeter mirror image mismatches, then the Jmeter mirror image of predicted version is not present from node B.
If 204, host node and each Jmeter mirror image for not existing simultaneously predicted version from node, pass through preset mode
The Jmeter mirror image for disposing predicted version obtains deployment result;
If host node and each Jmeter mirror image for not existing simultaneously predicted version from node, disposed by preset mode
The Jmeter mirror image of predicted version is disposed as a result, specifically, if host node and each not existing simultaneously prediction version from node
This Jmeter mirror image, then the Jmeter mirror image of predicted version is deployed in ECS example by server, obtains Jmeter application;
Server runs Jmeter application by container docker;Server is by each control list for being added to host node from node
In;The Jmeter of Server Restart host node is applied, and obtains deployment result.Wherein, an ECS example is equal to one virtually
Machine, the computation module comprising the basis such as CPU, memory, operating system, network and disk, according to business scenario and usage scenario,
ECS example can be there are many specification race.Under same business scenario, it is also an option that new and old plurality of specifications race.The same specification
It, can be there are many different specifications according to the configuration of CPU and memory in race.The ECS example specification CPU of example and
The configuration of memory, including CPU model and dominant frequency etc..
Optionally, server judges deployment the result is that no for target value, and target value indicates successful deployment predicted version
Jmeter mirror image;If disposing result is not target value, server redeploys the Jmeter mirror image of predicted version;If deployment knot
Fruit is target value, it is determined that deployment success.Specifically, server passes through kubernetes platform inquiry deployment Jmeter mirror image
State, and judge whether Jmeter mirror image deployment succeeds accordingly.Wherein, kubernetes is that the container layout of an open source is drawn
It holds up, it supports automatically dispose, extensive scalable and application container management.An application program is disposed in production environment
When, to dispose multiple examples of the application usually to carry out load balancing to application request.For example, being created in kubernetes
Multiple containers are built, each receptacle runs a Jmeter application and realizes by built-in load balancing to this group
The management and access of Jmeter application.
If 205, host node and each Jmeter mirror image for existing simultaneously predicted version from node, it is determined that deployment success;
If host node and each Jmeter mirror image for existing simultaneously predicted version from node, server determination is deployed to
Function.Specifically, the Jmeter that server loops through deployment predicted version is mirrored to host node and each from node, and arrange one by one
Deployment is looked into as a result, executing step 206 after whole deployment success.
206, when host node receives test starting command, by host node to it is each from node send it is corresponding
Test script;
When host node receives test starting command, server is respectively corresponded to by host node to each send from node
Test script.Specifically, server sets host node to the client of remote method invocation;Server by it is each from
Node is set as the server end of RMI;When host node receives test starting command, server executes test by host node
Plan, which includes total test data and test script;Server parse host node control list, obtain it is each from
The corresponding configuration information of node;Server splits total test data from the corresponding configuration information of node according to each, obtains
To each from the corresponding test data of node;Server is according to each from the corresponding test data replacement test script of node
Keyword obtains corresponding test script, for example, being expanded according to test script 1 corresponding from node come each
Test script 2,3,4 and 5, the test assignment that corresponding test script 2,3,4 and 5 executes is identical, and only test data has
Institute is different;Server pushes corresponding test script from node to each in a manner of RMI by host node.Wherein, main section
Point and each from being communicated between node, but it is each between node from each other and without communication.For example, number of concurrent
For 700 test request, distributed node includes host node A and from node B, C, D and E, server according to from node B, C, D and
The configuration information situation of E is calculated, server distribution from the respective test request quantity of node B, C, D and E be respectively 180,
170,190 and 160, server by host node A by include the test request quantity corresponding test script send
To from node B, C, D and E.
It should be noted that remote method call (remote method invocation, RMI) be it is a kind of for realizing
The application programming interface of remote procedure call, the program run in support client can call pair on remote server
As, that is, be stored between the program level object in different address space and communicate with each other, RMI characteristic is supported in network environment
Middle distributed operation.RMI includes the server for running remote method call service and the client of operation remote method call service
End.For example, the setting host node A client of RMI the most, is arranged the server from node B, C, D and E as RMI, host node A
And it is communicated by way of RMI between node B, C, D and E.
207, when it is each receive corresponding test script from node when, by it is each from node carry out performance survey
Examination, obtains corresponding test result;
When it is each receive corresponding test script from node when, server by it is each from node carry out performance survey
Examination, obtains corresponding test result.Specifically, when it is each receive corresponding test script from node when, service
Device parses corresponding test script from node by each, obtains corresponding test request;By each from node
Corresponding test request is executed, corresponding test result is obtained;It is each respectively right from nodes records that server passes through
The test result answered, for example, corresponding test result is recorded in database or specified catalogue file, it is specific this
Place is without limitation.
It should be noted that performance testing index includes number of concurrent, average response duration, success rate, each second is requested to be asked
It asks or the number of concurrent of transactions, i.e. QPS/TPS.Wherein, QPS/TPS and the relationship of number of concurrent and average response time are
QPS/TPS is equal to number of concurrent and is divided by with average response time.A system for example, working is registered, 9 points of workings in morning, from 8 thirty
Into 9 points of 30 minutes durations, user can log in the system of registering and register.Company personnel is 2000 people, on average every zooid
Log in register system when it is 5 minutes a length of, specific calculating process is to be converted to 30 minutes 1800 seconds, QPS be 2000 divided by
1800, average response time is 3 minutes, and being scaled the second is 180 seconds, then the number of concurrent being calculated is 200.
208, host node is sent by corresponding test result from node by each;
Server sends host node for corresponding test result from node by each.Specifically, server is logical
Cross it is each receive corresponding test result from node, server by it is each will be respective right with RMI method of service from node
The test result answered is sent to host node, which is the test request under same test plan, still
Corresponding test result is not identical.The test result includes proper testing data and abnormality test data.For example, from section
The corresponding test request quantity of point B, C, D and E is 180,170,190 and 160, then the number of corresponding test result
Amount is also 180,170,190 and 160.
209, corresponding test result is counted by host node, obtains the performance test results.
Server counts corresponding test result by host node, obtains the performance test results.Specifically, server
Receive each corresponding test result from node by host node, server according to preset statistics script to it is each from
Corresponding test result of node is calculated and is classified, and the performance test results are obtained.Further, server passes through master
The Jmeter of node is applied and is shown to the performance test results.
It should be noted that each gulping down measurement and user's request to the consumption tight association of CPU from node.Single user
Request is higher to CPU consumption, each lower from the handling capacity of node, that is, the number of concurrent handled is fewer.
In the embodiment of the present invention, Version Control is carried out to Jmeter mirror image by mirror image warehouse, supports version rollback, simultaneously
It using the distributed node deployment Jmeter mirror image based on container and is tested for the property, process will not mutual shadow between container
It rings, computing resource can be distinguished, and relative to virtual machine, container energy rapid deployment.Due to container and bottom facilities and machine text
Part system is decoupling, can be migrated between different clouds and different editions operating system, and deployment process is simplified, and improves test
Efficiency.
The distributed performance test method in the embodiment of the present invention based on Jmeter is described above, below to this
Distributed performance test device in inventive embodiments based on Jmeter is described, referring to Fig. 3, base in the embodiment of the present invention
Include: in distributed performance test device one embodiment of Jmeter
Deployment unit 301, for the Jmeter mirror image of predicted version to be deployed to distributed node, the distributed node packet
Include a host node and at least one from node;
Control unit 302, when host node receives test starting command, for being sent out to each from node by host node
Send corresponding test script;
Test cell 303, when it is each receive corresponding test script from node when, for by each from node
It is tested for the property, obtains corresponding test result;
Transmission unit 304, for sending host node for corresponding test result from node by each;
Statistic unit 305 obtains the performance test results for counting corresponding test result by host node.
In the embodiment of the present invention, Version Control is carried out to Jmeter mirror image by mirror image warehouse, supports version rollback, simultaneously
It using the distributed node deployment Jmeter mirror image based on container and is tested for the property, process will not mutual shadow between container
It rings, computing resource can be distinguished, and relative to virtual machine, container energy rapid deployment.Due to container and bottom facilities and machine text
Part system is decoupling, can be migrated between different clouds and different editions operating system, and deployment process is simplified, and improves test
Efficiency.
Referring to Fig. 4, another embodiment of the distributed performance test device in the embodiment of the present invention based on Jmeter
Include:
Deployment unit 301, for the Jmeter mirror image of predicted version to be deployed to distributed node, the distributed node packet
Include a host node and at least one from node;
Control unit 302, when host node receives test starting command, for being sent out to each from node by host node
Send corresponding test script;
Test cell 303, when it is each receive corresponding test script from node when, for by each from node
It is tested for the property, obtains corresponding test result;
Transmission unit 304, for sending host node for corresponding test result from node by each;
Statistic unit 305 obtains the performance test results for counting corresponding test result by host node.
Optionally, deployment unit 301 can also further comprise:
Subelement 3011 is selected, for selecting the Jmeter mirror image of predicted version from mirror image warehouse;
Subelement 3012 is set, distributed node, distributed node packet are set for servicing ECS example by elastic calculation
Include a host node and at least one from node;
First judgment sub-unit 3013, for judging host node and each whether existing simultaneously predicted version from node
Jmeter mirror image;
Subelement 3014 is disposed, if host node and each Jmeter mirror image for not existing simultaneously predicted version from node,
For disposing the Jmeter mirror image of predicted version by preset mode, deployment result is obtained;
Subelement 3015 is confirmed, if host node and each Jmeter mirror image for existing simultaneously predicted version from node, are used
In determining deployment success.
Optionally, deployment subelement 3014 can also be specifically used for:
If host node and each Jmeter mirror image for not existing simultaneously predicted version from node, by predicted version
Jmeter mirror image is deployed in ECS example, obtains Jmeter application;
Jmeter application is run by container docker;
It is each to match from node is corresponding by each from the control list that the corresponding configuration information of node is added to host node
Confidence breath includes corresponding IP address and corresponding port;
The Jmeter application for restarting host node, obtains deployment result.
Optionally, deployment unit 301 can also further comprise:
Second judgment sub-unit 3016, for judging deployment the result is that no for target value, which is used to indicate success
Dispose the Jmeter mirror image of predicted version;
First processing subelement 3017, if deployment result is not target value, for redeploying;
Second processing subelement 3018, if deployment result is target value, for determining deployment success.
Optionally, control unit 302 can also be specifically used for:
Set host node to the client of remote method invocation;
By each server end for being set as RMI from node;
When host node receives test starting command, test plan is executed by host node, which includes total
Test data and test script;
The control list for parsing host node, obtains each from the corresponding configuration information of node;
Total test data is split from the corresponding configuration information of node according to each, is obtained each corresponding from node
Test data;
According to each keyword from the corresponding test data replacement test script of node, corresponding test is obtained
Script;
Corresponding test script is pushed from node to each in a manner of RMI by host node.
Optionally, test cell 303 can also be specifically used for:
When it is each receive corresponding test script from node when, parse corresponding survey from node by each
Training sheet obtains corresponding test request;
Corresponding test request is executed from node by each, obtains corresponding test result.
Optionally, the distributed performance test device based on Jmeter can further include:
Uploading unit 306, for the Jmeter mirror image of predicted version to be uploaded to mirror image warehouse;
Administrative unit 307, for carrying out version management by Jmeter mirror image of the mode of labelling to predicted version.
In the embodiment of the present invention, Version Control is carried out to Jmeter mirror image by mirror image warehouse, supports version rollback, simultaneously
It using the distributed node deployment Jmeter mirror image based on container and is tested for the property, process will not mutual shadow between container
It rings, computing resource can be distinguished, and relative to virtual machine, container energy rapid deployment.Due to container and bottom facilities and machine text
Part system is decoupling, can be migrated between different clouds and different editions operating system, and deployment process is simplified, and improves test
Efficiency.
Above figure 3 and Fig. 4 are from the angle of modular functionality entity to the distribution based on Jmeter in the embodiment of the present invention
Formula performance testing device is described in detail, and is divided based on Jmeter from the angle of hardware handles in the embodiment of the present invention below
Cloth performance test apparatus is described in detail.
Fig. 5 is a kind of structural representation of distributed performance test equipment based on Jmeter provided in an embodiment of the present invention
Figure, bigger difference can be generated because configuration or performance are different by being somebody's turn to do the distributed performance test equipment 500 based on Jmeter, can
With include one or more processors (central processing units, CPU) 501 (for example, one or one with
Upper processor) and memory 509, one or more storage application programs 509 or data 509 storage medium 508 (such as
One or more mass memory units).Wherein, memory 509 and storage medium 508 can be of short duration storage or persistently deposit
Storage.The program for being stored in storage medium 508 may include one or more modules (diagram does not mark), and each module can be with
Including being operated to the series of instructions in the distributed performance test based on Jmeter.Further, processor 501 can be set
It is set to and is communicated with storage medium 508, executed in storage medium 508 in the distributed performance test equipment 500 based on Jmeter
Series of instructions operation.
Distributed performance test equipment 500 based on Jmeter can also include one or more power supplys 502, one
Or more than one wired or wireless network interface 503, one or more input/output interfaces 504, and/or, one or one
A above operating system 505, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD etc..This field skill
Art personnel are appreciated that the distributed performance test equipment structure based on Jmeter shown in Fig. 5 is not constituted to being based on
The restriction of the distributed performance test equipment of Jmeter may include components more more or fewer than diagram, or combine certain
Component or different component layouts.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory,
ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of distributed performance test method based on Jmeter characterized by comprising
The Jmeter mirror image of predicted version is deployed to distributed node, the distributed node is including a host node and at least
One from node;
When the host node receives test starting command, by the host node to it is each from node send it is corresponding
Test script;
When it is each receive corresponding test script from node when, be tested for the property, obtained from node by each
To corresponding test result;
The host node is sent by corresponding test result from node by each;
Corresponding test result is counted by the host node, obtains the performance test results.
2. the distributed performance test method according to claim 1 based on Jmeter, which is characterized in that described to predict
The Jmeter mirror image of version is deployed to distributed node, the distributed node include a host node and at least one from node
Include:
The Jmeter mirror image of predicted version is selected from mirror image warehouse;
ECS example being serviced by elastic calculation, the distributed node being set, the distributed node includes one main section
Point and it is described at least one from node;
Judge the host node and each Jmeter mirror image that the predicted version whether is existed simultaneously from node;
If the host node and each Jmeter mirror image for not existing simultaneously the predicted version from node, pass through preset mode
The Jmeter mirror image for disposing the predicted version obtains deployment result;
If the host node and each Jmeter mirror image for existing simultaneously the predicted version from node, it is determined that deployment success.
3. the distributed performance test method according to claim 2 based on Jmeter, which is characterized in that if described
Host node and each Jmeter mirror image for not existing simultaneously the predicted version from node, then disposed described pre- by preset mode
The Jmeter mirror image for surveying version, obtaining deployment result includes:
If the host node and each Jmeter mirror image for not existing simultaneously the predicted version from node, by the prediction version
This Jmeter mirror image is deployed in the ECS example, obtains Jmeter application;
The Jmeter application is run by container docker;
It is described each corresponding from node by each from the control list that the corresponding configuration information of node is added to the host node
Configuration information include corresponding IP address and corresponding port;
The Jmeter application for restarting the host node, obtains deployment result.
4. the distributed performance test method according to claim 2 based on Jmeter, which is characterized in that if described
Host node and each Jmeter mirror image for not existing simultaneously the predicted version from node, then disposed described pre- by preset mode
The Jmeter mirror image for surveying version, after obtaining deployment result, the distributed performance test method based on Jmeter further include:
Judge whether the deployment result is target value, and the target value is used to indicate predicted version described in successful deployment
Jmeter mirror image;
If the deployment result is not the target value, redeploy;
If the deployment result is the target value, it is determined that deployment success.
5. the distributed performance test method according to claim 3 based on Jmeter, which is characterized in that described when described
When host node receives test starting command, corresponding test script packet is sent from node to each by the host node
It includes:
Set the host node to the client of remote method invocation;
By each server for being set as the RMI from node;
When the host node receives test starting command, test plan, the test plan are executed by the host node
Including total test data and test script;
The control list for parsing the host node obtains described each from the corresponding configuration information of node;
According to it is described it is each total test data is split from the corresponding configuration information of node, obtain each from node pair
The test data answered;
According to it is described it is each replace the keyword in the test script from the corresponding test data of node, obtain it is described respectively it is right
The test script answered;
Corresponding test script is pushed from node to each in a manner of the RMI by the host node.
6. the distributed performance test method according to claim 5 based on Jmeter, which is characterized in that described when each
When receiving corresponding test script from node, it is tested for the property by each from node, is respectively corresponded to
Test result include:
When it is each receive corresponding test script from node when, parse the respective correspondence from node by each
Test script, obtain corresponding test request;
Corresponding test request is executed from node by each, obtains corresponding test result;
By each from corresponding test result described in nodes records.
7. the distributed performance test method according to any one of claim 1 to 6 based on Jmeter, feature exist
In, it is described that the Jmeter mirror image of predicted version is deployed to distributed node, the distributed node include a host node and
At least one is before node, the distributed performance test method based on Jmeter further include:
The Jmeter mirror image of the predicted version is uploaded into the mirror image warehouse;
Version management is carried out by Jmeter mirror image of the mode of labelling to the predicted version.
8. a kind of distributed performance test device based on Jmeter, which is characterized in that the distribution based on Jmeter
Can test device include:
Deployment unit, for the Jmeter mirror image of predicted version to be deployed to distributed node, the distributed node includes one
A host node and at least one from node;
Control unit, when the host node receives test starting command, for passing through the host node to each from node
Send corresponding test script;
Test cell, when it is each receive corresponding test script from node when, for by it is each from node into
Row performance test obtains corresponding test result;
Transmission unit, for sending the host node for corresponding test result from node by each;
Statistic unit obtains the performance test results for counting corresponding test result by the host node.
9. a kind of distributed performance test equipment based on Jmeter, which is characterized in that the distribution based on Jmeter
Can test equipment include: memory and at least one processor, be stored with instruction in the memory, the memory and described
At least one processor is interconnected by route;
At least one described processor calls the described instruction in the memory, so that the distribution based on Jmeter
Performance test apparatus executes the method as described in any one of claim 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program
It is realized when being executed by processor such as the step of any one of claim 1-7 the method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910523487.4A CN110417613B (en) | 2019-06-17 | 2019-06-17 | Distributed performance testing method, device, equipment and storage medium based on Jmeter |
PCT/CN2019/119070 WO2020253079A1 (en) | 2019-06-17 | 2019-11-18 | Jmeter-based distributed performance test method and apparatus, device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910523487.4A CN110417613B (en) | 2019-06-17 | 2019-06-17 | Distributed performance testing method, device, equipment and storage medium based on Jmeter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110417613A true CN110417613A (en) | 2019-11-05 |
CN110417613B CN110417613B (en) | 2022-11-29 |
Family
ID=68359200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910523487.4A Active CN110417613B (en) | 2019-06-17 | 2019-06-17 | Distributed performance testing method, device, equipment and storage medium based on Jmeter |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110417613B (en) |
WO (1) | WO2020253079A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110727570A (en) * | 2019-10-11 | 2020-01-24 | 重庆紫光华山智安科技有限公司 | Concurrent pressure measurement method and related device |
CN111078516A (en) * | 2019-11-26 | 2020-04-28 | 支付宝(杭州)信息技术有限公司 | Distributed performance test method and device and electronic equipment |
CN111400192A (en) * | 2020-04-02 | 2020-07-10 | 北京达佳互联信息技术有限公司 | Service program performance testing method and device, electronic equipment and storage medium |
CN111817913A (en) * | 2020-06-30 | 2020-10-23 | 北京红山信息科技研究院有限公司 | Distributed network performance test method, system, server and storage medium |
CN111858352A (en) * | 2020-07-22 | 2020-10-30 | 中国平安财产保险股份有限公司 | Method, device, equipment and storage medium for automatic test monitoring |
WO2020253079A1 (en) * | 2019-06-17 | 2020-12-24 | 平安科技(深圳)有限公司 | Jmeter-based distributed performance test method and apparatus, device, and storage medium |
CN112346979A (en) * | 2020-11-11 | 2021-02-09 | 杭州飞致云信息科技有限公司 | Software performance testing method, system and readable storage medium |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596750B (en) * | 2020-12-28 | 2022-04-26 | 上海安畅网络科技股份有限公司 | Application testing method and device, electronic equipment and computer readable storage medium |
CN112817858B (en) * | 2021-02-05 | 2024-04-19 | 深圳市世强元件网络有限公司 | Method and computer equipment for batch generation of test data based on Jmeter |
CN113204410B (en) * | 2021-05-31 | 2024-01-30 | 平安科技(深圳)有限公司 | Container type localization deployment method, system, equipment and storage medium |
CN113704358A (en) * | 2021-09-02 | 2021-11-26 | 湖南麒麟信安科技股份有限公司 | Distributed task cooperative processing method and device and computer equipment |
CN114116487B (en) * | 2021-11-29 | 2024-03-15 | 北京百度网讯科技有限公司 | Pressure testing method and device, electronic equipment and storage medium |
CN114546852B (en) * | 2022-02-21 | 2024-04-09 | 北京百度网讯科技有限公司 | Performance test method and device, electronic equipment and storage medium |
CN117234827B (en) * | 2023-11-14 | 2024-02-13 | 武汉凌久微电子有限公司 | Multi-platform automatic test method and system based on domestic graphic processor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105471675A (en) * | 2015-11-20 | 2016-04-06 | 浪潮电子信息产业股份有限公司 | Method and system of testing nodes in batches |
CN107688526A (en) * | 2017-08-25 | 2018-02-13 | 上海壹账通金融科技有限公司 | Performance test methods, device, computer equipment and the storage medium of application program |
CN108038013A (en) * | 2017-11-30 | 2018-05-15 | 海尔优家智能科技(北京)有限公司 | Distributed performance test method and device and computer-readable recording medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI476586B (en) * | 2011-07-13 | 2015-03-11 | Inst Information Industry | Cloud-based test system, method and computer readable storage medium storing thereof |
CN106936636B (en) * | 2017-03-15 | 2019-08-30 | 无锡华云数据技术服务有限公司 | A kind of implementation method of the cloud computing test platform of rapid deployment containerization |
CN109739744B (en) * | 2018-12-05 | 2022-04-22 | 北京奇艺世纪科技有限公司 | Test system and method |
CN110417613B (en) * | 2019-06-17 | 2022-11-29 | 平安科技(深圳)有限公司 | Distributed performance testing method, device, equipment and storage medium based on Jmeter |
-
2019
- 2019-06-17 CN CN201910523487.4A patent/CN110417613B/en active Active
- 2019-11-18 WO PCT/CN2019/119070 patent/WO2020253079A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105471675A (en) * | 2015-11-20 | 2016-04-06 | 浪潮电子信息产业股份有限公司 | Method and system of testing nodes in batches |
CN107688526A (en) * | 2017-08-25 | 2018-02-13 | 上海壹账通金融科技有限公司 | Performance test methods, device, computer equipment and the storage medium of application program |
CN108038013A (en) * | 2017-11-30 | 2018-05-15 | 海尔优家智能科技(北京)有限公司 | Distributed performance test method and device and computer-readable recording medium |
Non-Patent Citations (1)
Title |
---|
刘钱超等: "基于容器技术的软件测试优化研究", 《计算机技术与发展》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020253079A1 (en) * | 2019-06-17 | 2020-12-24 | 平安科技(深圳)有限公司 | Jmeter-based distributed performance test method and apparatus, device, and storage medium |
CN110727570A (en) * | 2019-10-11 | 2020-01-24 | 重庆紫光华山智安科技有限公司 | Concurrent pressure measurement method and related device |
CN111078516A (en) * | 2019-11-26 | 2020-04-28 | 支付宝(杭州)信息技术有限公司 | Distributed performance test method and device and electronic equipment |
CN111400192A (en) * | 2020-04-02 | 2020-07-10 | 北京达佳互联信息技术有限公司 | Service program performance testing method and device, electronic equipment and storage medium |
CN111817913A (en) * | 2020-06-30 | 2020-10-23 | 北京红山信息科技研究院有限公司 | Distributed network performance test method, system, server and storage medium |
CN111817913B (en) * | 2020-06-30 | 2022-05-17 | 北京红山信息科技研究院有限公司 | Distributed network performance test method, system, server and storage medium |
CN111858352A (en) * | 2020-07-22 | 2020-10-30 | 中国平安财产保险股份有限公司 | Method, device, equipment and storage medium for automatic test monitoring |
CN111858352B (en) * | 2020-07-22 | 2024-04-05 | 中国平安财产保险股份有限公司 | Method, device, equipment and storage medium for automatic test monitoring |
CN112346979A (en) * | 2020-11-11 | 2021-02-09 | 杭州飞致云信息科技有限公司 | Software performance testing method, system and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110417613B (en) | 2022-11-29 |
WO2020253079A1 (en) | 2020-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110417613A (en) | Distributed performance test method, device, equipment and storage medium based on Jmeter | |
CN105308576B (en) | It is determined that the performance capability with monitoring computer resource service | |
US10733010B2 (en) | Methods and systems that verify endpoints and external tasks in release-pipeline prior to execution | |
US8903996B2 (en) | Operating cloud computing services and cloud computing information system | |
CN108388472A (en) | A kind of elastic task scheduling system and method based on Docker clusters | |
CN104978258B (en) | Automatic software test method and system | |
CN110083455B (en) | Graph calculation processing method, graph calculation processing device, graph calculation processing medium and electronic equipment | |
CN103051710A (en) | Virtual cloud platform management system and method | |
CN108243012B (en) | Charging application processing system, method and device in OCS (online charging System) | |
WO2006094176A1 (en) | Automated discovery and inventory of nodes within an autonomic distributed computing system | |
CN110392882A (en) | It is created in batches in the network for including virtualization network function by pipe function | |
US8489700B2 (en) | Analysis of nodal affinity behavior | |
US11159604B2 (en) | Processing an operation with a plurality of processing steps | |
CN109075986A (en) | A kind of management method and relevant device of network function example | |
CN110515628A (en) | Application deployment method and device | |
CN112463561B (en) | Fault positioning method, device, equipment and storage medium | |
US20210286647A1 (en) | Embedded persistent queue | |
CN109597764A (en) | A kind of test method and relevant apparatus of catalogue quota | |
JP2005309838A (en) | Information management system and information management method, and information management sub-system therefor | |
CN117596247A (en) | Resource monitoring and performance evaluation method based on heterogeneous edge computing system | |
CN111666034A (en) | Container cluster disk management method and device | |
CN110196751A (en) | The partition method and device of mutual interference service, electronic equipment, storage medium | |
CN109005071A (en) | A kind of decision and deployment method and controlling equipment | |
CN104754040A (en) | A system used for end-to-end cloud service virtualization | |
CN110781001B (en) | Kubernetes-based container environment variable checking method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |