WO2019019975A1 - Method and device for cloud platform performance testing - Google Patents

Method and device for cloud platform performance testing Download PDF

Info

Publication number
WO2019019975A1
WO2019019975A1 PCT/CN2018/096688 CN2018096688W WO2019019975A1 WO 2019019975 A1 WO2019019975 A1 WO 2019019975A1 CN 2018096688 W CN2018096688 W CN 2018096688W WO 2019019975 A1 WO2019019975 A1 WO 2019019975A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressure
tool
cloud platform
types
management
Prior art date
Application number
PCT/CN2018/096688
Other languages
French (fr)
Chinese (zh)
Inventor
杨蕾
王黎
吴波
谢东
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019019975A1 publication Critical patent/WO2019019975A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3428Benchmarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • H04L43/55Testing of service level quality, e.g. simulating service usage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/508Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
    • H04L41/5096Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to distributed or central networked applications

Definitions

  • the present application relates to the field of performance testing technologies, and in particular, to a cloud platform performance testing method and apparatus.
  • the cloud platform is a large-scale, distributed management system. Its essence is a service provision model. Through this model, resources of a shared resource pool can be accessed through the network anytime, anywhere, and on-demand.
  • the resources of the shared resource pool include computing resources and network resources. And storage resources, etc., these resources can be dynamically allocated and adjusted, and can be flexibly divided among different users.
  • the cloud platform provides computing, storage, and network support for various applications in the upper layer through the form of services.
  • the services and applications carried on the cloud platform are spread across all walks of life, with rich usage scenarios, large application scales, and complex application models. Cloud platforms generally need to have versatility and large-scale features in order to support various complex usage scenarios.
  • the system function modules are more dependent and complex.
  • the performance capability of the cloud platform is an important indicator to measure the quality of the cloud platform, directly affecting the performance of the application on the cloud, and plays an important role in the availability and reliability of the cloud platform.
  • Performance testing is an important test content of the cloud platform. As the scale of applications on the cloud increases, the scenarios become more and more complex. Different application types, different request pressures, and different data volumes have completely impacted the cloud platform. Different.
  • the benchmark load test method is used to perform performance test of the cloud platform, and the test process is: first selecting a benchmark test object and a pressure test performance indicator item, and then selecting a reference pressure test tool and deploying on the selected benchmark test object, According to the pressure model, the selected reference pressure test tool is configured, and finally the test is started.
  • the pressure model continuously generates pressure
  • the test result of the reference pressure test tool is obtained, and the selected test object is determined by analyzing and comparing the test results.
  • the performance capability of the pressure measurement performance indicator for example, the different types of data disk reading and writing capabilities of the cloud platform are tested according to different read and write models for the number of readings per second and the time delay.
  • the above test method is based on the performance test under the single-point pressure injection model, and the obtained performance test data and evaluation conclusions are too simplistic, and in the cloud platform, a variety of cloud-on-line hybrid online applications and large-scale
  • the pressure of requesting access data is different from the pressure point generated by the cloud platform and the single point pressure point generated by the reference pressure tool, and the resulting performance bottleneck point and system failure rate are also different. Therefore, the obtained test method is obtained.
  • the test results are not comprehensive enough and the accuracy is not high.
  • the application provides a cloud platform performance testing method and device, which can simulate the performance of the cloud platform in a real application scenario, and the test result is more comprehensive and improves the accuracy of the test.
  • the application provides a cloud platform performance testing method, including:
  • a pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N
  • the pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types, N ⁇ 1, wherein the pressure type is the pressure that causes performance problems in the cloud platform.
  • the type of pressure object is the application system of the cloud platform and the object of the performance bottleneck in the management system.
  • the pressure specification range is the range of the number of pressure objects, and the pressure tool is a tool set or a program set for pressure injection. Pressure injection according to the selected pressure injection path,
  • the cloud platform monitoring system monitors the operation of the cloud platform to obtain the test operation result.
  • a pressure injection path is selected for each cloud injection time interval in the running cloud platform, and pressure injection is performed according to the selected pressure injection path.
  • the pressure injection path includes the selected N pressure types, the pressure objects corresponding to the N pressure types, the number of pressure objects, the pressure levels of the pressure tools corresponding to the N pressure types, and the pressure level of the pressure tool.
  • the cloud platform monitoring system monitors the operation of the cloud platform to obtain test operation results.
  • the hybrid and overlay services in the real application scenario of the cloud platform can be simulated to the greatest extent, and the performance problems that may occur after the long-running of the business in the real application scenario are mined, compared with the single-point based pressure injection model in the related art.
  • the performance test of this application is more comprehensive and improves the accuracy of the test.
  • a pressure injection path is randomly selected according to a pre-existing pressure type set, a set of pressure objects, a pressure specification range, a pressure tool set, and a pressure level range of the pressure tool, including: from the pressure type set Select N pressure types; determine the pressure objects corresponding to the N pressure types, randomly select the number of pressure objects corresponding to the N pressure types according to the pressure specification range; determine the pressure tools corresponding to the N pressure types respectively According to the pressure level range of the pressure applying tool, the pressure levels of the pressure tools corresponding to the N pressure types are randomly selected.
  • the pressure injection is performed according to the selected pressure injection path, including: corresponding pressure objects and pressure objects corresponding to the N pressure types, and pressure tools corresponding to the N pressure types respectively. Pressure injection is performed for the pressure levels of the pressure tools corresponding to the N pressure types.
  • the types of stress include business layer load, management system resources, and user operations;
  • the pressure object corresponding to the load of the business layer is a virtual machine
  • the pressure object corresponding to the management system resource is a management node
  • the pressure object corresponding to the user operation is a simulated user front-end interface operation and an open application program interface call.
  • the business layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services
  • the pressure-intensive tools corresponding to computationally intensive services are central processor CPU benchmark tools.
  • the pressure-intensive tool corresponding to the memory-intensive service is the memory benchmark tool set
  • the pressure-intensive tool corresponding to the storage-intensive service is the network benchmark tool set
  • the pressure-intensive tool corresponding to the network-intensive service is the storage reference tool set.
  • the management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources; the pressure tools corresponding to the management CPU resources are the CPU consumption program collection, and the management memory resources corresponding to the pressure tools.
  • the pressure tool corresponding to the management storage resource is a storage input and output IO consumption program set
  • the pressure tool corresponding to the management network resource is a network IO consumption and a network interrupt injection program set.
  • the user operation includes a computing class, a storage class, and a network class provided by the cloud platform, and the user-oriented cloud service is operable by the user; the corresponding pressure tool of the user operation is a program set that simulates the user operation.
  • the application provides a cloud platform performance testing device, including:
  • the pressure injection module is configured to perform the following operations on the running cloud platform at each preset pressure injection time interval during a preset test operation period:
  • a pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N
  • the pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types, N ⁇ 1, wherein the pressure type is the pressure that causes performance problems in the cloud platform.
  • the type of pressure object is the application system of the cloud platform and the object of the performance bottleneck in the management system.
  • the pressure specification range is the range of the number of pressure objects, and the pressure tool is a tool set or a program set for pressure injection. Pressure injection is performed according to the selected pressure injection path.
  • the obtaining module is configured to obtain a test running result by monitoring the running of the cloud platform through the cloud platform monitoring system during the test running period.
  • a pressure injection path is selected for each cloud injection time interval in the running cloud platform, and pressure injection is performed according to the selected pressure injection path.
  • the pressure injection path includes the selected N pressure types, the pressure objects corresponding to the N pressure types, the number of pressure objects, the pressure levels of the pressure tools corresponding to the N pressure types, and the pressure level of the pressure tool.
  • the cloud platform monitoring system monitors the operation of the cloud platform to obtain test operation results.
  • the hybrid and overlay services in the real application scenario of the cloud platform can be simulated to the greatest extent, and the performance problems that may occur after the long-running of the business in the real application scenario are mined, compared with the single-point based pressure injection model in the related art.
  • the performance test of this application is more comprehensive and improves the accuracy of the test.
  • the pressure injection module is specifically configured to: select N pressure types from the pressure type set; determine the pressure objects corresponding to the N pressure types respectively, and randomly select N pressure types according to the pressure specification range The number of corresponding pressing objects; determining the pressing tools corresponding to the N pressure types respectively, and randomly selecting the pressure levels of the pressing tools corresponding to the N pressure types according to the pressure level range of the pressing tool.
  • the pressure injection module is specifically configured to: respectively correspond to the pressure object and the pressure object corresponding to the N pressure types, the pressure tools corresponding to the N pressure types, and the N pressure types respectively.
  • the pressure level of the pressure tool is used for pressure injection.
  • the types of stress include business layer load, management system resources, and user operations;
  • the pressure object corresponding to the load of the business layer is a virtual machine
  • the pressure object corresponding to the management system resource is a management node
  • the pressure object corresponding to the user operation is a simulated user front-end interface operation and an open application program interface call.
  • the business layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services
  • the pressure-intensive tools corresponding to computationally intensive services are central processor CPU benchmark tools.
  • the pressure-intensive tool corresponding to the memory-intensive service is the memory benchmark tool set
  • the pressure-intensive tool corresponding to the storage-intensive service is the network benchmark tool set
  • the pressure-intensive tool corresponding to the network-intensive service is the storage reference tool set.
  • the management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources; the pressure tools corresponding to the management CPU resources are the CPU consumption program collection, and the management memory resources corresponding to the pressure tools.
  • the pressure tool corresponding to the management storage resource is a storage input and output IO consumption program set
  • the pressure tool corresponding to the management network resource is a network IO consumption and a network interrupt injection program set.
  • the user operation includes a computing class, a storage class, and a network class provided by the cloud platform, and the user-oriented cloud service is operable by the user; the corresponding pressure tool of the user operation is a program set that simulates the user operation.
  • the application provides a cloud platform performance testing device, including: a memory and a processor;
  • the memory is used to store program instructions
  • the processor is used to call a program instruction in the memory to perform the following method:
  • a pressure injection path is selected for each of the preset pressure injection time intervals for the running cloud platform, and pressure injection is performed according to the selected pressure injection path:
  • selecting a pressure injection path specifically includes:
  • a pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N
  • the pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types, N ⁇ 1, wherein the pressure type is the pressure that causes performance problems in the cloud platform.
  • the type of pressure object is the application system of the cloud platform and the object of the performance bottleneck in the management system.
  • the pressure specification range is the range of the number of pressure objects, and the pressure tool is a tool set or a program set for pressure injection;
  • the cloud platform monitoring system monitors the operation of the cloud platform to obtain the test operation result.
  • the application provides a readable storage medium, where the execution instructions are stored, and when the at least one processor of the cloud platform performance testing device executes the execution instruction, the cloud platform performance testing device executes the first aspect. And the method of any of the possible aspects of the first aspect.
  • the present application provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the cloud platform performance testing device can read the execution instruction from a readable storage medium, and the at least one processor executes the execution instruction to cause the cloud platform performance testing device to implement the first aspect and any one of the possible aspects of the first aspect The method in .
  • FIG. 1 is a flowchart of an embodiment of a cloud platform performance testing method provided by the present application
  • FIG. 2 is a flowchart of an embodiment of a cloud platform performance testing method provided by the present application
  • FIG. 3 is a schematic structural diagram of an embodiment of a cloud platform performance testing apparatus according to the present application.
  • FIG. 4 is a schematic structural diagram of an embodiment of a cloud platform performance testing apparatus according to the present application.
  • the present application simulates the performance of the real application scenario test cloud platform, specifically by setting the test operation cycle and the pressure injection time interval in advance, and in the set operation cycle, the operation is in operation.
  • the cloud platform selects a pressure injection path at each pressure injection time interval, and performs pressure injection according to the selected pressure injection path.
  • the pressure injection path includes the selected N pressure types and N pressure types respectively corresponding to the pressure.
  • the number of objects and pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types respectively classify the pressures that cause performance problems in the cloud platform.
  • the selection of the pressure injection paths is random, so it can be maximized.
  • FIG. 1 is a flowchart of an embodiment of a cloud platform performance testing method provided by the present application. As shown in FIG. 1 , the method in this embodiment may include:
  • a pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N
  • the pressure type corresponds to the number of pressure objects and pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types are respectively N ⁇ 1, and pressure injection is performed according to the selected pressure injection path.
  • the test operation period is 7-10 days, etc., for example, pressure injection is performed for 5 minutes, and the pressure injection time interval is 5 minutes, 10 minutes, 15 minutes, and the like.
  • a pressure injection path is selected, and pressure injection is performed according to the selected pressure injection path.
  • the pressure type is the type of pressure in the cloud platform that causes performance problems.
  • the pressure on the cloud platform that may cause performance problems is divided into two dimensions.
  • One is the performance bottleneck point that may exist in the system, such as the consumption of system resources. That is, the management system resources; the second is the operation in the user's actual application scenario, such as the execution of the business application (service layer load), the user operation of the cloud platform, and the pressure type is randomly selected.
  • the object of pressure is the application system of the cloud platform and the object that generates performance bottlenecks in the management system, such as a virtual machine, a management node, a simulated user front-end interface (protal) operation, and an open application programming interface (API) call.
  • API application programming interface
  • the pressure specification range is the range of the number of objects to be pressed, or the maximum number of objects to be pressed.
  • the corresponding pressure specification range is the range of the number of virtual machines that the system can support.
  • the corresponding pressure specification range is the scope of the management node deployed by the system;
  • the corresponding pressure specification range is the maximum number of concurrent operations supported by the cloud platform, which is a random positive integer.
  • the pressure tool is a collection of tools or a collection of programs for pressure injection.
  • the pressure level of the pressure tool can be the maximum value of the pressure level, and the pressure level of the pressure tool is randomly selected and determined.
  • Table 1 is a correspondence table of pressure type, pressure object, pressure specification range, pressure level of pressure tool and pressure tool, as shown in Table 1:
  • the pressure types can be divided into three categories: business layer load, management system resources, and user operations.
  • the pressure object corresponding to the business layer load is a virtual machine.
  • the pressure object corresponding to the management system resource is the management node.
  • the corresponding pressure object is the simulated user protal operation and open API call.
  • the business layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services.
  • the pressure-intensive tool corresponding to the computation-intensive service is a central processing unit (CPU) benchmark tool set
  • the pressure-intensive service corresponding to the memory-intensive service is a set of memory benchmark tools
  • a load-intensive tool corresponding to the storage-intensive service is a collection of benchmark tools.
  • the management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources.
  • the pressure tool corresponding to the management CPU resource is a CPU consumption program set
  • the pressure tool corresponding to the management memory resource is a memory consumption program set
  • the pressure storage tool corresponding to the management storage resource is a storage input and output IO consumption program set
  • the management layer The pressure tool corresponding to the network resource is a collection of programs for network IO consumption and network interruption.
  • User operations include user-oriented operations such as computing, storage, and network classes provided by the cloud platform. For example, computing services, network services, and storage services.
  • the user-operated corresponding pressure tool is a collection of programs that simulate user operations, such as creating, deleting, stopping, and starting a collection of operations.
  • the pressure levels of the above-mentioned pressure applying tools are randomly determined according to the pressure level ranges of the corresponding pressure applying tools.
  • a pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, which may be:
  • S101a Select N pressure types from the pressure type set.
  • S101b determining a pressing object corresponding to each of the N pressure types, and randomly selecting the number of pressing objects corresponding to the N pressure types according to the pressure specification range.
  • S101c determining pressure tools corresponding to the N pressure types respectively, and randomly selecting pressure levels of the pressure tools corresponding to the N pressure types according to the pressure level range of the pressure application tool.
  • Pressure injection according to the selected pressure injection path can be:
  • the pressure injection is performed according to the pressure targets corresponding to the pressure objects and the pressure objects corresponding to the N pressure types, the pressure tools corresponding to the N pressure types, and the pressure levels of the pressure tools respectively corresponding to the N pressure types.
  • N is 3, the selected pressure type includes 2 computationally intensive services and 1 computing service, and 2 computationally intensive services correspond to 5 pressure objects respectively, and the pressure object corresponding to one computing service is
  • the pressure tools corresponding to the five computing intensive services are the CPU benchmark tools.
  • the pressure levels are M1 and M2 respectively.
  • the pressure tools corresponding to one computing service are the set of creation, deletion, stop and start operations, and the pressure level.
  • the pressure-bearing objects corresponding to computation-intensive services and computing services are virtual machine and simulated user protal operations and open API calls.
  • five virtual machines adopt the CPU benchmark tool set to perform pressure level M1. Injection, pressure injection with pressure level M2 for 5 virtual machines using CPU benchmark tool set, pressure injection with pressure level M3 for 5 simulated user protal operations, open API calls using set of creation, deletion, stop and start operations .
  • the test running period is 7-10 days
  • the cloud platform runs normally for 7-10 days
  • the normal functional operation is performed during the whole running process.
  • the response time of the cloud platform system is observed through the cloud platform monitoring system. Whether the performance monitoring index items such as resource occupancy exceed the threshold value, and observe whether each function module of the system generates an error log, a suspension, a non-response abnormality, etc., and performs analysis to obtain a test operation result.
  • the cloud platform performance testing method selects a test injection period and a pressure injection time interval in advance, and selects a pressure injection path for each of the pressure injection time intervals in the running cloud platform during the test operation period. Pressure injection is performed according to the selected pressure injection path.
  • the pressure injection path includes the selected N pressure types, the pressure objects corresponding to the N pressure types, the number of pressure objects, the pressure levels of the pressure tools corresponding to the N pressure types, and the pressure level of the pressure tool.
  • the cloud platform monitoring system monitors the operation of the cloud platform to obtain test operation results.
  • the hybrid and overlay services in the real application scenario of the cloud platform can be simulated to the greatest extent, and the performance problems that may occur after the long-running of the business in the real application scenario are mined, compared with the single-point based pressure injection model in the related art.
  • the performance test of this application is more comprehensive and improves the accuracy of the test.
  • FIG. 2 is a flowchart of an embodiment of a cloud platform performance testing method provided by the present application. As shown in FIG. 2, the method in this embodiment may include:
  • performing random pressure injection includes:
  • S202c Determine the pressure application tool R1 corresponding to the pressure type 1 from the pressure tool set R, and select the pressure level L1 according to the pressure level range [0, L] of the pressure application tool R1.
  • pressure injection of the pressure level L1 is performed using the pressing tool R1 for the n pressure applying objects X1 to Xn.
  • test run cycle ends, the pressurization is stopped, otherwise random pressure injection continues at each predetermined pressure injection time interval.
  • the whole process performance indicator observation that is, the test operation result is obtained by monitoring the operation of the cloud platform through the cloud platform monitoring system during the test operation period.
  • the selected pressure type is taken as an example.
  • the pressure type is multiple, the selection of the pressure injection path and the pressure injection are similar, and are not exemplified herein.
  • the application may divide the functional modules of the cloud platform performance testing device according to the above method example.
  • each functional module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
  • FIG. 3 is a schematic structural diagram of an embodiment of a cloud platform performance testing apparatus according to the present application. As shown in FIG. 3, the apparatus includes: a memory 11, a processor 12, an interface circuit 13, and a bus 14, wherein
  • the memory 11, the processor 12, and the interface circuit 13 are connected by the bus 14 and complete communication with each other.
  • the processor 12 receives or transmits information, such as control information, data, etc., through the interface circuit 13.
  • the memory 11 stores a set of program codes, and the processor 12 calls the program code stored in the memory 11 to perform the following operations:
  • a pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N
  • the pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types are respectively N ⁇ 1.
  • the pressure type is the type of pressure in the cloud platform that causes performance problems.
  • the pressure on the cloud platform that may cause performance problems is divided into two dimensions.
  • One is the performance bottleneck point that may exist in the system, such as the consumption of system resources. That is, the management system resources; the second is the operation in the user's actual application scenario, such as the execution of the business application (service layer load), the user operation of the cloud platform, and the pressure type is randomly selected.
  • the object of pressure is the application system of the cloud platform and the objects that cause performance bottlenecks in the management system, such as virtual machines, management nodes, simulated user front-end interface (protal) operations, and open application interface (open API) calls.
  • the pressure specification range is the range of the number of objects to be pressed, or the maximum number of objects to be pressed.
  • the corresponding pressure specification range is the range of the number of virtual machines or management nodes; when the pressure object is the simulated user protal operation and the open API call, the corresponding pressure specification range is cloud.
  • the pressure tool is a collection of tools or a collection of programs for pressure injection.
  • the pressure level of the pressure tool can be the maximum value of the pressure level, and the pressure level of the pressure tool is randomly selected and determined.
  • Pressure injection is performed according to the selected pressure injection path.
  • the cloud platform monitoring system monitors the operation of the cloud platform to obtain the test operation result.
  • the device in this embodiment may include: a pressure injection module 21 and an acquisition module 22, where
  • the pressure injection module 21 is configured to perform the following operations on the running cloud platform at each preset pressure injection time interval during a preset test operation period:
  • a pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N
  • the pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types, N ⁇ 1, wherein the pressure type is the pressure that causes performance problems in the cloud platform.
  • the type of pressure object is the application system of the cloud platform and the object of the performance bottleneck in the management system.
  • the pressure specification range is the range of the number of pressure objects, and the pressure tool is a tool set or a program set for pressure injection. Pressure injection is performed according to the selected pressure injection path.
  • the obtaining module 22 is configured to obtain a test running result by monitoring the running of the cloud platform by the cloud platform monitoring system during the test running period.
  • the pressure injection module 21 is specifically configured to: select N pressure types from the pressure type set, determine the pressure objects corresponding to the N pressure types, and randomly select the pressure corresponding to the N pressure types according to the pressure specification range. The number of objects is determined, and the pressure tools corresponding to the N pressure types are respectively determined, and the pressure levels of the pressure tools corresponding to the N pressure types are randomly selected according to the pressure level range of the pressure application tool.
  • the pressure injection module 21 is specifically configured to: respectively, according to the pressure types of the N pressure types, the number of pressure objects, the pressure tools corresponding to the N pressure types, and the pressure tools corresponding to the N pressure types respectively.
  • the pressure level is pressure injected.
  • the pressure type includes a service layer load, a management system resource, and a user operation
  • the pressure object corresponding to the service layer load is a virtual machine
  • the pressure object corresponding to the management system resource is a management node
  • the user operation corresponding to the application The object is the mock user front-end interface operation and the open application interface call.
  • the business layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services.
  • the pressure-intensive tool corresponding to the computation-intensive service is a central processing unit (CPU) benchmark tool set
  • the pressure-intensive service corresponding to the memory-intensive service is a set of memory benchmark tools
  • a load-intensive tool corresponding to the storage-intensive service is a collection of benchmark tools.
  • the management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources.
  • the pressure tool corresponding to the management CPU resource is a CPU consumption program set
  • the pressure tool corresponding to the management memory resource is a memory consumption program set
  • the pressure storage tool corresponding to the management storage resource is a storage input and output IO consumption program set
  • the management layer The pressure tool corresponding to the network resource is a collection of programs for network IO consumption and network interruption.
  • the user operation includes operations of the computing class, the storage class, and the network class user-oriented cloud service provided by the cloud platform for the user to perform.
  • the user-applied pressure tool is a collection of programs that simulate user operations.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 , and the implementation principle is similar, and details are not described herein again.
  • the cloud platform performance testing device selects a test injection cycle and a pressure injection time interval in advance, and selects a pressure injection path for each cloud injection time interval in the running cloud platform during the test operation cycle. Pressure injection is performed according to the selected pressure injection path.
  • the pressure injection path includes the selected N pressure types, the pressure objects corresponding to the N pressure types, the number of pressure objects, the pressure levels of the pressure tools corresponding to the N pressure types, and the pressure level of the pressure tool.
  • the cloud platform monitoring system monitors the operation of the cloud platform to obtain test operation results.
  • the hybrid and overlay services in the real application scenario of the cloud platform can be simulated to the greatest extent, and the performance problems that may occur after the long-running of the business in the real application scenario are mined, compared with the single-point based pressure injection model in the related art.
  • the performance test of this application is more comprehensive and improves the accuracy of the test.
  • the application further provides a readable storage medium, where the execution instructions are stored, and when at least one processor of the cloud platform performance testing device executes the execution instruction, the cloud platform performance testing device executes the foregoing FIG. Cloud platform performance testing method.
  • the application also provides a program product comprising an execution instruction stored in a readable storage medium.
  • the at least one processor of the cloud platform performance testing device can read the execution instruction from the readable storage medium, and the at least one processor executes the execution instruction to cause the cloud platform performance testing device to implement the cloud platform performance testing method shown in FIG. 1 above.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

Provided in the present application are a method and device for cloud platform performance testing. The method comprises: within a preset test run cycle, performing the following operation at each preset stress injection time interval with respect to a running cloud platform: randomly selecting a stress injection path on the basis of a prestored stress type set, a stress application object set, a stress application specification range, a stress application tool set, and a stress level range of said stress application tools, the stress injection path comprising N selected stress types, the stress application objects respectively corresponding to the N stress types and the number of said stress application objects, and the stress application tools and stress levels of the stress application tools respectively corresponding to the N stress types. Stress injection is performed on the basis of the stress injection path selected; the running of the cloud platform is monitored via the cloud platform monitoring system to acquire the result of the test run. Hence, the test result produced is of increased comprehensiveness, thus increasing the accuracy of the test.

Description

云平台性能测试方法及装置Cloud platform performance testing method and device 技术领域Technical field
本申请涉及性能测试技术领域,尤其涉及一种云平台性能测试方法及装置。The present application relates to the field of performance testing technologies, and in particular, to a cloud platform performance testing method and apparatus.
背景技术Background technique
云平台为大型、分布式管理系统,其本质是一种服务提供模型,通过这种模型可以随时随地、按需地通过网络访问共享资源池的资源,共享资源池的资源包括计算资源、网络资源和存储资源等,这些资源能够被动态地分配和调整,在不同用户之间灵活划分。云平台通过服务的形式为上层各种应用提供计算、存储、网络的支持。云平台上承载的服务和应用遍布各行各业,使用场景丰富、应用规模大、应用模型复杂。云平台一般都需具有通用性和大规模的特点,以便支持各种复杂使用场景,系统功能模块多依赖多,结构复杂。因此,云平台的性能能力是衡量云平台质量的一个重要指标,直接影响云上应用的性能表现,对云平台的可用性和可靠性发挥着重要的作用。性能测试是云平台的重要测试内容,随着云上应用的规模越来越大场景越来越复杂,不同的应用类型、不同的请求压力、不同的数据量,对云平台带来的冲击完全不一样。The cloud platform is a large-scale, distributed management system. Its essence is a service provision model. Through this model, resources of a shared resource pool can be accessed through the network anytime, anywhere, and on-demand. The resources of the shared resource pool include computing resources and network resources. And storage resources, etc., these resources can be dynamically allocated and adjusted, and can be flexibly divided among different users. The cloud platform provides computing, storage, and network support for various applications in the upper layer through the form of services. The services and applications carried on the cloud platform are spread across all walks of life, with rich usage scenarios, large application scales, and complex application models. Cloud platforms generally need to have versatility and large-scale features in order to support various complex usage scenarios. The system function modules are more dependent and complex. Therefore, the performance capability of the cloud platform is an important indicator to measure the quality of the cloud platform, directly affecting the performance of the application on the cloud, and plays an important role in the availability and reliability of the cloud platform. Performance testing is an important test content of the cloud platform. As the scale of applications on the cloud increases, the scenarios become more and more complex. Different application types, different request pressures, and different data volumes have completely impacted the cloud platform. Different.
相关技术中,采用基准负载测试方法进行云平台的性能测试,其测试过程为:首先选择基准测试对象和压测性能指标项,接着选择基准压力测试工具并在所选的基准测试对象上部署,根据压力模型配置所选择的基准压力测试工具,最后开始测试,在压力模型不断产生压力的同时,获取基准压力测试工具的测试结果,通过对测试结果的分析对比,判定所选的基准测试对象的压测性能指标的性能能力,例如:对云平台的不同类型数据盘读写能力根据不同的读写模型进行每秒读写次数以及时延的压力测试。In the related art, the benchmark load test method is used to perform performance test of the cloud platform, and the test process is: first selecting a benchmark test object and a pressure test performance indicator item, and then selecting a reference pressure test tool and deploying on the selected benchmark test object, According to the pressure model, the selected reference pressure test tool is configured, and finally the test is started. When the pressure model continuously generates pressure, the test result of the reference pressure test tool is obtained, and the selected test object is determined by analyzing and comparing the test results. The performance capability of the pressure measurement performance indicator, for example, the different types of data disk reading and writing capabilities of the cloud platform are tested according to different read and write models for the number of readings per second and the time delay.
可以看出,上述测试方法是基于单点的压力注入模型下的性能测试,得到的性能测试数据和评估结论也过于单一化,而云平台中,多种多样的云上混合在线应用和大规模的请求访问数据压力对云平台产生的压力点和基准压力工具产生的单点压力点是不同的,进而形成的性能瓶颈点、系统故障率也是不尽相同的,因此,通过上述测试方法得到的测试结果不够全面,准确性不高。It can be seen that the above test method is based on the performance test under the single-point pressure injection model, and the obtained performance test data and evaluation conclusions are too simplistic, and in the cloud platform, a variety of cloud-on-line hybrid online applications and large-scale The pressure of requesting access data is different from the pressure point generated by the cloud platform and the single point pressure point generated by the reference pressure tool, and the resulting performance bottleneck point and system failure rate are also different. Therefore, the obtained test method is obtained. The test results are not comprehensive enough and the accuracy is not high.
发明内容Summary of the invention
本申请提供一种云平台性能测试方法及装置,可模拟真实应用场景测试云平台的性能,测试结果更加全面,提高测试的准确性。The application provides a cloud platform performance testing method and device, which can simulate the performance of the cloud platform in a real application scenario, and the test result is more comprehensive and improves the accuracy of the test.
第一方面,本申请提供一种云平台性能测试方法,包括:In a first aspect, the application provides a cloud platform performance testing method, including:
在预设的测试运行周期内,对正在运行中的云平台在每一预设压力注入时间间隔点进行如下操作:During the preset test run period, the following operations are performed on the running cloud platform at each preset pressure injection time interval:
根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的 施压工具及施压工具的压力级别,N≥1,其中,压力类型为云平台中引发性能问题的压力种类,施压对象为云平台的应用系统和管理系统中产生性能瓶颈的对象,施压规格范围为施压对象的数量的范围,施压工具为进行压力注入的工具集合或程序集合。根据所选的压力注入路径进行压力注入,A pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N The pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types, N≥1, wherein the pressure type is the pressure that causes performance problems in the cloud platform. The type of pressure object is the application system of the cloud platform and the object of the performance bottleneck in the management system. The pressure specification range is the range of the number of pressure objects, and the pressure tool is a tool set or a program set for pressure injection. Pressure injection according to the selected pressure injection path,
在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。During the test operation period, the cloud platform monitoring system monitors the operation of the cloud platform to obtain the test operation result.
通过预先设置测试运行周期和压力注入时间间隔,在测试运行周期内,对正在运行中的云平台在每一压力注入时间间隔点选择一条压力注入路径,并根据所选的压力注入路径进行压力注入。其中的压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。由于每一次的压力注入路径的选择,是根据不同压力类型、压力类型对应的施压对象及施压对象个数、压力类型对应的施压工具及施压工具的压力级别进行随机的选择的,因此可最大程度上模拟云平台的真实应用场景下混合、叠加业务,挖掘真实应用场景中业务长时间运行后数据累积可能产生的性能问题,相比较相关技术中的基于单点的压力注入模型下的性能测试,本申请的测试结果更加全面,提高了测试的准确性。By setting the test operation period and the pressure injection time interval in advance, during the test operation period, a pressure injection path is selected for each cloud injection time interval in the running cloud platform, and pressure injection is performed according to the selected pressure injection path. . The pressure injection path includes the selected N pressure types, the pressure objects corresponding to the N pressure types, the number of pressure objects, the pressure levels of the pressure tools corresponding to the N pressure types, and the pressure level of the pressure tool. During the test operation period, the cloud platform monitoring system monitors the operation of the cloud platform to obtain test operation results. Since the selection of each pressure injection path is randomly selected according to different pressure types, the pressure type corresponding to the pressure object and the number of pressure objects, the pressure type corresponding pressure tool and the pressure level of the pressure tool, Therefore, the hybrid and overlay services in the real application scenario of the cloud platform can be simulated to the greatest extent, and the performance problems that may occur after the long-running of the business in the real application scenario are mined, compared with the single-point based pressure injection model in the related art. The performance test of this application is more comprehensive and improves the accuracy of the test.
在一种可能的设计中,根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,包括:从压力类型集合中选择N个压力类型;确定N个压力类型分别对应的施压对象,根据施压规格范围随机选择N个压力类型分别对应的施压对象个数;确定N个压力类型分别对应的施压工具,根据施压工具的压力级别范围随机选择N个压力类型分别对应的施压工具的压力级别。In one possible design, a pressure injection path is randomly selected according to a pre-existing pressure type set, a set of pressure objects, a pressure specification range, a pressure tool set, and a pressure level range of the pressure tool, including: from the pressure type set Select N pressure types; determine the pressure objects corresponding to the N pressure types, randomly select the number of pressure objects corresponding to the N pressure types according to the pressure specification range; determine the pressure tools corresponding to the N pressure types respectively According to the pressure level range of the pressure applying tool, the pressure levels of the pressure tools corresponding to the N pressure types are randomly selected.
在一种可能的设计中,根据所选的压力注入路径进行压力注入,包括:根据N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具和N个压力类型分别对应的施压工具的压力级别进行压力注入。In a possible design, the pressure injection is performed according to the selected pressure injection path, including: corresponding pressure objects and pressure objects corresponding to the N pressure types, and pressure tools corresponding to the N pressure types respectively. Pressure injection is performed for the pressure levels of the pressure tools corresponding to the N pressure types.
在一种可能的设计中,压力类型包括业务层负载、管理层系统资源和用户操作;In one possible design, the types of stress include business layer load, management system resources, and user operations;
述业务层负载对应的施压对象为虚拟机,管理层系统资源对应的施压对象为管理节点,用户操作对应的施压对象为模拟用户前台界面操作和开放应用程序接口调用。The pressure object corresponding to the load of the business layer is a virtual machine, and the pressure object corresponding to the management system resource is a management node, and the pressure object corresponding to the user operation is a simulated user front-end interface operation and an open application program interface call.
在一种可能的设计中,业务层负载包括计算密集型业务、内存密集型业务、存储密集型业务和网络密集型业务,计算密集型业务对应的施压工具为中央处理器CPU基准工具集合,内存密集型业务对应的施压工具为内存基准工具集合,存储密集型业务对应的施压工具为网络基准工具集合,网络密集型业务对应的施压工具为存储基准工具集合。管理层系统资源包括:管理层CPU资源、管理层内存资源、管理层存储资源和管理层网络资源;管理层CPU资源对应的施压工具为CPU消耗程序集合,管理层内存资源对应的施压工具为内存消耗程序集合,管理层存储资源对应的施压工具为存储输入输出IO消耗程序集合,管理层网络资源对应的施压工具为网络IO消耗、网络中断注入程序集合。用户操作包括所述云平台提供的计算类、存储类和网络类面向用户的云服务可供用户执行的操作;用户操作对应的施压工具为模拟用户操作的程序集合。In one possible design, the business layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services, and the pressure-intensive tools corresponding to computationally intensive services are central processor CPU benchmark tools. The pressure-intensive tool corresponding to the memory-intensive service is the memory benchmark tool set, the pressure-intensive tool corresponding to the storage-intensive service is the network benchmark tool set, and the pressure-intensive tool corresponding to the network-intensive service is the storage reference tool set. The management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources; the pressure tools corresponding to the management CPU resources are the CPU consumption program collection, and the management memory resources corresponding to the pressure tools. For the memory consumption program set, the pressure tool corresponding to the management storage resource is a storage input and output IO consumption program set, and the pressure tool corresponding to the management network resource is a network IO consumption and a network interrupt injection program set. The user operation includes a computing class, a storage class, and a network class provided by the cloud platform, and the user-oriented cloud service is operable by the user; the corresponding pressure tool of the user operation is a program set that simulates the user operation.
第二方面,本申请提供一种云平台性能测试装置,包括:In a second aspect, the application provides a cloud platform performance testing device, including:
压力注入模块,用于在预设的测试运行周期内,对正在运行中的云平台在每一预设压力注入时间间隔点进行如下操作:The pressure injection module is configured to perform the following operations on the running cloud platform at each preset pressure injection time interval during a preset test operation period:
根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,N≥1,其中,压力类型为云平台中引发性能问题的压力种类,施压对象为云平台的应用系统和管理系统中产生性能瓶颈的对象,施压规格范围为施压对象的数量的范围,施压工具为进行压力注入的工具集合或程序集合。根据所选的压力注入路径进行压力注入。A pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N The pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types, N≥1, wherein the pressure type is the pressure that causes performance problems in the cloud platform. The type of pressure object is the application system of the cloud platform and the object of the performance bottleneck in the management system. The pressure specification range is the range of the number of pressure objects, and the pressure tool is a tool set or a program set for pressure injection. Pressure injection is performed according to the selected pressure injection path.
获取模块,用于在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。The obtaining module is configured to obtain a test running result by monitoring the running of the cloud platform through the cloud platform monitoring system during the test running period.
通过预先设置测试运行周期和压力注入时间间隔,在测试运行周期内,对正在运行中的云平台在每一压力注入时间间隔点选择一条压力注入路径,并根据所选的压力注入路径进行压力注入。其中的压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。由于每一次的压力注入路径的选择,是根据不同压力类型、压力类型对应的施压对象及施压对象个数、压力类型对应的施压工具及施压工具的压力级别进行随机的选择的,因此可最大程度上模拟云平台的真实应用场景下混合、叠加业务,挖掘真实应用场景中业务长时间运行后数据累积可能产生的性能问题,相比较相关技术中的基于单点的压力注入模型下的性能测试,本申请的测试结果更加全面,提高了测试的准确性。By setting the test operation period and the pressure injection time interval in advance, during the test operation period, a pressure injection path is selected for each cloud injection time interval in the running cloud platform, and pressure injection is performed according to the selected pressure injection path. . The pressure injection path includes the selected N pressure types, the pressure objects corresponding to the N pressure types, the number of pressure objects, the pressure levels of the pressure tools corresponding to the N pressure types, and the pressure level of the pressure tool. During the test operation period, the cloud platform monitoring system monitors the operation of the cloud platform to obtain test operation results. Since the selection of each pressure injection path is randomly selected according to different pressure types, the pressure type corresponding to the pressure object and the number of pressure objects, the pressure type corresponding pressure tool and the pressure level of the pressure tool, Therefore, the hybrid and overlay services in the real application scenario of the cloud platform can be simulated to the greatest extent, and the performance problems that may occur after the long-running of the business in the real application scenario are mined, compared with the single-point based pressure injection model in the related art. The performance test of this application is more comprehensive and improves the accuracy of the test.
在一种可能的设计中,压力注入模块具体用于:从压力类型集合中选择N个压力类型;确定N个压力类型分别对应的施压对象,根据施压规格范围随机选择N个压力类型分别对应的施压对象个数;确定N个压力类型分别对应的施压工具,根据施压工具的压力级别范围随机选择N个压力类型分别对应的施压工具的压力级别。In a possible design, the pressure injection module is specifically configured to: select N pressure types from the pressure type set; determine the pressure objects corresponding to the N pressure types respectively, and randomly select N pressure types according to the pressure specification range The number of corresponding pressing objects; determining the pressing tools corresponding to the N pressure types respectively, and randomly selecting the pressure levels of the pressing tools corresponding to the N pressure types according to the pressure level range of the pressing tool.
在一种可能的设计中,压力注入模块具体用于:根据N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具和N个压力类型分别对应的施压工具的压力级别进行压力注入。In a possible design, the pressure injection module is specifically configured to: respectively correspond to the pressure object and the pressure object corresponding to the N pressure types, the pressure tools corresponding to the N pressure types, and the N pressure types respectively. The pressure level of the pressure tool is used for pressure injection.
在一种可能的设计中,压力类型包括业务层负载、管理层系统资源和用户操作;In one possible design, the types of stress include business layer load, management system resources, and user operations;
述业务层负载对应的施压对象为虚拟机,管理层系统资源对应的施压对象为管理节点,用户操作对应的施压对象为模拟用户前台界面操作和开放应用程序接口调用。The pressure object corresponding to the load of the business layer is a virtual machine, and the pressure object corresponding to the management system resource is a management node, and the pressure object corresponding to the user operation is a simulated user front-end interface operation and an open application program interface call.
在一种可能的设计中,业务层负载包括计算密集型业务、内存密集型业务、存储密集型业务和网络密集型业务,计算密集型业务对应的施压工具为中央处理器CPU基准工具集合,内存密集型业务对应的施压工具为内存基准工具集合,存储密集型业务对应的施压工具为网络基准工具集合,网络密集型业务对应的施压工具为存储基准工具集合。管理层系统资源包括:管理层CPU资源、管理层内存资源、管理层存储资源和管理层网络资源;管理层CPU资源对应的施压工具为CPU消耗程序集合,管理层 内存资源对应的施压工具为内存消耗程序集合,管理层存储资源对应的施压工具为存储输入输出IO消耗程序集合,管理层网络资源对应的施压工具为网络IO消耗、网络中断注入程序集合。用户操作包括所述云平台提供的计算类、存储类和网络类面向用户的云服务可供用户执行的操作;用户操作对应的施压工具为模拟用户操作的程序集合。In one possible design, the business layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services, and the pressure-intensive tools corresponding to computationally intensive services are central processor CPU benchmark tools. The pressure-intensive tool corresponding to the memory-intensive service is the memory benchmark tool set, the pressure-intensive tool corresponding to the storage-intensive service is the network benchmark tool set, and the pressure-intensive tool corresponding to the network-intensive service is the storage reference tool set. The management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources; the pressure tools corresponding to the management CPU resources are the CPU consumption program collection, and the management memory resources corresponding to the pressure tools. For the memory consumption program set, the pressure tool corresponding to the management storage resource is a storage input and output IO consumption program set, and the pressure tool corresponding to the management network resource is a network IO consumption and a network interrupt injection program set. The user operation includes a computing class, a storage class, and a network class provided by the cloud platform, and the user-oriented cloud service is operable by the user; the corresponding pressure tool of the user operation is a program set that simulates the user operation.
第三方面,本申请提供一种云平台性能测试装置,包括:存储器和处理器;In a third aspect, the application provides a cloud platform performance testing device, including: a memory and a processor;
存储器用于存储程序指令;The memory is used to store program instructions;
处理器用于调用存储器中的程序指令执行下述方法:The processor is used to call a program instruction in the memory to perform the following method:
在预设的测试运行周期内,对正在运行中的云平台在每一预设压力注入时间间隔点选择一条压力注入路径,并根据所选的压力注入路径进行压力注入:During the preset test run period, a pressure injection path is selected for each of the preset pressure injection time intervals for the running cloud platform, and pressure injection is performed according to the selected pressure injection path:
其中,选择一条压力注入路径具体包括:Wherein, selecting a pressure injection path specifically includes:
根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,N≥1,其中,压力类型为云平台中引发性能问题的压力种类,施压对象为云平台的应用系统和管理系统中产生性能瓶颈的对象,施压规格范围为施压对象的数量的范围,施压工具为进行压力注入的工具集合或程序集合;A pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N The pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types, N≥1, wherein the pressure type is the pressure that causes performance problems in the cloud platform. The type of pressure object is the application system of the cloud platform and the object of the performance bottleneck in the management system. The pressure specification range is the range of the number of pressure objects, and the pressure tool is a tool set or a program set for pressure injection;
在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。During the test operation period, the cloud platform monitoring system monitors the operation of the cloud platform to obtain the test operation result.
第四方面,本申请提供一种可读存储介质,可读存储介质中存储有执行指令,当云平台性能测试装置的至少一个处理器执行该执行指令时,云平台性能测试装置执行第一方面及第一方面任一种可能的设计中的方法。In a fourth aspect, the application provides a readable storage medium, where the execution instructions are stored, and when the at least one processor of the cloud platform performance testing device executes the execution instruction, the cloud platform performance testing device executes the first aspect. And the method of any of the possible aspects of the first aspect.
第五方面,本申请提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。云平台性能测试装置的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得云平台性能测试装置实施第一方面及第一方面任一种可能的设计中的方法。In a fifth aspect, the present application provides a program product comprising an execution instruction stored in a readable storage medium. At least one processor of the cloud platform performance testing device can read the execution instruction from a readable storage medium, and the at least one processor executes the execution instruction to cause the cloud platform performance testing device to implement the first aspect and any one of the possible aspects of the first aspect The method in .
附图说明DRAWINGS
图1为本申请提供的一种云平台性能测试方法实施例的流程图;1 is a flowchart of an embodiment of a cloud platform performance testing method provided by the present application;
图2为本申请提供的一种云平台性能测试方法实施例的流程图;2 is a flowchart of an embodiment of a cloud platform performance testing method provided by the present application;
图3为本申请提供的一种云平台性能测试装置实施例的结构示意图;3 is a schematic structural diagram of an embodiment of a cloud platform performance testing apparatus according to the present application;
图4为本申请提供的一种云平台性能测试装置实施例的结构示意图。FIG. 4 is a schematic structural diagram of an embodiment of a cloud platform performance testing apparatus according to the present application.
具体实施方式Detailed ways
为了使得云平台性能测试的测试结果更加全面、准确,本申请模拟真实应用场景测试云平台的性能,具体通过预先设置测试运行周期和压力注入时间间隔,在设置的运行周期内,对正在运行中的云平台在每一个压力注入时间间隔点选择一条压力注入路径,并根据所选的压力注入路径进行压力注入,压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,将云平台中引发性能问题的压力进行分类,压力注入路径的选择是随机的,因此可最大程度上模拟云平台的真实应用场景下混合、叠加 业务,挖掘真实应用场景中业务长时间运行后数据累积可能产生的性能问题,相比较相关技术中的基于单点的压力注入模型下的性能测试,本申请的测试结果更加全面、准确。下面结合附图详细说明本申请提供的云平台性能测试方法及装置。In order to make the test result of the cloud platform performance test more comprehensive and accurate, the present application simulates the performance of the real application scenario test cloud platform, specifically by setting the test operation cycle and the pressure injection time interval in advance, and in the set operation cycle, the operation is in operation. The cloud platform selects a pressure injection path at each pressure injection time interval, and performs pressure injection according to the selected pressure injection path. The pressure injection path includes the selected N pressure types and N pressure types respectively corresponding to the pressure. The number of objects and pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types respectively classify the pressures that cause performance problems in the cloud platform. The selection of the pressure injection paths is random, so it can be maximized. To simulate the hybrid and overlay services in the real application scenario of the cloud platform, and to explore the performance problems that may occur after the long-running of the business in the real application scenario, compared with the performance test based on the single-point pressure injection model in the related technology. The test results of this application are more comprehensive and accurate. The cloud platform performance testing method and apparatus provided by the present application are described in detail below with reference to the accompanying drawings.
图1为本申请提供的一种云平台性能测试方法实施例的流程图,如图1所示,本实施例的方法可以包括:FIG. 1 is a flowchart of an embodiment of a cloud platform performance testing method provided by the present application. As shown in FIG. 1 , the method in this embodiment may include:
S101、在预设的测试运行周期内,对正在运行中的云平台在每一预设压力注入时间间隔点进行如下操作:S101. Perform the following operations on the running cloud platform at each preset pressure injection time interval in a preset test operation period:
根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,N≥1,根据所选的压力注入路径进行压力注入。A pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N The pressure type corresponds to the number of pressure objects and pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types are respectively N≥1, and pressure injection is performed according to the selected pressure injection path.
具体地,例如测试运行周期为7-10天等等,例如,5分钟进行一次压力注入,压力注入时间间隔点则为5分钟、10分钟、15分钟等。每一次压力注入均要选择一条压力注入路径,再根据所选的压力注入路径进行压力注入。Specifically, for example, the test operation period is 7-10 days, etc., for example, pressure injection is performed for 5 minutes, and the pressure injection time interval is 5 minutes, 10 minutes, 15 minutes, and the like. For each pressure injection, a pressure injection path is selected, and pressure injection is performed according to the selected pressure injection path.
其中,压力类型为云平台中引发性能问题的压力种类,例如,将云平台中可能引发性能问题的压力分为两个维度,一是系统中可能存在的性能瓶颈点例如系统资源的消耗,也即管理层系统资源;二是用户实际应用场景中的操作例如业务应用的执行(业务层负载)、云平台的用户操作,压力类型随机选择。施压对象为云平台的应用系统和管理系统中产生性能瓶颈的对象,例如虚拟机、管理节点、模拟用户前台界面(protal)操作和开放应用程序接口(open Application Programming Interface,API)调用。施压规格范围为施压对象的数量的范围,或者是施压对象的数量的最大值。施压对象为虚拟机时,相应的施压规格范围为系统可以支持的虚拟机的数量的范围,施压对象为管理节点时,相应的施压规格范围系统部署的管理节点范围;施压对象为模拟用户protal操作和open API调用时,相应的施压规格范围为云平台支持的某一用户操作的最大并发数,为随机正整数。施压工具为进行压力注入的工具集合或程序集合。施压工具的压力级别范围可以为压力级别的最大值,施压工具的压力级别随机选择确定。Among them, the pressure type is the type of pressure in the cloud platform that causes performance problems. For example, the pressure on the cloud platform that may cause performance problems is divided into two dimensions. One is the performance bottleneck point that may exist in the system, such as the consumption of system resources. That is, the management system resources; the second is the operation in the user's actual application scenario, such as the execution of the business application (service layer load), the user operation of the cloud platform, and the pressure type is randomly selected. The object of pressure is the application system of the cloud platform and the object that generates performance bottlenecks in the management system, such as a virtual machine, a management node, a simulated user front-end interface (protal) operation, and an open application programming interface (API) call. The pressure specification range is the range of the number of objects to be pressed, or the maximum number of objects to be pressed. When the pressure object is a virtual machine, the corresponding pressure specification range is the range of the number of virtual machines that the system can support. When the pressure object is the management node, the corresponding pressure specification range is the scope of the management node deployed by the system; To simulate user protal operations and open API calls, the corresponding pressure specification range is the maximum number of concurrent operations supported by the cloud platform, which is a random positive integer. The pressure tool is a collection of tools or a collection of programs for pressure injection. The pressure level of the pressure tool can be the maximum value of the pressure level, and the pressure level of the pressure tool is randomly selected and determined.
如下表一为一种压力类型、施压对象、施压规格范围、施压工具和施压工具的压力级别的对应关系表,如表一所示:Table 1 below is a correspondence table of pressure type, pressure object, pressure specification range, pressure level of pressure tool and pressure tool, as shown in Table 1:
表一Table I
Figure PCTCN2018096688-appb-000001
Figure PCTCN2018096688-appb-000001
Figure PCTCN2018096688-appb-000002
Figure PCTCN2018096688-appb-000002
压力类型可以分为三大类,分别是业务层负载、管理层系统资源和用户操作,业务层负载对应的施压对象为虚拟机,管理层系统资源对应的施压对象为管理节点,用户操作对应的施压对象为模拟用户protal操作和open API调用。The pressure types can be divided into three categories: business layer load, management system resources, and user operations. The pressure object corresponding to the business layer load is a virtual machine. The pressure object corresponding to the management system resource is the management node. The corresponding pressure object is the simulated user protal operation and open API call.
其中,业务层负载包括计算密集型业务、内存密集型业务、存储密集型业务和网络密集型业务。计算密集型业务对应的施压工具为中央处理器(CPU)基准(benchmark)工具集合,内存密集型业务对应的施压工具为内存基准(benchmark)工具集合,存储密集型业务对应的施压工具为网络基准(benchmark)工具集合,网络密集型业务对应的施压工具为存储基准(benchmark)工具集合。Among them, the business layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services. The pressure-intensive tool corresponding to the computation-intensive service is a central processing unit (CPU) benchmark tool set, and the pressure-intensive service corresponding to the memory-intensive service is a set of memory benchmark tools, and a load-intensive tool corresponding to the storage-intensive service. For the network benchmark tool set, the pressure tool corresponding to the network-intensive business is a collection of benchmark tools.
管理层系统资源包括:管理层CPU资源、管理层内存资源、管理层存储资源和管理层网络资源。管理层CPU资源对应的施压工具为CPU消耗程序集合,管理层内存资源对应的施压工具为内存消耗程序集合,管理层存储资源对应的施压工具为存储输入输出IO消耗程序集合,管理层网络资源对应的施压工具为网络IO消耗、网络中断注入程序集合。The management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources. The pressure tool corresponding to the management CPU resource is a CPU consumption program set, the pressure tool corresponding to the management memory resource is a memory consumption program set, and the pressure storage tool corresponding to the management storage resource is a storage input and output IO consumption program set, and the management layer The pressure tool corresponding to the network resource is a collection of programs for network IO consumption and network interruption.
用户操作包括云平台提供的计算类、存储类和网络类等面向用户的云服务可供用户执行的操作。例如计算服务、网络服务和存储服务。用户操作对应的施压工具为模拟用户操作的程序集合,例如创建、删除、停止和启动操作集合。User operations include user-oriented operations such as computing, storage, and network classes provided by the cloud platform. For example, computing services, network services, and storage services. The user-operated corresponding pressure tool is a collection of programs that simulate user operations, such as creating, deleting, stopping, and starting a collection of operations.
上述的施压工具的压力级别均为根据对应的施压工具的压力级别范围随机确定。The pressure levels of the above-mentioned pressure applying tools are randomly determined according to the pressure level ranges of the corresponding pressure applying tools.
具体来说,根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,可以为:Specifically, a pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, which may be:
S101a、从压力类型集合中选择N个压力类型。S101a: Select N pressure types from the pressure type set.
S101b、确定N个压力类型分别对应的施压对象,根据施压规格范围随机选择N个压力类型分别对应的施压对象个数。S101b: determining a pressing object corresponding to each of the N pressure types, and randomly selecting the number of pressing objects corresponding to the N pressure types according to the pressure specification range.
S101c、确定N个压力类型分别对应的施压工具,根据施压工具的压力级别范围随机选择N个压力类型分别对应的施压工具的压力级别。S101c: determining pressure tools corresponding to the N pressure types respectively, and randomly selecting pressure levels of the pressure tools corresponding to the N pressure types according to the pressure level range of the pressure application tool.
根据所选的压力注入路径进行压力注入,可以为:Pressure injection according to the selected pressure injection path can be:
根据N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应 的施压工具和N个压力类型分别对应的施压工具的压力级别进行压力注入。The pressure injection is performed according to the pressure targets corresponding to the pressure objects and the pressure objects corresponding to the N pressure types, the pressure tools corresponding to the N pressure types, and the pressure levels of the pressure tools respectively corresponding to the N pressure types.
例如,N为3,所选的压力类型包括2个计算密集型业务和1个计算服务,2个计算密集型业务对应的施压对象分别为5个,1个计算服务对应的施压对象为5个,2个计算密集型业务对应的施压工具为CPU基准工具集合,压力级别分别为M1和M2,1个计算服务对应的施压工具为创建、删除、停止和启动操作集合,压力级别为M3,计算密集型业务和计算服务对应的施压对象分别为虚拟机和模拟用户protal操作、open API调用,进行压力注入时对5个虚拟机采用CPU基准工具集合进行压力级别为M1的压力注入,对5个虚拟机采用CPU基准工具集合进行压力级别为M2的压力注入,对5个模拟用户protal操作、open API调用采用创建、删除、停止和启动操作集合进行压力级别为M3的压力注入。For example, N is 3, the selected pressure type includes 2 computationally intensive services and 1 computing service, and 2 computationally intensive services correspond to 5 pressure objects respectively, and the pressure object corresponding to one computing service is The pressure tools corresponding to the five computing intensive services are the CPU benchmark tools. The pressure levels are M1 and M2 respectively. The pressure tools corresponding to one computing service are the set of creation, deletion, stop and start operations, and the pressure level. For M3, the pressure-bearing objects corresponding to computation-intensive services and computing services are virtual machine and simulated user protal operations and open API calls. When pressure injection is performed, five virtual machines adopt the CPU benchmark tool set to perform pressure level M1. Injection, pressure injection with pressure level M2 for 5 virtual machines using CPU benchmark tool set, pressure injection with pressure level M3 for 5 simulated user protal operations, open API calls using set of creation, deletion, stop and start operations .
S102、在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。S102. Monitor the running of the cloud platform through the cloud platform monitoring system during the test operation period to obtain a test operation result.
例如,测试运行周期为7-10天,云平台正常运行7-10天,整个运行过程中进行正常的功能操作,在上述随机压力注入背景下,通过云平台监控系统观察云平台系统的响应时间、资源占用等性能监指标项是否超过阈值,观察系统各个功能模块是否产生错误日志、挂起、无响应异常等,进行分析,从而获取测试运行结果。For example, the test running period is 7-10 days, the cloud platform runs normally for 7-10 days, and the normal functional operation is performed during the whole running process. Under the background of the random pressure injection described above, the response time of the cloud platform system is observed through the cloud platform monitoring system. Whether the performance monitoring index items such as resource occupancy exceed the threshold value, and observe whether each function module of the system generates an error log, a suspension, a non-response abnormality, etc., and performs analysis to obtain a test operation result.
本实施例提供的云平台性能测试方法,通过预先设置测试运行周期和压力注入时间间隔,在测试运行周期内,对正在运行中的云平台在每一压力注入时间间隔点选择一条压力注入路径,并根据所选的压力注入路径进行压力注入。其中的压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。由于每一次的压力注入路径的选择,是根据不同压力类型、压力类型对应的施压对象及施压对象个数、压力类型对应的施压工具及施压工具的压力级别进行随机的选择的,因此可最大程度上模拟云平台的真实应用场景下混合、叠加业务,挖掘真实应用场景中业务长时间运行后数据累积可能产生的性能问题,相比较相关技术中的基于单点的压力注入模型下的性能测试,本申请的测试结果更加全面,提高了测试的准确性。The cloud platform performance testing method provided by the embodiment selects a test injection period and a pressure injection time interval in advance, and selects a pressure injection path for each of the pressure injection time intervals in the running cloud platform during the test operation period. Pressure injection is performed according to the selected pressure injection path. The pressure injection path includes the selected N pressure types, the pressure objects corresponding to the N pressure types, the number of pressure objects, the pressure levels of the pressure tools corresponding to the N pressure types, and the pressure level of the pressure tool. During the test operation period, the cloud platform monitoring system monitors the operation of the cloud platform to obtain test operation results. Since the selection of each pressure injection path is randomly selected according to different pressure types, the pressure type corresponding to the pressure object and the number of pressure objects, the pressure type corresponding pressure tool and the pressure level of the pressure tool, Therefore, the hybrid and overlay services in the real application scenario of the cloud platform can be simulated to the greatest extent, and the performance problems that may occur after the long-running of the business in the real application scenario are mined, compared with the single-point based pressure injection model in the related art. The performance test of this application is more comprehensive and improves the accuracy of the test.
下面采用一个具体的实施例,对图1所示方法实施例的技术方案进行详细说明。The technical solution of the method embodiment shown in FIG. 1 is described in detail below by using a specific embodiment.
图2为本申请提供的一种云平台性能测试方法实施例的流程图,如图2所示,本实施例的方法可以包括:2 is a flowchart of an embodiment of a cloud platform performance testing method provided by the present application. As shown in FIG. 2, the method in this embodiment may include:
S201、性能测试开始。S201, the performance test begins.
S202、在预设的测试运行周期内,进行随机压力注入。S202: Perform random pressure injection during a preset test operation period.
具体地,进行随机压力注入包括:Specifically, performing random pressure injection includes:
S202a、从压力类型集合中选择压力类型1。S202a. Select a pressure type 1 from the set of pressure types.
S202b、确定所选择的压力类型1对应的施压对象X,根据施压规格范围[0,m]随机选择压力类型1对应的施压对象个数n,施压对象的最大个数为m,n≤m。S202b, determining the pressing object X corresponding to the selected pressure type 1, and randomly selecting the number n of pressing objects corresponding to the pressure type 1 according to the pressure specification range [0, m], and the maximum number of pressing objects is m, n ≤ m.
S202c、从施压工具集合R中确定压力类型1对应的施压工具R1,并根据施压工具R1的压力级别范围[0,L]选择压力级别L1。S202c. Determine the pressure application tool R1 corresponding to the pressure type 1 from the pressure tool set R, and select the pressure level L1 according to the pressure level range [0, L] of the pressure application tool R1.
S202d、对n个施压对象X1到Xn,使用施压工具R1进行压力级别L1的压力注 入。S202d, pressure injection of the pressure level L1 is performed using the pressing tool R1 for the n pressure applying objects X1 to Xn.
测试运行周期若结束,则停止加压,否则继续在每一预设压力注入时间间隔点进行随机压力注入。If the test run cycle ends, the pressurization is stopped, otherwise random pressure injection continues at each predetermined pressure injection time interval.
S203、全程性能指标观测,即在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。S203, the whole process performance indicator observation, that is, the test operation result is obtained by monitoring the operation of the cloud platform through the cloud platform monitoring system during the test operation period.
本实施例中是以所选的压力类型为1个为例进行说明,当压力类型为多个时,压力注入路径的选择和压力注入是类似的,此处不再一一举例。In this embodiment, the selected pressure type is taken as an example. When the pressure type is multiple, the selection of the pressure injection path and the pressure injection are similar, and are not exemplified herein.
本申请可以根据上述方法示例对云平台性能测试装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请各实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The application may divide the functional modules of the cloud platform performance testing device according to the above method example. For example, each functional module may be divided according to each function, or two or more functions may be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
图3为本申请提供的一种云平台性能测试装置实施例的结构示意图,如图3所示,该装置包括:存储器11、处理器12、接口电路13以及总线14,其中,FIG. 3 is a schematic structural diagram of an embodiment of a cloud platform performance testing apparatus according to the present application. As shown in FIG. 3, the apparatus includes: a memory 11, a processor 12, an interface circuit 13, and a bus 14, wherein
存储器11、处理器12和接口电路13通过总线14连接并完成相互间的通信。处理器12通过接口电路13接收或发送信息,例如控制信息、数据等。The memory 11, the processor 12, and the interface circuit 13 are connected by the bus 14 and complete communication with each other. The processor 12 receives or transmits information, such as control information, data, etc., through the interface circuit 13.
其中,存储器11中存储一组程序代码,处理器12调用存储器11中存储的程序代码,执行以下操作:The memory 11 stores a set of program codes, and the processor 12 calls the program code stored in the memory 11 to perform the following operations:
在预设的测试运行周期内,对正在运行中的云平台在每一预设压力注入时间间隔点进行如下操作:During the preset test run period, the following operations are performed on the running cloud platform at each preset pressure injection time interval:
根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,N≥1。A pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N The pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types are respectively N≥1.
其中,压力类型为云平台中引发性能问题的压力种类,例如,将云平台中可能引发性能问题的压力分为两个维度,一是系统中可能存在的性能瓶颈点例如系统资源的消耗,也即管理层系统资源;二是用户实际应用场景中的操作例如业务应用的执行(业务层负载)、云平台的用户操作,压力类型随机选择。施压对象为云平台的应用系统和管理系统中产生性能瓶颈的对象,例如虚拟机、管理节点、模拟用户前台界面(protal)操作和开放应用程序接口(open API)调用。施压规格范围为施压对象的数量的范围,或者是施压对象的数量的最大值。施压对象为虚拟机或管理节点时,相应的施压规格范围为虚拟机或管理节点的数量的范围;施压对象为模拟用户protal操作和open API调用时,相应的施压规格范围为云平台支持的某一用户操作的最大并发数。施压工具为进行压力注入的工具集合或程序集合。施压工具的压力级别范围可以为压力级别的最大值,施压工具的压力级别随机选择确定。Among them, the pressure type is the type of pressure in the cloud platform that causes performance problems. For example, the pressure on the cloud platform that may cause performance problems is divided into two dimensions. One is the performance bottleneck point that may exist in the system, such as the consumption of system resources. That is, the management system resources; the second is the operation in the user's actual application scenario, such as the execution of the business application (service layer load), the user operation of the cloud platform, and the pressure type is randomly selected. The object of pressure is the application system of the cloud platform and the objects that cause performance bottlenecks in the management system, such as virtual machines, management nodes, simulated user front-end interface (protal) operations, and open application interface (open API) calls. The pressure specification range is the range of the number of objects to be pressed, or the maximum number of objects to be pressed. When the pressure object is a virtual machine or a management node, the corresponding pressure specification range is the range of the number of virtual machines or management nodes; when the pressure object is the simulated user protal operation and the open API call, the corresponding pressure specification range is cloud. The maximum number of concurrent operations for a user supported by the platform. The pressure tool is a collection of tools or a collection of programs for pressure injection. The pressure level of the pressure tool can be the maximum value of the pressure level, and the pressure level of the pressure tool is randomly selected and determined.
根据所选的压力注入路径进行压力注入。Pressure injection is performed according to the selected pressure injection path.
在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。During the test operation period, the cloud platform monitoring system monitors the operation of the cloud platform to obtain the test operation result.
图4为本申请提供的一种云平台性能测试装置实施例的结构示意图,如图4所示,本实施例的装置可以包括:压力注入模块21和获取模块22,其中,4 is a schematic structural diagram of an embodiment of a cloud platform performance testing device according to the present application. As shown in FIG. 4, the device in this embodiment may include: a pressure injection module 21 and an acquisition module 22, where
压力注入模块21用于在预设的测试运行周期内,对正在运行中的云平台在每一预设压力注入时间间隔点进行如下操作:The pressure injection module 21 is configured to perform the following operations on the running cloud platform at each preset pressure injection time interval during a preset test operation period:
根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具及施压工具的压力级别,N≥1,其中,压力类型为云平台中引发性能问题的压力种类,施压对象为云平台的应用系统和管理系统中产生性能瓶颈的对象,施压规格范围为施压对象的数量的范围,施压工具为进行压力注入的工具集合或程序集合。根据所选的压力注入路径进行压力注入。A pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, and the pressure injection path includes the selected N pressure types and N The pressure type corresponds to the number of pressure objects and the number of pressure objects, and the pressure levels of the pressure tools and pressure tools corresponding to the N pressure types, N≥1, wherein the pressure type is the pressure that causes performance problems in the cloud platform. The type of pressure object is the application system of the cloud platform and the object of the performance bottleneck in the management system. The pressure specification range is the range of the number of pressure objects, and the pressure tool is a tool set or a program set for pressure injection. Pressure injection is performed according to the selected pressure injection path.
获取模块22用于在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。The obtaining module 22 is configured to obtain a test running result by monitoring the running of the cloud platform by the cloud platform monitoring system during the test running period.
进一步地,压力注入模块21具体用于:从压力类型集合中选择N个压力类型,确定N个压力类型分别对应的施压对象,根据施压规格范围随机选择N个压力类型分别对应的施压对象个数,确定N个压力类型分别对应的施压工具,根据施压工具的压力级别范围随机选择N个压力类型分别对应的施压工具的压力级别。Further, the pressure injection module 21 is specifically configured to: select N pressure types from the pressure type set, determine the pressure objects corresponding to the N pressure types, and randomly select the pressure corresponding to the N pressure types according to the pressure specification range. The number of objects is determined, and the pressure tools corresponding to the N pressure types are respectively determined, and the pressure levels of the pressure tools corresponding to the N pressure types are randomly selected according to the pressure level range of the pressure application tool.
进一步地,压力注入模块21具体用于:根据N个压力类型分别对应的施压对象及施压对象个数、N个压力类型分别对应的施压工具和N个压力类型分别对应的施压工具的压力级别进行压力注入。Further, the pressure injection module 21 is specifically configured to: respectively, according to the pressure types of the N pressure types, the number of pressure objects, the pressure tools corresponding to the N pressure types, and the pressure tools corresponding to the N pressure types respectively. The pressure level is pressure injected.
可选的,压力类型包括业务层负载、管理层系统资源和用户操作,述业务层负载对应的施压对象为虚拟机,管理层系统资源对应的施压对象为管理节点,用户操作对应的施压对象为模拟用户前台界面操作和开放应用程序接口调用。Optionally, the pressure type includes a service layer load, a management system resource, and a user operation, and the pressure object corresponding to the service layer load is a virtual machine, and the pressure object corresponding to the management system resource is a management node, and the user operation corresponding to the application The object is the mock user front-end interface operation and the open application interface call.
可选的,业务层负载包括计算密集型业务、内存密集型业务、存储密集型业务和网络密集型业务。计算密集型业务对应的施压工具为中央处理器(CPU)基准(benchmark)工具集合,内存密集型业务对应的施压工具为内存基准(benchmark)工具集合,存储密集型业务对应的施压工具为网络基准(benchmark)工具集合,网络密集型业务对应的施压工具为存储基准(benchmark)工具集合。Optionally, the business layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services. The pressure-intensive tool corresponding to the computation-intensive service is a central processing unit (CPU) benchmark tool set, and the pressure-intensive service corresponding to the memory-intensive service is a set of memory benchmark tools, and a load-intensive tool corresponding to the storage-intensive service. For the network benchmark tool set, the pressure tool corresponding to the network-intensive business is a collection of benchmark tools.
管理层系统资源包括:管理层CPU资源、管理层内存资源、管理层存储资源和管理层网络资源。管理层CPU资源对应的施压工具为CPU消耗程序集合,管理层内存资源对应的施压工具为内存消耗程序集合,管理层存储资源对应的施压工具为存储输入输出IO消耗程序集合,管理层网络资源对应的施压工具为网络IO消耗、网络中断注入程序集合。The management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources. The pressure tool corresponding to the management CPU resource is a CPU consumption program set, the pressure tool corresponding to the management memory resource is a memory consumption program set, and the pressure storage tool corresponding to the management storage resource is a storage input and output IO consumption program set, and the management layer The pressure tool corresponding to the network resource is a collection of programs for network IO consumption and network interruption.
用户操作包括所述云平台提供的计算类、存储类和网络类面向用户的云服务可供用户执行的操作。用户操作对应的施压工具为模拟用户操作的程序集合。The user operation includes operations of the computing class, the storage class, and the network class user-oriented cloud service provided by the cloud platform for the user to perform. The user-applied pressure tool is a collection of programs that simulate user operations.
本实施例的装置,可以用于执行图1所示方法实施例的技术方案,其实现原理类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 , and the implementation principle is similar, and details are not described herein again.
本实施例提供的云平台性能测试装置,通过预先设置测试运行周期和压力注入时间间隔,在测试运行周期内,对正在运行中的云平台在每一压力注入时间间隔点选择一条压力注入路径,并根据所选的压力注入路径进行压力注入。其中的压力注入路径包括被选的N个压力类型、N个压力类型分别对应的施压对象及施压对象个数、N个 压力类型分别对应的施压工具及施压工具的压力级别,在测试运行周期内通过云平台监控系统监控云平台的运行获取测试运行结果。由于每一次的压力注入路径的选择,是根据不同压力类型、压力类型对应的施压对象及施压对象个数、压力类型对应的施压工具及施压工具的压力级别进行随机的选择的,因此可最大程度上模拟云平台的真实应用场景下混合、叠加业务,挖掘真实应用场景中业务长时间运行后数据累积可能产生的性能问题,相比较相关技术中的基于单点的压力注入模型下的性能测试,本申请的测试结果更加全面,提高了测试的准确性。The cloud platform performance testing device provided by the embodiment selects a test injection cycle and a pressure injection time interval in advance, and selects a pressure injection path for each cloud injection time interval in the running cloud platform during the test operation cycle. Pressure injection is performed according to the selected pressure injection path. The pressure injection path includes the selected N pressure types, the pressure objects corresponding to the N pressure types, the number of pressure objects, the pressure levels of the pressure tools corresponding to the N pressure types, and the pressure level of the pressure tool. During the test operation period, the cloud platform monitoring system monitors the operation of the cloud platform to obtain test operation results. Since the selection of each pressure injection path is randomly selected according to different pressure types, the pressure type corresponding to the pressure object and the number of pressure objects, the pressure type corresponding pressure tool and the pressure level of the pressure tool, Therefore, the hybrid and overlay services in the real application scenario of the cloud platform can be simulated to the greatest extent, and the performance problems that may occur after the long-running of the business in the real application scenario are mined, compared with the single-point based pressure injection model in the related art. The performance test of this application is more comprehensive and improves the accuracy of the test.
本申请还提供一种可读存储介质,可读存储介质中存储有执行指令,当云平台性能测试装置的至少一个处理器执行该执行指令时,云平台性能测试装置执行上述图1所示的云平台性能测试方法。The application further provides a readable storage medium, where the execution instructions are stored, and when at least one processor of the cloud platform performance testing device executes the execution instruction, the cloud platform performance testing device executes the foregoing FIG. Cloud platform performance testing method.
本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。云平台性能测试装置的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得云平台性能测试装置实施上述图1所示的云平台性能测试方法。The application also provides a program product comprising an execution instruction stored in a readable storage medium. The at least one processor of the cloud platform performance testing device can read the execution instruction from the readable storage medium, and the at least one processor executes the execution instruction to cause the cloud platform performance testing device to implement the cloud platform performance testing method shown in FIG. 1 above.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Claims (10)

  1. 一种云平台性能测试方法,其特征在于,包括:A cloud platform performance testing method, comprising:
    在预设的测试运行周期内,对正在运行中的云平台在每一预设压力注入时间间隔点进行如下操作:During the preset test run period, the following operations are performed on the running cloud platform at each preset pressure injection time interval:
    根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,所述压力注入路径包括被选的N个压力类型、所述N个压力类型分别对应的施压对象及施压对象个数、所述N个压力类型分别对应的施压工具及施压工具的压力级别,N≥1,其中,所述压力类型为云平台中引发性能问题的压力种类,所述施压对象为云平台的应用系统和管理系统中产生性能瓶颈的对象,施压规格范围为所述施压对象的数量的范围,所述施压工具为进行压力注入的工具集合或程序集合;A pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, the pressure injection path including the selected N pressure types, a pressure level corresponding to the pressing object and the pressing object corresponding to the N pressure types, and a pressure level of the pressing tool and the pressing tool respectively corresponding to the N pressure types, N≥1, wherein the pressure type is a type of pressure in a cloud platform that causes a performance problem, the pressure object is an application system of the cloud platform and an object of a performance bottleneck in the management system, and the pressure specification range is a range of the number of the pressure object, the pressure A collection of tools or programs that are used for pressure injection;
    根据所选的压力注入路径进行压力注入;Pressure injection according to the selected pressure injection path;
    在所述测试运行周期内通过云平台监控系统监控所述云平台的运行获取测试运行结果。During the test operation period, the cloud platform monitoring system monitors the operation of the cloud platform to obtain a test operation result.
  2. 根据权利要求1所述的方法,其特征在于,所述根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,包括:The method according to claim 1, wherein said randomly selecting a pressure injection path according to a pre-stored pressure type set, a pressure object set, a pressure specification range, a pressure tool set, and a pressure level range of the pressure tool ,include:
    从所述压力类型集合中选择所述N个压力类型;Selecting the N pressure types from the set of pressure types;
    确定所述N个压力类型分别对应的施压对象,根据所述施压规格范围随机选择所述N个压力类型分别对应的施压对象个数;Determining the pressing objects corresponding to the N pressure types respectively, and randomly selecting the number of pressing objects corresponding to the N pressure types according to the pressure specification range;
    确定所述N个压力类型分别对应的施压工具,根据所述施压工具的压力级别范围随机选择所述N个压力类型分别对应的施压工具的压力级别。Determining the pressing tools corresponding to the N pressure types respectively, and randomly selecting the pressure levels of the pressing tools corresponding to the N pressure types according to the pressure level range of the pressing tool.
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所选的压力注入路径进行压力注入,包括:The method according to claim 1 or 2, wherein said performing pressure injection according to the selected pressure injection path comprises:
    根据所述N个压力类型分别对应的施压对象及施压对象个数、所述N个压力类型分别对应的施压工具和所述N个压力类型分别对应的施压工具的压力级别进行压力注入。And pressing according to the pressure levels of the pressing objects corresponding to the N pressure types, the pressing objects corresponding to the N pressure types, and the pressure tools corresponding to the N pressure types respectively injection.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述压力类型包括业务层负载、管理层系统资源和用户操作;The method according to any one of claims 1 to 3, wherein the type of stress comprises a service layer load, a management system resource, and a user operation;
    所述业务层负载对应的施压对象为虚拟机,所述管理层系统资源对应的施压对象为管理节点,所述用户操作对应的施压对象为模拟用户前台界面操作和开放应用程序接口调用。The pressure object corresponding to the service layer load is a virtual machine, and the pressure object corresponding to the management system resource is a management node, and the pressure object corresponding to the user operation is an analog user front-end interface operation and an open application interface call. .
  5. 根据权利要求4所述的方法,其特征在于:The method of claim 4 wherein:
    所述业务层负载包括计算密集型业务、内存密集型业务、存储密集型业务和网络密集型业务;The service layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services;
    所述计算密集型业务对应的施压工具为中央处理器CPU基准工具集合,所述内存密集型业务对应的施压工具为内存基准工具集合,所述存储密集型业务对应的施压工具为网络基准工具集合,所述网络密集型业务对应的施压工具为存储基准工具集合;The pressure-intensive tool corresponding to the computation-intensive service is a central processor CPU reference tool set, and the pressure-intensive service corresponding pressure-applying tool is a memory reference tool set, and the storage-intensive service corresponding pressure-applying tool is a network a set of benchmark tools, the pressure tool corresponding to the network-intensive service is a set of storage reference tools;
    所述管理层系统资源包括:管理层CPU资源、管理层内存资源、管理层存储资源 和管理层网络资源;The management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources;
    所述管理层CPU资源对应的施压工具为CPU消耗程序集合,所述管理层内存资源对应的施压工具为内存消耗程序集合,所述管理层存储资源对应的施压工具为存储输入输出IO消耗程序集合,所述管理层网络资源对应的施压工具为网络IO消耗、网络中断注入程序集合;The pressure tool corresponding to the management CPU resource is a CPU consumption program set, the pressure tool corresponding to the management memory resource is a memory consumption program set, and the pressure management tool corresponding to the management storage resource is a storage input and output IO. The collection of the program, the pressure tool corresponding to the management network resource is a network IO consumption, a network interrupt injection program set;
    所述用户操作包括所述云平台提供的计算类、存储类和网络类面向用户的云服务可供用户执行的操作;The user operation includes operations of the computing class, the storage class, and the network class user-oriented cloud service provided by the cloud platform for the user to perform;
    所述用户操作对应的施压工具为模拟用户操作的程序集合。The pressure tool corresponding to the user operation is a program set that simulates a user operation.
  6. 一种云平台性能测试装置,其特征在于,包括:A cloud platform performance testing device, comprising:
    压力注入模块,用于在预设的测试运行周期内,对正在运行中的云平台在每一预设压力注入时间间隔点进行如下操作:The pressure injection module is configured to perform the following operations on the running cloud platform at each preset pressure injection time interval during a preset test operation period:
    根据预存的压力类型集合、施压对象集合、施压规格范围、施压工具集合和施压工具的压力级别范围随机选择一条压力注入路径,所述压力注入路径包括被选的N个压力类型、所述N个压力类型分别对应的施压对象及施压对象个数、所述N个压力类型分别对应的施压工具及施压工具的压力级别,N≥1,其中,所述压力类型为云平台中引发性能问题的压力种类,所述施压对象为云平台的应用系统和管理系统中产生性能瓶颈的对象,施压规格范围为所述施压对象的数量的范围,所述施压工具为进行压力注入的工具集合或程序集合;A pressure injection path is randomly selected according to the pre-stored pressure type set, the pressure object set, the pressure specification range, the pressure tool set, and the pressure level range of the pressure tool, the pressure injection path including the selected N pressure types, a pressure level corresponding to the pressing object and the pressing object corresponding to the N pressure types, and a pressure level of the pressing tool and the pressing tool respectively corresponding to the N pressure types, N≥1, wherein the pressure type is a type of pressure in a cloud platform that causes a performance problem, the pressure object is an application system of the cloud platform and an object of a performance bottleneck in the management system, and the pressure specification range is a range of the number of the pressure object, the pressure A collection of tools or programs that are used for pressure injection;
    根据所选的压力注入路径进行压力注入;Pressure injection according to the selected pressure injection path;
    获取模块,用于在所述测试运行周期内通过云平台监控系统监控所述云平台的运行获取测试运行结果。And an obtaining module, configured to monitor, by the cloud platform monitoring system, the operation of the cloud platform to obtain a test running result during the testing operation period.
  7. 根据权利要求6所述的装置,其特征在于,所述压力注入模块具体用于:The device according to claim 6, wherein the pressure injection module is specifically configured to:
    从所述压力类型集合中选择所述N个压力类型;Selecting the N pressure types from the set of pressure types;
    确定所述N个压力类型分别对应的施压对象,根据所述施压规格范围随机选择所述N个压力类型分别对应的施压对象个数;Determining the pressing objects corresponding to the N pressure types respectively, and randomly selecting the number of pressing objects corresponding to the N pressure types according to the pressure specification range;
    确定所述N个压力类型分别对应的施压工具,根据所述施压工具的压力级别范围随机选择所述N个压力类型分别对应的施压工具的压力级别。Determining the pressing tools corresponding to the N pressure types respectively, and randomly selecting the pressure levels of the pressing tools corresponding to the N pressure types according to the pressure level range of the pressing tool.
  8. 根据权利要求6或7所述的装置,其特征在于,所述压力注入模块具体用于:The device according to claim 6 or 7, wherein the pressure injection module is specifically configured to:
    根据所述N个压力类型分别对应的施压对象及施压对象个数、所述N个压力类型分别对应的施压工具和所述N个压力类型分别对应的施压工具的压力级别进行压力注入。And pressing according to the pressure levels of the pressing objects corresponding to the N pressure types, the pressing objects corresponding to the N pressure types, and the pressure tools corresponding to the N pressure types respectively injection.
  9. 根据权利要求6-8任一项所述的装置,其特征在于,所述压力类型包括业务层负载、管理层系统资源和用户操作;The apparatus according to any one of claims 6-8, wherein the type of stress comprises a service layer load, a management system resource, and a user operation;
    所述业务层负载对应的施压对象为虚拟机,所述管理层系统资源对应的施压对象为管理节点,所述用户操作对应的施压对象为模拟用户前台界面操作和开放应用程序接口调用。The pressure object corresponding to the service layer load is a virtual machine, and the pressure object corresponding to the management system resource is a management node, and the pressure object corresponding to the user operation is an analog user front-end interface operation and an open application interface call. .
  10. 根据权利要求9所述的装置,其特征在于:The device of claim 9 wherein:
    所述业务层负载包括计算密集型业务、内存密集型业务、存储密集型业务和网络密集型业务;The service layer load includes computationally intensive services, memory intensive services, storage intensive services, and network intensive services;
    所述计算密集型业务对应的施压工具为中央处理器CPU基准工具集合,所述内存密集型业务对应的施压工具为内存基准工具集合,所述存储密集型业务对应的施压工具为网络基准工具集合,所述网络密集型业务对应的施压工具为存储基准工具集合;The pressure-intensive tool corresponding to the computation-intensive service is a central processor CPU reference tool set, and the pressure-intensive service corresponding pressure-applying tool is a memory reference tool set, and the storage-intensive service corresponding pressure-applying tool is a network a set of benchmark tools, the pressure tool corresponding to the network-intensive service is a set of storage reference tools;
    所述管理层系统资源包括:管理层CPU资源、管理层内存资源、管理层存储资源和管理层网络资源;The management system resources include: management CPU resources, management memory resources, management storage resources, and management network resources;
    所述管理层CPU资源对应的施压工具为CPU消耗程序集合,所述管理层内存资源对应的施压工具为内存消耗程序集合,所述管理层存储资源对应的施压工具为存储输入输出IO消耗程序集合,所述管理层网络资源对应的施压工具为网络IO消耗、网络中断注入程序集合;The pressure tool corresponding to the management CPU resource is a CPU consumption program set, the pressure tool corresponding to the management memory resource is a memory consumption program set, and the pressure management tool corresponding to the management storage resource is a storage input and output IO. The collection of the program, the pressure tool corresponding to the management network resource is a network IO consumption, a network interrupt injection program set;
    所述用户操作包括所述云平台提供的计算类、存储类和网络类面向用户的云服务可供用户执行的操作;The user operation includes operations of the computing class, the storage class, and the network class user-oriented cloud service provided by the cloud platform for the user to perform;
    所述用户操作对应的施压工具为模拟用户操作的程序集合。The pressure tool corresponding to the user operation is a program set that simulates a user operation.
PCT/CN2018/096688 2017-07-24 2018-07-23 Method and device for cloud platform performance testing WO2019019975A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710607864.3A CN107547261B (en) 2017-07-24 2017-07-24 Cloud platform performance test method and device
CN201710607864.3 2017-07-24

Publications (1)

Publication Number Publication Date
WO2019019975A1 true WO2019019975A1 (en) 2019-01-31

Family

ID=60970360

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/096688 WO2019019975A1 (en) 2017-07-24 2018-07-23 Method and device for cloud platform performance testing

Country Status (2)

Country Link
CN (1) CN107547261B (en)
WO (1) WO2019019975A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488284A (en) * 2020-04-14 2020-08-04 上海仪电(集团)有限公司中央研究院 Simulation operation active detection method for OpenStack cloud platform
CN111666197A (en) * 2020-06-05 2020-09-15 北京百度网讯科技有限公司 Pressure testing method and device, electronic equipment and computer readable medium
CN113760672A (en) * 2020-11-17 2021-12-07 北京沃东天骏信息技术有限公司 Performance test method, equipment and storage medium for multi-cloud platform resources

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547261B (en) * 2017-07-24 2020-10-27 华为技术有限公司 Cloud platform performance test method and device
CN109408364A (en) * 2018-08-28 2019-03-01 深圳壹账通智能科技有限公司 Method for analyzing performance, device, terminal and the computer storage medium of software product
CN110968495A (en) * 2018-09-29 2020-04-07 浙江大学 Container cloud platform performance evaluation method and device
CN110971478B (en) * 2018-09-30 2022-04-26 北京奇虎科技有限公司 Pressure measurement method and device for cloud platform service performance and computing equipment
CN109450743A (en) * 2019-01-24 2019-03-08 紫光云数科技有限公司 Platform of internet of things pressure testing system, method, apparatus and server
CN111124853B (en) * 2019-11-22 2022-08-23 福建升腾资讯有限公司 Cloud desktop scale evaluation system and method based on CPU performance

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331477A (en) * 2014-11-04 2015-02-04 哈尔滨工业大学 Method for testing concurrency property of cloud platform based on federated research
WO2015084140A1 (en) * 2013-12-03 2015-06-11 Mimos Berhad A system and method for emulating multiple independent wireless client devices in the cloud
CN104866408A (en) * 2014-02-20 2015-08-26 阿里巴巴集团控股有限公司 Capacity prediction method and device for application system
CN106776289A (en) * 2016-11-24 2017-05-31 山东交通学院 Multitask self adaptation cloud method of testing
CN107547261A (en) * 2017-07-24 2018-01-05 华为技术有限公司 Cloud platform performance test methods and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130343181A1 (en) * 2012-06-21 2013-12-26 Jonathan Stroud Systems and methods of data processing using an fpga-implemented hash function
CN103023967B (en) * 2012-11-15 2015-05-27 武汉邮电科学研究院 Cloud computing simulation system and method based on simics system simulator
CN104113443B (en) * 2013-04-19 2018-10-02 南京中兴新软件有限责任公司 A kind of network device detection methods, device and cloud detection system
US9846585B2 (en) * 2013-05-14 2017-12-19 Rockwell Automation Technologies, Inc. System and method for emulation of an automation control system
CN104378252A (en) * 2014-08-26 2015-02-25 国家电网公司 Cloud testing service platform
CN104333488B (en) * 2014-11-04 2017-06-20 哈尔滨工业大学 Cloud service platform performance test methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015084140A1 (en) * 2013-12-03 2015-06-11 Mimos Berhad A system and method for emulating multiple independent wireless client devices in the cloud
CN104866408A (en) * 2014-02-20 2015-08-26 阿里巴巴集团控股有限公司 Capacity prediction method and device for application system
CN104331477A (en) * 2014-11-04 2015-02-04 哈尔滨工业大学 Method for testing concurrency property of cloud platform based on federated research
CN106776289A (en) * 2016-11-24 2017-05-31 山东交通学院 Multitask self adaptation cloud method of testing
CN107547261A (en) * 2017-07-24 2018-01-05 华为技术有限公司 Cloud platform performance test methods and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488284A (en) * 2020-04-14 2020-08-04 上海仪电(集团)有限公司中央研究院 Simulation operation active detection method for OpenStack cloud platform
CN111666197A (en) * 2020-06-05 2020-09-15 北京百度网讯科技有限公司 Pressure testing method and device, electronic equipment and computer readable medium
CN113760672A (en) * 2020-11-17 2021-12-07 北京沃东天骏信息技术有限公司 Performance test method, equipment and storage medium for multi-cloud platform resources

Also Published As

Publication number Publication date
CN107547261B (en) 2020-10-27
CN107547261A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
WO2019019975A1 (en) Method and device for cloud platform performance testing
US8631401B2 (en) Capacity planning by transaction type
CN103092751B (en) Web application performance test system based on customer behavior model in cloud environment
CN110618924B (en) Link pressure testing method of web application system
CN106055464B (en) Data buffer storage testing schooling pressure device and method
CN107659455B (en) Method, storage medium, device and system for Mock data of iOS (internet operating system) end
CN104252481A (en) Dynamic check method and device for consistency of main and salve databases
CN109309596B (en) Pressure testing method and device and server
Willnecker et al. Comparing the accuracy of resource demand measurement and estimation techniques
CN112732499A (en) Test method and device based on micro-service architecture and computer system
CN104572289A (en) Virtualization-based server configuration measurement processing method and device
CN112433908B (en) Method, system, device and medium for determining interval time of detection server
US20120284695A1 (en) Error simulation
CN107515803A (en) A kind of storing performance testing method and device
US9860155B1 (en) Code coverage and data analysis
Khokhlov et al. Data security and quality evaluation framework: Implementation empirical study on android devices
CN110347577B (en) Page testing method, device and equipment thereof
CN111444102A (en) Method and system for testing off-line computing engine
CN101470660A (en) Method for system test through subsystem efficiency reference generator
CN111274112A (en) Application program pressure test method and device, computer equipment and storage medium
CN110851344A (en) Big data testing method and device based on computational formula complexity and electronic equipment
CN111949504A (en) Pressure testing method, device and medium
CN113722237B (en) Device testing method and electronic device
CN115225548B (en) Method for evaluating cloud desktop bearing capacity by server and storage medium
CN116860585A (en) Impulse testing method, impulse testing device, and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18837686

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18837686

Country of ref document: EP

Kind code of ref document: A1