CN115576827A - Performance test method, device, equipment and storage medium of business process software - Google Patents

Performance test method, device, equipment and storage medium of business process software Download PDF

Info

Publication number
CN115576827A
CN115576827A CN202211316444.7A CN202211316444A CN115576827A CN 115576827 A CN115576827 A CN 115576827A CN 202211316444 A CN202211316444 A CN 202211316444A CN 115576827 A CN115576827 A CN 115576827A
Authority
CN
China
Prior art keywords
transaction
sub
test
target
target test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211316444.7A
Other languages
Chinese (zh)
Inventor
金宝珠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202211316444.7A priority Critical patent/CN115576827A/en
Publication of CN115576827A publication Critical patent/CN115576827A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Abstract

The invention discloses a performance testing method, a performance testing device, performance testing equipment and a performance testing storage medium of business process software. The method comprises the following steps: acquiring a business process to be tested of target business process software; dividing the business process to be tested into at least two sub-transaction businesses with a process correlation sequence, and determining a calling test tool of each sub-transaction business; and according to the flow association sequence, adopting a calling test tool corresponding to each sub-transaction service to sequentially execute the corresponding sub-transaction services so as to complete the performance test of the target service flow software. The invention can automatically transmit the data of the business process transaction and can carry out the whole business process under the condition of no participation of testers, thereby realizing the automatic detection of the performance of the software during the execution of each sub-transaction in the business process transaction, more comprehensively evaluating the target business process software, realizing the automatic operation in the whole performance test process, shortening the test time and saving manpower and material resources.

Description

Performance test method, device, equipment and storage medium of business process software
Technical Field
The present invention relates to the field of software testing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for testing performance of business process software.
Background
Generally, the test of software is mainly performed according to the running data generated after the software executes a certain service operation. For business process software, because the software relates to business process transactions, the whole transaction process can be divided into a plurality of sub-transactions in different stages, and the subsequent transaction depends on transaction data generated by the prior transaction. Therefore, when testing the business process software, the existing testing software can only perform performance detection on the software module corresponding to the completed sub-transaction, and can only perform performance detection on the software module corresponding to the subsequent transaction when a tester manually screens the testing data of the completed sub-transaction and controls the software to continue the subsequent transaction. The whole testing process needs a large amount of manual operation, so that manpower is wasted, the testing period is long, and the efficiency is low.
Disclosure of Invention
The invention provides a performance testing method, a device, equipment and a storage medium of business process software, which are used for automatically detecting the performance of the software during execution of each sub-transaction in business process type transactions and more comprehensively evaluating target business process software.
According to an aspect of the present invention, a method for testing performance of business process software is provided, the method comprising:
acquiring a business process to be tested of target business process software;
dividing the business process to be tested into at least two sub-transaction businesses with a process correlation sequence, and determining a calling test tool of each sub-transaction business;
and according to the flow association sequence, adopting a calling test tool corresponding to each sub-transaction service to sequentially execute the corresponding sub-transaction services so as to complete the performance test of the target service flow software.
Optionally, the invoking test tool includes a transaction invoking tool, a test data retention tool, and a performance test tool.
Optionally, the sequentially executing the corresponding sub-transaction services by using the calling test tools corresponding to the sub-transaction services according to the flow association sequence includes:
selecting the sub-transaction service with the top sequence from the sub-transaction services which are not tested as a target test sub-transaction according to the flow association sequence;
adopting a calling test tool corresponding to the target test sub-transaction, calling and executing the target test sub-transaction to generate target test data, and determining a performance test result of the target test sub-transaction according to the target test data;
and returning to re-determine the next target test sub-transaction until all sub-transaction services are tested.
Optionally, the invoking and testing tool corresponding to the target test sub-transaction is used to invoke and execute the target test sub-transaction to generate target test data, and the performance test result of the target test sub-transaction is determined according to the target test data, including:
acquiring preorder transaction result data generated by preorder test sub-transactions of the target test sub-transactions by using a transaction initiating tool corresponding to the target test sub-transactions, and controlling and executing the target test sub-transactions based on the preorder transaction result data;
acquiring target test data generated during the execution of the target test sub-transaction by using a test data retention tool corresponding to the target test sub-transaction, and storing the target test data in a test data retention space associated with the target test sub-transaction;
and acquiring the target test data from the test data retention space associated with the target test sub-transaction by using the performance test tool corresponding to the target test sub-transaction, and determining the performance test result of the target test sub-transaction according to the target test data.
Optionally, before controlling to execute the target test sub-transaction based on the pre-order transaction result data, the method further includes:
and formatting the preorder transaction result data according to the transaction data format of the target test sub-transaction.
Optionally, the determining the performance test result of the target test sub-transaction according to the target test data includes:
formatting the target test data according to a test data format;
based on the formatted target test data, performing performance calculation on the software operation process when the target test sub-transaction is executed to obtain performance test data;
and collecting the performance test data, and determining a performance test result based on the performance test data.
Optionally, after determining the performance test result of the target test sub-transaction according to the target test data, the method further includes:
and generating a performance test report according to the performance test result.
According to another aspect of the present invention, there is provided a performance testing apparatus for business process software, the apparatus comprising:
the business process acquisition module is used for acquiring the business process to be tested of the target business process software;
the testing tool determining module is used for dividing the business flow to be tested into at least two sub-transaction businesses with flow association sequence and determining a calling testing tool of each sub-transaction business;
and the performance test realization module is used for adopting a calling test tool corresponding to each sub-transaction service to sequentially execute the corresponding sub-transaction service according to the flow association sequence so as to complete the performance test of the target service flow software.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method for performance testing of business process software according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the performance testing method of business process software according to any one of the embodiments of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the business flow to be tested of the target business flow software is obtained, the business flow to be tested is divided into at least two sub-transaction businesses with flow association sequence, the calling test tool of each sub-transaction business is determined, and the corresponding sub-transaction businesses are sequentially executed by adopting the calling test tool corresponding to each sub-transaction business according to the flow association sequence so as to complete the performance test of the target business flow software. The invention can automatically transmit the data of the business process type transaction and can carry out the whole business process without the participation of testers, thereby realizing the automatic detection of the performance of the software during the execution of each sub-transaction in the business process type transaction, more comprehensively evaluating the target business process software, realizing the automatic operation in the whole performance test process, shortening the test time and saving manpower and material resources.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for testing performance of business process software according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a performance testing apparatus for business process software according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device implementing the performance testing method of business process software according to the embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," "target," "preamble," and the like in the description and claims of the invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a method for testing performance of business process software according to an embodiment of the present invention, where the embodiment is applicable to a situation of performing performance testing on business process software, and the method can be executed by a performance testing apparatus of business process software, where the performance testing apparatus of business process software can be implemented in a form of hardware and/or software, and the performance testing apparatus of business process software can be configured in a computer device. As shown in fig. 1, the method includes:
s110, obtaining the business process to be tested of the target business process software.
In this embodiment, software capable of implementing business process type transactions may be referred to as business process software, which is a set of software systems for implementing business process management, and the business process software to be tested is referred to as target business process software. The target business process software may implement one or more business processes, and this embodiment may use any business process that the target business process software may implement as the business process to be tested.
S120, dividing the business process to be tested into at least two sub-transaction businesses with process association sequences, and determining a calling test tool of each sub-transaction business.
In general, a business process is a series of activities that are performed by different people together, respectively, to achieve a particular value goal. Not only are the activities strictly defined in sequence, but also the content, manner, responsibility and the like of the activities must be clearly arranged and defined, so that the transfer of different activities between different post roles is possible. That is, the business process is a work process composed of process nodes and execution modes in order. In this embodiment, the whole business process to be tested can be divided into at least two sub-transaction businesses with a process association sequence according to the process node and the execution mode of the business process. For example, the business process to be tested can be realized by orderly executing three sub-transactions of a, B and C, and then the business process to be tested can be divided into a sub-transaction business a, a sub-transaction business B and a sub-transaction business C.
In this embodiment, a calling test tool for implementing execution and test of each sub-transaction service may be determined. And the testing tool is called to automatically call the corresponding sub-transaction service for transaction, and the performance of the transaction process is tested.
And S130, adopting the calling test tool corresponding to each sub-transaction service to sequentially execute the corresponding sub-transaction service according to the process association sequence so as to complete the performance test of the target service process software.
Optionally, the invoking test tool may include a transaction invocation tool, a test data retention tool, and a performance test tool.
Specifically, S130 may be implemented by the following steps:
s1301, selecting the sub-transaction service with the top sequence from the sub-transaction services which are not tested as the target test sub-transaction according to the process association sequence.
In this embodiment, since the execution of the sub-transaction services has a sequence, that is, a flow association sequence, the sub-transaction service with the top sequence may be selected from the sub-transaction services not to be tested as a target test sub-transaction, and the sub-transaction service with the top sequence is executed and detected first. Illustratively, the business process to be tested is divided into a sub-transaction business A, a sub-transaction business B and a sub-transaction business C, and the process association sequence is the sub-transaction business A, the sub-transaction business B and the sub-transaction business C, so that the sub-transaction business which is determined as the target test sub-transaction is the sub-transaction business A, and when the sub-transaction business A is executed and tested through the S1302, the next determined target test sub-transaction is the sub-transaction business B.
S1302, a calling test tool corresponding to the target test sub-transaction is adopted, the target test sub-transaction is called and executed to generate target test data, and a performance test result of the target test sub-transaction is determined according to the target test data.
In this embodiment, a calling test tool corresponding to the target test sub-transaction may be used to call the execution operation of the target test sub-transaction, and target test data may be generated in the process of executing the target test sub-transaction by the target business process software. The target test data can be used for evaluating the software running condition of the target business process software when the target test sub-transaction is executed, so that the performance test result of the software module corresponding to the target test sub-transaction can be determined according to the target test data.
Further, S1302 may be implemented by the following specific method:
acquiring preorder transaction result data generated by preorder test sub-transactions of the target test sub-transactions by using a transaction initiating tool corresponding to the target test sub-transactions, and controlling and executing the target test sub-transactions based on the preorder transaction result data;
acquiring target test data generated during the execution of the target test sub-transaction by using a test data retention tool corresponding to the target test sub-transaction, and storing the target test data in a test data retention space associated with the target test sub-transaction;
and acquiring target test data from a test data retention space associated with the target test sub-transaction by using a performance test tool corresponding to the target test sub-transaction, and determining a performance test result of the target test sub-transaction according to the target test data.
In this embodiment, because there is a dependency relationship on data between the sub-transaction services, and the execution of the subsequent sub-transaction service depends on the transaction data obtained after the execution of the preamble sub-transaction service, the target test sub-transaction needs to obtain preamble transaction result data generated by the preamble test sub-transaction of the target test sub-transaction, so as to support the transaction execution of the target test sub-transaction. Specifically, when the target test sub-transaction is the first sub-transaction service of the services to be tested, the preamble transaction result data of the target test sub-transaction is the initial transaction data.
For each sub-transaction service, a corresponding data storage space can be pre-divided to serve as a test data retention space of the sub-transaction service. When the target business process software executes the target test sub-transaction, the corresponding test data retention tool can acquire the target test data generated by executing the target test sub-transaction and store the target test data in the test data retention space associated with the target test sub-transaction.
When the target business process software completes the target test sub-transaction, the performance testing tool corresponding to the target test sub-transaction can evaluate the performance of the software module corresponding to the target test sub-transaction according to the target test data in the test data retention space to obtain a performance test result.
In practical application, an RPA (robot Process Automation) technology may be adopted to implement functions required to be implemented by the transaction initiation tool, the test data retention tool, and the performance test tool.
In one embodiment, before controlling execution of the target test sub-transaction based on the preceding transaction result data, the method may further include: and formatting the preorder transaction result data according to the transaction data format of the target test sub-transaction.
In practical application, the preorder transaction result data may not support the transaction of the subsequent sub-transaction service in format, so that the preorder transaction result data can be formatted according to the transaction data format of the target test sub-transaction, and then the target test sub-transaction is controlled and executed based on the preorder transaction result data after the formatting.
In one embodiment, determining the performance test result of the target test sub-transaction according to the target test data may further include:
formatting the target test data according to the test data format;
based on the formatted target test data, performing performance calculation on the software running process when the target test sub-transaction is executed to obtain performance test data;
and collecting performance test data, and determining a performance test result based on the performance test data.
In practical application, the performance testing tool can be divided into a performance testing data processing module, a performance testing execution module and a performance testing result sorting module. The performance test data processing module can format the target test data according to the test data format; the performance test execution module can perform performance calculation on the software running process when the target test sub-transaction is executed based on the formatted target test data to obtain performance test data; the performance test result sorting module may collect performance test data and determine a performance test result based on the performance test data. In addition, the performance testing tool can also comprise a performance testing monitoring module which is used for monitoring the running of the target business process software.
In one embodiment, after determining the performance test result of the target test sub-transaction according to the target test data, the method may further include: and generating a performance test report according to the performance test result.
In this embodiment, a performance test report can be generated from the performance test result, which is convenient for a technician to check.
S1303, judging whether sub-transaction services which are not tested exist.
In this embodiment, when the software module corresponding to one target test sub-transaction is tested, it may be determined whether there is a sub-transaction service that is not tested in the service flow to be tested, and if yes, the method may return to S1301 to re-determine the next target test sub-transaction; otherwise, the testing operation of the target business process software can be finished.
According to the technical scheme of the embodiment of the invention, the business process to be tested of the target business process software is obtained, the business process to be tested is divided into at least two sub-transaction businesses with a process association sequence, the calling test tool of each sub-transaction business is determined, and the corresponding sub-transaction businesses are sequentially executed by adopting the calling test tools corresponding to each sub-transaction business according to the process association sequence so as to complete the performance test of the target business process software. The invention can automatically transmit the data of the business process type transaction and can carry out the whole business process without the participation of testers, thereby realizing the automatic detection of the performance of the software during the execution of each sub-transaction in the business process type transaction, more comprehensively evaluating the target business process software, realizing the automatic operation in the whole performance test process, shortening the test time and saving manpower and material resources.
Example two
Fig. 2 is a schematic structural diagram of a performance testing apparatus for business process software according to a second embodiment of the present invention. As shown in fig. 2, the apparatus includes:
the business process obtaining module 210 is configured to obtain a business process to be tested of the target business process software.
The testing tool determining module 220 is configured to divide the service flow to be tested into at least two sub-transaction services having a flow association sequence, and determine a testing tool to be invoked for each sub-transaction service.
And a performance test implementation module 230, configured to sequentially execute the corresponding sub-transaction services by using the calling test tools corresponding to the sub-transaction services according to the process association sequence, so as to complete a performance test of the target service process software.
Optionally, the invoking test tool includes a transaction invoking tool, a test data retention tool, and a performance test tool.
Optionally, the performance test implementing module 230 includes:
the first target sub-transaction selecting unit is used for selecting the sub-transaction service with the top sequence from the sub-transaction services which are not tested as the target test sub-transaction according to the flow association sequence;
the target sub-transaction execution testing unit is used for calling and executing the target test sub-transaction to generate target test data by adopting a calling testing tool corresponding to the target test sub-transaction, and determining a performance testing result of the target test sub-transaction according to the target test data;
and the second target sub-transaction selecting unit is used for returning to re-determine the next target test sub-transaction until all sub-transaction services are tested.
Optionally, the target sub-transaction execution testing unit is specifically configured to:
acquiring preorder transaction result data generated by preorder test sub-transactions of the target test sub-transactions by using a transaction initiating tool corresponding to the target test sub-transactions, and controlling and executing the target test sub-transactions based on the preorder transaction result data;
acquiring target test data generated during the execution of the target test sub-transaction by using a test data retention tool corresponding to the target test sub-transaction, and storing the target test data in a test data retention space associated with the target test sub-transaction;
and acquiring the target test data from the test data retention space associated with the target test sub-transaction by using a performance test tool corresponding to the target test sub-transaction, and determining a performance test result of the target test sub-transaction according to the target test data.
Optionally, before controlling to execute the target test sub-transaction based on the preamble transaction result data, the method further includes:
and formatting the preorder transaction result data according to the transaction data format of the target test sub-transaction.
Optionally, the determining the performance test result of the target test sub-transaction according to the target test data includes:
formatting the target test data according to a test data format;
based on the formatted target test data, performing performance calculation on the software operation process when the target test sub-transaction is executed to obtain performance test data;
and collecting the performance test data, and determining a performance test result based on the performance test data.
Optionally, after determining the performance test result of the target test sub-transaction according to the target test data, the method further includes:
and generating a performance test report according to the performance test result.
The performance testing device of the business process software provided by the embodiment of the invention can execute the performance testing method of the business process software provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
FIG. 3 illustrates a schematic diagram of an electronic device 10 that may be used to implement an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as a performance testing method for business process software.
In some embodiments, the performance testing method of business process software may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the performance testing method of the business process software described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the performance testing method of the business process software by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A performance test method for business process software is characterized by comprising the following steps:
acquiring a business process to be tested of target business process software;
dividing the business flow to be tested into at least two sub-transaction businesses with flow association sequence, and determining a calling test tool of each sub-transaction business;
and according to the flow association sequence, adopting a calling test tool corresponding to each sub-transaction service to sequentially execute the corresponding sub-transaction services so as to complete the performance test of the target service flow software.
2. The method of claim 1, wherein the invoking test tools comprise a transaction invocation tool, a test data retention tool, and a performance test tool.
3. The method according to claim 2, wherein said executing the corresponding sub-transaction services in sequence by using the calling test tool corresponding to each of the sub-transaction services according to the process association order comprises:
selecting the sub-transaction service with the top sequence from the sub-transaction services which are not tested as a target test sub-transaction according to the flow association sequence;
adopting a calling test tool corresponding to the target test sub-transaction, calling and executing the target test sub-transaction to generate target test data, and determining a performance test result of the target test sub-transaction according to the target test data;
and returning to re-determine the next target test sub-transaction until all sub-transaction services are tested.
4. The method according to claim 3, wherein the invoking a testing tool corresponding to the target test sub-transaction, invoking and executing the target test sub-transaction to generate target test data, and determining a performance test result of the target test sub-transaction according to the target test data comprises:
acquiring preorder transaction result data generated by preorder test sub-transactions of the target test sub-transactions by using a transaction initiating tool corresponding to the target test sub-transactions, and controlling and executing the target test sub-transactions based on the preorder transaction result data;
acquiring target test data generated during the execution of the target test sub-transaction by using a test data retention tool corresponding to the target test sub-transaction, and storing the target test data in a test data retention space associated with the target test sub-transaction;
and acquiring the target test data from the test data retention space associated with the target test sub-transaction by using the performance test tool corresponding to the target test sub-transaction, and determining the performance test result of the target test sub-transaction according to the target test data.
5. The method of claim 4, prior to controlling execution of the target test sub-transaction based on the pre-transaction result data, further comprising:
and formatting the preorder transaction result data according to the transaction data format of the target test sub-transaction.
6. The method of claim 4, wherein said determining performance test results for said target test sub-transaction from said target test data comprises:
formatting the target test data according to a test data format;
based on the formatted target test data, performing performance calculation on the software running process when the target test sub-transaction is executed to obtain performance test data;
and collecting the performance test data, and determining a performance test result based on the performance test data.
7. The method of claim 4, after determining performance test results for the target test sub-transaction based on the target test data, further comprising:
and generating a performance test report according to the performance test result.
8. A performance testing device for business process software is characterized by comprising:
the business process acquisition module is used for acquiring a business process to be tested of the target business process software;
the test tool determining module is used for dividing the business flow to be tested into at least two sub-transaction businesses with flow correlation sequence and determining a calling test tool of each sub-transaction business;
and the performance test realization module is used for adopting a calling test tool corresponding to each sub-transaction service to sequentially execute the corresponding sub-transaction service according to the flow association sequence so as to complete the performance test of the target service flow software.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of performance testing of business process software of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer instructions for causing a processor, when executed, to implement the method for performance testing of business process software of any of claims 1-7.
CN202211316444.7A 2022-10-26 2022-10-26 Performance test method, device, equipment and storage medium of business process software Pending CN115576827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211316444.7A CN115576827A (en) 2022-10-26 2022-10-26 Performance test method, device, equipment and storage medium of business process software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211316444.7A CN115576827A (en) 2022-10-26 2022-10-26 Performance test method, device, equipment and storage medium of business process software

Publications (1)

Publication Number Publication Date
CN115576827A true CN115576827A (en) 2023-01-06

Family

ID=84586904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211316444.7A Pending CN115576827A (en) 2022-10-26 2022-10-26 Performance test method, device, equipment and storage medium of business process software

Country Status (1)

Country Link
CN (1) CN115576827A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117421253A (en) * 2023-12-19 2024-01-19 深圳市智慧城市科技发展集团有限公司 Interface security test method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117421253A (en) * 2023-12-19 2024-01-19 深圳市智慧城市科技发展集团有限公司 Interface security test method, device, equipment and storage medium
CN117421253B (en) * 2023-12-19 2024-04-02 深圳市智慧城市科技发展集团有限公司 Interface security test method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113037594B (en) Pressure testing method and device based on cloud service
CN115576827A (en) Performance test method, device, equipment and storage medium of business process software
CN115685109A (en) Method, device and equipment for testing millimeter wave radar and storage medium
CN115437961A (en) Data processing method and device, electronic equipment and storage medium
CN116126719A (en) Interface testing method and device, electronic equipment and storage medium
CN114415691B (en) Robot scheduling method, scheduling platform and system
CN116303013A (en) Source code analysis method, device, electronic equipment and storage medium
CN115509931A (en) System-based performance test method and device, electronic equipment and storage medium
CN115481594B (en) Scoreboard implementation method, scoreboard, electronic equipment and storage medium
CN115890684A (en) Robot scheduling method, device, equipment and medium
CN114693116A (en) Method and device for detecting code review validity and electronic equipment
CN114003497A (en) Method, device and equipment for testing service system and storage medium
CN113656299B (en) Method and device for determining limit QPS, electronic equipment and readable storage medium
CN115374010A (en) Function testing method, device, equipment and storage medium
CN112633683B (en) Resource usage statistics method, device, system, electronic equipment and storage medium
CN117632748A (en) Method and device for determining smoke emission test case, electronic equipment and storage medium
CN115328788A (en) Delay control and concurrent execution control method, device, equipment and storage medium
CN115600819A (en) Risk assessment method and device, electronic equipment and storage medium
CN117609086A (en) Method and device for determining test content, electronic equipment and storage medium
CN117520200A (en) Object testing method based on test adaptation system
CN117493203A (en) Method, device, equipment and storage medium for testing server software
CN117971640A (en) Method, device, equipment and medium for testing embedded software
CN115859300A (en) Vulnerability detection method and device, electronic equipment and storage medium
CN117032712A (en) Pipeline compiling and constructing method and device, electronic equipment and storage medium
CN117632741A (en) Determination method and device of regression test case library, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination