CN109062820A - A kind of software performance testing method and device - Google Patents

A kind of software performance testing method and device Download PDF

Info

Publication number
CN109062820A
CN109062820A CN201811315794.5A CN201811315794A CN109062820A CN 109062820 A CN109062820 A CN 109062820A CN 201811315794 A CN201811315794 A CN 201811315794A CN 109062820 A CN109062820 A CN 109062820A
Authority
CN
China
Prior art keywords
node
software
dummy node
calculate
calculate 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.)
Pending
Application number
CN201811315794.5A
Other languages
Chinese (zh)
Inventor
段国栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811315794.5A priority Critical patent/CN109062820A/en
Publication of CN109062820A publication Critical patent/CN109062820A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The invention discloses a kind of software performance testing methods, comprising: calculate node creates N number of dummy node;Each dummy node and management end are established and are connected to the network;Calculate node receiver management terminal executes the start-up parameter of software test, according to dummy node needed for start-up parameter selection, and indicates that each selected dummy node executes software document respectively, obtains performance data when executing;Wherein, which includes: the quantity of software document and required dummy node to be tested.Scheme through the invention realizes large-scale software performance test, meets the needs of software performance test instantly.

Description

A kind of software performance testing method and device
Technical field
The present invention relates to measuring technology, espespecially a kind of software performance testing method and device.
Background technique
It becoming increasingly complex since operation system is increasingly huge, and along with high-performance calculation, performance requirement is higher and higher, So subsequent support cluster scale requires the management performance of corresponding software with regard to higher and higher, still in this way with regard to increasing In actual software exploitation, to the test request for being extremely difficult to such scale is tested under environment, such problems leads to software test It is difficult to reach requirement in aspect of performance, is to obtain the performance data of certain scale by calculating under normal circumstances, it is practical soft Part really uses under large scale scene, can generally expose some performance issues, at this moment needs to start at the scene to modify software, The problem of bringing in this way is exactly that the use feeling of client is bad.Therefore, it is necessary to this large-scale performance test problem soft It solves, which cannot be taken in actual production environment in part testing process.
It is directed to the problems of above-mentioned, existing ask can solve by the extensive performance test of software Topic;But how to realize the extensive performance test of software, existing solution still needs into actual build environment to test Card, but the result of this method is exactly one times of increased costs.Therefore, how to realize under the premise of not increasing hardware cost, Realizing that a set of extensive Performance Test System meets production environment instantly and carries out software performance test in cluster scale is urgently Problem to be solved.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of software performance testing method and devices, may be implemented Large-scale software performance test, the needs of meeting production environment instantly and carry out software test in cluster scale.
In order to reach the object of the invention, the present invention provides a kind of software performance testing methods, comprising:
Calculate node creates N number of dummy node, and N is the positive integer greater than 1;
Each dummy node and management end are established and are connected to the network;
The calculate node receives the start-up parameter that the management end executes software test, wherein the start-up parameter packet It includes: the quantity of software document and required dummy node to be tested;
The calculate node selects the virtual section of corresponding number according to the start-up parameter from N number of dummy node Point, and indicate that each selected dummy node executes the software document respectively, obtain performance data when executing.
In a kind of exemplary embodiment, it is described selected from N number of dummy node according to the start-up parameter it is corresponding After the dummy node of number, further includes:
When data acquisition need to be carried out by executing software test, indicate that each selected dummy node is built with the management end Vertical network connection, parallel execution of data acquisition operation.
In a kind of exemplary embodiment, the calculate node random selection be carrying out the dummy node of software document into Row reboot operation.
In a kind of exemplary embodiment, method further include:
When the calculate node receives the execution order of storage or write-in file, each selected virtual section is indicated Point successively executes storage or write-in file operation.
To solve the above-mentioned problems, the present invention also provides a kind of software performance testing methods, comprising:
Management end, which is sent, expands cluster instruction to one or more calculate nodes;Wherein, each calculate node belongs to one Network segment;
Each calculate node executes software performance test described in any one of embodiment of above-mentioned example respectively Method;Wherein, the virtual IP address for N number of dummy node that each calculate node is created is carried out according to the network segment of the calculate node It divides, virtual IP address the last byte of N number of dummy node is respectively each integer from 1 to N;
Management end obtains the performance data that each calculate node obtains.
To solve the above-mentioned problems, the present invention also provides a kind of software performance test devices, comprising: memory and processing Device;It is characterized by:
The memory, for saving the program for being used for software performance test;
The processor executes the program for being used for software performance test for reading, performs the following operations:
Calculate node creates N number of dummy node;N is the positive integer greater than 1;
Each dummy node and management end are established and are connected to the network;
The calculate node receives the start-up parameter that the management end executes software test, wherein the start-up parameter packet It includes: the quantity of software document and required dummy node to be tested;
The calculate node selects the virtual section of corresponding number according to the start-up parameter from N number of dummy node Point, and indicate that each selected dummy node executes the software document respectively, obtain performance data when executing.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
It is described according to the start-up parameter from N number of dummy node select corresponding number dummy node after, when When execution software test needs to carry out data acquisition, indicate that each selected dummy node and the management end establish network company It connects, parallel execution of data acquisition operation.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
The dummy node that the calculate node random selection is carrying out software document carries out reboot operation.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
When the calculate node receives the execution order of storage or write-in file, each selected virtual section is indicated Point successively executes storage or write-in file operation.
To solve the above-mentioned problems, the present invention also provides another software performance test systems, comprising: management end and one A or multiple calculate nodes;
Management end, which is sent, expands cluster instruction to one or more calculate nodes;Wherein, each calculate node belongs to one Network segment;
Each calculate node executes the dress of software performance test described in any one of software performance test device respectively It sets;Wherein, the virtual IP address for N number of dummy node that each calculate node is created, is drawn according to the network segment of the calculate node Point, virtual IP address the last byte of N number of dummy node is respectively each integer from 1 to N;
Management end obtains the performance data that each calculate node obtains.
Compared with prior art, the invention proposes a kind of software performance testing methods, which comprises calculate node Create N number of dummy node;Each dummy node and management end are established and are connected to the network;The calculate node receives the management end The start-up parameter for executing software test according to dummy node needed for start-up parameter selection, and indicates each selected Dummy node executes software document respectively, obtains performance data when executing;Wherein, the start-up parameter includes: to be tested The quantity of software document and required dummy node.Scheme through the invention realizes large-scale software performance test, meets Instantly production environment and in cluster scale carry out software test demand.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of the software performance testing method of the embodiment of the present invention;
Fig. 2 is the flow chart of the software performance testing method of further embodiment of this invention;
Fig. 3 is the schematic diagram of the software performance test device of the embodiment of the present invention;
Fig. 4 is the schematic diagram of the software performance test system of further embodiment of this invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
Fig. 1 is the flow chart of the software performance testing method of the embodiment of the present invention, according to the flow chart, the present embodiment it is soft Part performance test methods, comprising:
Step 100: calculate node creates N number of dummy node.
In the present embodiment, N is the positive integer greater than 1.
Extensive performance test, which refers to, realizes software test using large-scale cluster.When needing to be implemented large scope software performance When test, management end, which is sent, expands cluster instruction to one or more calculate nodes;Each calculate node creates N number of virtual section Point, wherein each calculate node belongs to a network segment;N number of dummy node of each calculate node is according to the calculate node N number of virtual IP address that network segment carries out each calculate node divides, wherein the value of IP is from 1 to N;One dummy node is one corresponding Virtual IP address.Each calculate node is according to the network interface card hardware of the bandwidth of network, network type and each calculate node physical host The combined factors analysis such as condition, determine that each calculate node can use the numerical value of the maximum dummy node N of extension.Such as: from net From the point of view of network type, if using Ethernet, the maximum expansible IP quantity N of each physical host, that is, each calculate node is 10 or so.
It is real if software testing environment cluster number to be tested is 30 calculate nodes in a kind of exemplary embodiment Scale number needed for border is 900 calculate nodes, according to the bandwidth of network, network type and each calculate node physical host The conditions comprehensive analysis such as the condition of network interface card hardware, the maximum value of N is 50;So according to the actual needs of required software to be tested With management end according to the applied scale number of user, each calculate node can be created into 30 dummy nodes, institute may be implemented The scale number needed is 900 calculate nodes.It almost can satisfy most cluster scale requirement in this way, saved by each calculating Point creates N number of dummy node, and the scale collection group energy simulated reaches the cluster scale of real build environment, so that performance test It is essentially the same with the test effect of actual build environment.
Step 101: each dummy node and management end being established and are connected to the network.
In the present embodiment, after calculate node creates N number of dummy node, each dummy node and management end are established into network Connection.The virtual IP address for N number of dummy node that each calculate node is created, is divided according to the network segment of the calculate node, Virtual IP address the last byte of N number of dummy node is respectively each integer from 1 to N;First three byte can be according to meter The network segment of operator node determines.
In a kind of exemplary embodiment, after management end sends the instruction being connected to the network, the calculate node will The binding of N number of dummy node virtual IP address is created, and attempts to establish with management end and be connected to the network for the first time.Wherein, each calculating Node can be a network segment, and each network segment is directly intercommunication, the dummy node of each calculate node creation it is virtual The division of IP is the maximum value N automatically since 1.That is, after each calculate node starts and is connected to the network, Mei Geji Just there is N number of network connecting request to management end on operator node.
Step 102: the calculate node receives the start-up parameter that the management end executes software test, according to the starting Dummy node needed for parameter selection, and indicate that each selected dummy node executes software document respectively, when obtaining execution Performance data.
In the present embodiment, calculate node receives the start-up parameter that the management end executes software test, wherein starting ginseng Number includes: the quantity of software document and required dummy node to be tested.Such as: management end has sent software text to be tested The total quantity of part and required dummy node is 900 dummy nodes.
Each calculate node is after receiving the start-up parameter of management end transmission, according to virtual needed for start-up parameter selection Node, and indicate that each selected dummy node executes software document respectively, obtain performance data when executing.Each calculating Node can be associated operation according to the start-up parameter and software program to be tested received, according to start-up parameter to calculate node Carry out scale amplification.Such as: management end issues start-up parameter, and the calculate node for receiving start-up parameter is 30 calculate nodes; Before this, each calculate node has created 50 dummy nodes, after the start-up parameter for receiving management end transmission at this time, Each calculate node needs to start 30 dummy nodes of random selection.
After aforesaid operations, calculate node carries out the process of software test, and each calculate node can pass through physics Terminal or log obtain response time either each calculating that software is communicated in each calculate node in software test procedure The frequency and response time of node storage or write-in file either obtain the total time of software test and are created big Whether response time of the scale cluster for software test meets some performance datas such as requirement of functional test.
In a kind of exemplary embodiment, the calculate node random selection be carrying out the dummy node of software document into Row reboot operation.
Each calculate node starts a self-interference program, for the dummy node having been turned on being carried out restarting behaviour at random The case where making, simulating network node possibility delay machine in actual production environment;The frequency of the reboot operation can be according to software test Demand is configured, such as: it is random selected to restart that each calculate node per half an hour executes a self-interference program The operation of dummy node.
Step 103: when data acquisition need to be carried out by executing software test, indicate each selected dummy node with it is described Management end establishes network connection, parallel execution of data acquisition operation.
In the present embodiment, when data acquisition need to be carried out by executing software test, each selected dummy node is indicated It establishes and is connected to the network with the management end, parallel execution of data acquisition operation;The main purpose of this step is when execution software When test, for example than 1000 transmission quantity loads are small certainly for the transmission quantity of 10 processes, realize for test network load The data acquisition operations of multi-process.Such as: when data acquisition need to be carried out by executing software test 5 can be read jointly with multiple processes A difference file, and be related to updating, 10 threads are then opened simultaneously reads different profile informations.In network transmission In the process, using json format.Another example is: each calculate node foundation is 30 dummy nodes, each dummy node Connecting the request packet size transmitted every time is 1MB or so, realizes each calculate node based on 30 dummy nodes created There are 30 network connections, the data volume of each connection transmission 1MB above.
Step 104: when the calculate node receives the execution order of storage or write-in file, indicating each selected Dummy node successively execute storage or write-in file operation.
In the present embodiment, when calculate node receives storage or the execution order of file is written, each institute is indicated The dummy node of selection successively executes storage or write-in file operation.When calculate node receives the execution order of storage, Need to start parallel and serial multiple threads, it, at this time can be with if having used parallel acquisition program when collecting data By the service self-test serial program being set in advance in each calculate node, N number of serial thread is simulated, calculate node can root It is configured the number of corresponding serial program according to the dummy node number of creation, dynamic tune can be carried out to the number of serial thread It is whole, when the execution order that one is put in storage is after each selected dummy node has executed, from all calculate nodes acquisition data Afterwards, it is performed separately serial program, realizes the test of the performance of software.
It in the present embodiment, can be according to software to be tested there is no the precedence relationship executed between step 103 and 104 Conditions of demand carry out selection and execute step 103 or step 104.
It should be noted that above content is only exemplary embodiment of the present invention, it is same as the previously described embodiments or similar Embodiment and above-described embodiment variant all within protection scope of the present invention.
Fig. 2 is the flow chart of the software performance testing method of further embodiment of this invention, according to the flow chart, the present embodiment Software performance testing method, comprising:
Step 200: management end, which is sent, expands cluster instruction to one or more calculate nodes.
In the present embodiment, management end receives the request guidance of user, sends the instruction for expanding cluster scale to one Or multiple calculate nodes.Wherein, each calculate node belongs to a network segment;N number of dummy node of each calculate node is according to institute The network segment for stating calculate node carries out N number of virtual IP address division of each calculate node, wherein the value of IP is from 1 to N.
Step 201: each calculate node executes software performance testing method below respectively.
In the present embodiment, the virtual IP address for N number of dummy node that each calculate node is created, according to the calculate node Network segment divided, virtual IP address the last byte of N number of dummy node is respectively each integer from 1 to N;First three A byte is determined according to the network segment of calculate node.
Each instruction that each calculate node receives management end transmission executes the software of step 2010-2012 respectively later Performance test step.It, can be according to software to be tested there is no the precedence relationship executed between step 2013 and step 2014 Conditions of demand carry out selection and execute step 2013 and step 2014.
Step 2010: calculate node creates N number of dummy node.
Step 2011: each dummy node and management end being established and are connected to the network.
Step 2012: the calculate node receives the start-up parameter that the management end executes software test, is opened according to described Dummy node needed for dynamic parameter selection, and indicate that each selected dummy node executes software document respectively, it is executed When performance data.
Step 2013: when data acquisition need to be carried out by executing software test, indicating each selected dummy node and institute It states management end and establishes network connection, parallel execution of data acquisition operation.
Step 2014: when the calculate node receives the execution order of storage or write-in file, indicating each selected The dummy node selected successively executes the storage or write-in file operation.
In the present embodiment, the specific implementation operation and embodiment of the method step shown in FIG. 1 of step 2010- step 2014 100-104 is corresponding.
It should be noted that above content is only exemplary embodiment of the present invention, it is same as the previously described embodiments or similar Embodiment and above-described embodiment variant all within protection scope of the present invention.
In addition, this application provides a kind of one embodiment of software performance test device, the Installation practice and Fig. 1 institute The embodiment of the method shown is corresponding, which specifically can be applied in various electronic equipments.
As shown in figure 3, the software performance test device of the present embodiment, comprising: memory and processor;
The memory, for saving the program for being used for software performance test;
The processor executes the program for being used for software performance test for reading, performs the following operations:
Calculate node creates N number of dummy node;N is the positive integer greater than 1;
Each dummy node and management end are established and are connected to the network;
The calculate node receives the start-up parameter that the management end executes software test, wherein the start-up parameter packet It includes: the quantity of software document and required dummy node to be tested;
The calculate node selects the virtual section of corresponding number according to the start-up parameter from N number of dummy node Point, and indicate that each selected dummy node executes the software document respectively, obtain performance data when executing.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
It is described according to the start-up parameter from N number of dummy node select corresponding number dummy node after, when When execution software test needs to carry out data acquisition, indicate that each selected dummy node and the management end establish network company It connects, parallel execution of data acquisition operation.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
The dummy node that the calculate node random selection is carrying out software document carries out reboot operation.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
When the calculate node receives the execution order of storage or write-in file, each selected virtual section is indicated Point successively executes storage or write-in file operation.
As shown in figure 4, the software performance test system of the present embodiment, comprising: management end and one or more calculate nodes;
Management end, which is sent, expands cluster instruction to one or more calculate nodes;Wherein, each calculate node belongs to one Network segment;
Each calculate node executes the following any operation of software performance test device respectively: where each calculating The virtual IP address for N number of dummy node that node is created, is divided according to the network segment of the calculate node, N number of virtual section Virtual IP address the last byte of point is respectively each integer from 1 to N;
In a kind of exemplary embodiment, each calculate node includes: memory and processor;
The memory, for saving the program for being used for software performance test;
The processor executes the program for being used for software performance test for reading, performs the following operations:
Calculate node creates N number of dummy node;N is the positive integer greater than 1;
Each dummy node and management end are established and are connected to the network;
The calculate node receives the start-up parameter that the management end executes software test, wherein the start-up parameter packet It includes: the quantity of software document and required dummy node to be tested;
The calculate node selects the virtual section of corresponding number according to the start-up parameter from N number of dummy node Point, and indicate that each selected dummy node executes the software document respectively, obtain performance data when executing.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
It is described according to the start-up parameter from N number of dummy node select corresponding number dummy node after, when When execution software test needs to carry out data acquisition, indicate that each selected dummy node and the management end establish network company It connects, parallel execution of data acquisition operation.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
The dummy node that the calculate node random selection is carrying out software document carries out reboot operation.
In a kind of exemplary embodiment, the processor, which is read, executes the program for being used for software performance test, also It performs the following operations:
When the calculate node receives the execution order of storage or write-in file, each selected virtual section is indicated Point successively executes storage or write-in file operation.
Management end obtains the performance data that each calculate node obtains.
A kind of implementation process of exemplary embodiment is as follows:
Step 001. management end receives the request instruction of user, sends and expands cluster instruction to one or more calculating sections Point.
Expand the instruction of cluster transmitted by step 002. calculate node receiver management terminal, and executes the N number of virtual section of creation Point.
The each dummy node and management end that the instruction of step 003. calculate node is created, which are established, to be connected to the network.
Step 004. when management end receives created dummy node establishes network connection after, send software institute to be tested The start-up parameter needed, the start-up parameter includes: the quantity of software document and required dummy node to be tested.
After step 005. calculate node receives start-up parameter, required dummy node is selected according to the start-up parameter, Indicate that each selected dummy node executes software document respectively.
For step 006. when selected dummy node executes software document respectively, each calculate node random selection is The dummy node for executing software document carries out reboot operation.
Step 007. management end receives user and needs to carry out the performance test instruction of data acquisition, and the test is instructed It is added in start-up parameter, is sent to calculate node.
After step 008. calculate node is according to dummy node needed for start-up parameter selection, when execution software test When needing to carry out data acquisition, indicates that each selected dummy node and the management end are established and be connected to the network, it is parallel to execute Data acquisition operations.
The performance that step 009. management end receives the execution operation that user carries out reception storage or write-in file is surveyed Examination instruction, and the execution operation that will receive storage or write-in file is added in start-up parameter, is sent to calculate node.
Step 0010. indicates each selected when calculate node receives the execution order of storage or write-in file Dummy node successively executes the storage or write-in file operation.
When step 0011. calculate node executes software document, obtains performance data when executing and be sent to management end.
Step 0012. management end obtains the performance data that each calculate node obtains.
A specific example based on the present embodiment, realizes a kind of software performance testing method, is created by calculate node N number of dummy node is built, each dummy node and management end network connection and alternating transmission is realized, realizes big data cluster Performance test demand realizes large-scale software performance test, meets production environment instantly and carries out software in cluster scale The demand of test.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.

Claims (10)

1. a kind of software performance testing method, which is characterized in that the described method includes:
Calculate node creates N number of dummy node;N is the positive integer greater than 1;
Each dummy node and management end are established and are connected to the network;
The calculate node receives the start-up parameter that the management end executes software test, wherein the start-up parameter include: to The quantity of the software document of test and required dummy node;
The calculate node selects the dummy node of corresponding number according to the start-up parameter from N number of dummy node, and It indicates that each selected dummy node executes the software document respectively, obtains performance data when executing.
2. software performance testing method according to claim 1, which is characterized in that the calculate node is according to the starting Parameter is after the dummy node for selecting corresponding number in N number of dummy node, further includes:
When data acquisition need to be carried out by executing software test, indicate that each selected dummy node and the management end establish net Network connection, parallel execution of data acquisition operation.
3. software performance testing method according to claim 1, which is characterized in that further include:
The dummy node that the calculate node random selection is carrying out software document carries out reboot operation.
4. software performance testing method according to claim 3, which is characterized in that method further include:
When the calculate node receives the execution order of storage or write-in file, indicate each selected dummy node according to Secondary execution storage or write-in file operation.
5. a kind of software performance testing method characterized by comprising
Management end, which is sent, expands cluster instruction to one or more calculate nodes;Wherein, each calculate node belongs to a network segment;
Each calculate node executes the software performance testing method of any of claims 1-4 respectively;Its In, the virtual IP address for N number of dummy node that each calculate node is created is divided, institute according to the network segment of the calculate node State each integer of the virtual IP address the last byte of N number of dummy node respectively from 1 to N;
Management end obtains the performance data that each calculate node obtains.
6. a kind of software performance test device, comprising: memory and processor;It is characterized by:
The memory, for saving the program for being used for software performance test;
The processor executes the program for being used for software performance test for reading, performs the following operations:
Calculate node creates N number of dummy node;N is the positive integer greater than 1;
Each dummy node and management end are established and are connected to the network;
The calculate node receives the start-up parameter that the management end executes software test, wherein the start-up parameter include: to The quantity of the software document of test and required dummy node;
The calculate node selects the dummy node of corresponding number according to the start-up parameter from N number of dummy node, and It indicates that each selected dummy node executes the software document respectively, obtains performance data when executing.
7. software performance test device according to claim 6, which is characterized in that the processor, which is read, executes the use In the program of software performance test, also perform the following operations:
It is described according to the start-up parameter from N number of dummy node select corresponding number dummy node after, work as execution When software test needs to carry out data acquisition, indicates that each selected dummy node and the management end are established and is connected to the network, Parallel execution of data acquisition operation.
8. software performance test device according to claim 7, which is characterized in that the processor, which is read, executes the use In the program of software performance test, also perform the following operations:
The dummy node that the calculate node random selection is carrying out software document carries out reboot operation.
9. software performance test device according to claim 6, which is characterized in that the processor, which is read, executes the use In the program of software performance test, also perform the following operations:
When the calculate node receives the execution order of storage or write-in file, indicate each selected dummy node according to Secondary execution storage or write-in file operation.
10. a kind of software performance test system characterized by comprising management end and one or more calculate nodes;
Management end, which is sent, expands cluster instruction to one or more calculate nodes;Wherein, each calculate node belongs to a network segment;
Each calculate node executes software performance test device described in any one of described claim 6-9 respectively;Its In, the virtual IP address for N number of dummy node that each calculate node is created is divided, institute according to the network segment of the calculate node State each integer of the virtual IP address the last byte of N number of dummy node respectively from 1 to N;
Management end obtains the performance data that each calculate node obtains.
CN201811315794.5A 2018-11-07 2018-11-07 A kind of software performance testing method and device Pending CN109062820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811315794.5A CN109062820A (en) 2018-11-07 2018-11-07 A kind of software performance testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811315794.5A CN109062820A (en) 2018-11-07 2018-11-07 A kind of software performance testing method and device

Publications (1)

Publication Number Publication Date
CN109062820A true CN109062820A (en) 2018-12-21

Family

ID=64789209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811315794.5A Pending CN109062820A (en) 2018-11-07 2018-11-07 A kind of software performance testing method and device

Country Status (1)

Country Link
CN (1) CN109062820A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656830A (en) * 2018-12-24 2019-04-19 普华基础软件股份有限公司 A kind of software product performance test methods
CN110083535A (en) * 2019-04-22 2019-08-02 网宿科技股份有限公司 A kind of method for testing software and device
CN110674034A (en) * 2019-09-12 2020-01-10 北京浪潮数据技术有限公司 Health examination method and device, electronic equipment and storage medium
CN113810247A (en) * 2021-09-15 2021-12-17 阿里巴巴(中国)有限公司 Distributed cluster testing method, electronic device, storage medium, and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572467A (en) * 2015-01-19 2015-04-29 浪潮电子信息产业股份有限公司 Method for testing performance of virtual platform database of server
US9703691B1 (en) * 2015-06-15 2017-07-11 Google Inc. Testing application software using virtual or physical devices
CN107092541A (en) * 2017-04-27 2017-08-25 郑州云海信息技术有限公司 A kind of method that utilization virtual machine carries out storage performance test
CN107247616A (en) * 2017-04-25 2017-10-13 郑州云海信息技术有限公司 A kind of method and system of virtual platform virtualization applications performance test

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572467A (en) * 2015-01-19 2015-04-29 浪潮电子信息产业股份有限公司 Method for testing performance of virtual platform database of server
US9703691B1 (en) * 2015-06-15 2017-07-11 Google Inc. Testing application software using virtual or physical devices
CN107247616A (en) * 2017-04-25 2017-10-13 郑州云海信息技术有限公司 A kind of method and system of virtual platform virtualization applications performance test
CN107092541A (en) * 2017-04-27 2017-08-25 郑州云海信息技术有限公司 A kind of method that utilization virtual machine carries out storage performance test

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656830A (en) * 2018-12-24 2019-04-19 普华基础软件股份有限公司 A kind of software product performance test methods
CN110083535A (en) * 2019-04-22 2019-08-02 网宿科技股份有限公司 A kind of method for testing software and device
CN110674034A (en) * 2019-09-12 2020-01-10 北京浪潮数据技术有限公司 Health examination method and device, electronic equipment and storage medium
CN113810247A (en) * 2021-09-15 2021-12-17 阿里巴巴(中国)有限公司 Distributed cluster testing method, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN109062820A (en) A kind of software performance testing method and device
CN107368405B (en) Test system, test method, mock platform, interceptor and client
CN111124850A (en) MQTT server performance testing method, system, computer equipment and storage medium
CN108563579B (en) White box testing method, device and system and storage medium
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN105450476A (en) Regression test system and test method
CN106383764A (en) Data acquisition method and device
CN107070752B (en) Testing method and testing system for long connection capacity
CN109660391B (en) Method, system and related device for upgrading firmware of pooling server system
CN109450708A (en) A kind of Nginx Dynamic Configuration and system
CN114501501A (en) Configuration management method, device, equipment and medium for mobile communication network target range
CN105608039B (en) A kind of double redundancy computer cycle control system and method based on FIFO and ARINC659 bus
CN104836686B (en) A kind of method and device for the configuration file generating server
CN108427635A (en) Quickly method, server and the computer readable storage medium of test web page
CN111352836A (en) Pressure testing method and related device
CN112152843B (en) Cluster node deployment method, device and system and electronic equipment
CN113691414A (en) Bandwidth performance testing method, device and system
CN106598793B (en) Test system and test method based on BIOS serial port log data
CN110380902B (en) Topological relation generation method and device, electronic equipment and storage medium
CN104618474B (en) Facility information store method and device
CN110460456B (en) Method and device for synchronously generating network topology by Management Information Base (MIB)
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN112420019B (en) Equipment testing method and device
CN111541589B (en) Method, device and equipment for testing expansion module interface of intelligent terminal
CN109324802B (en) Method and device for configuring server

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181221