CN116467198A - Method, device, electronic equipment and storage medium for determining performance actual measurement necessity - Google Patents

Method, device, electronic equipment and storage medium for determining performance actual measurement necessity Download PDF

Info

Publication number
CN116467198A
CN116467198A CN202310399909.8A CN202310399909A CN116467198A CN 116467198 A CN116467198 A CN 116467198A CN 202310399909 A CN202310399909 A CN 202310399909A CN 116467198 A CN116467198 A CN 116467198A
Authority
CN
China
Prior art keywords
test
necessity
actual measurement
performance
test requirement
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
CN202310399909.8A
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 CN202310399909.8A priority Critical patent/CN116467198A/en
Publication of CN116467198A publication Critical patent/CN116467198A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a performance actual measurement necessity determining method, a device, electronic equipment and a storage medium. Wherein the method comprises the following steps: acquiring a test requirement of an information system to be tested, determining a test requirement unit according to the service attribute of the test requirement, and determining a performance actual measurement necessity result of the test requirement unit according to a preset necessary test condition and an importance judging model. According to the embodiment of the invention, the corresponding test requirement units are determined according to the service attribute of the test requirement, and then the test requirement units are subjected to matching screening by presetting the necessary test condition and the importance judging model, so that the final performance actual measurement necessity result is determined, the necessity of the performance actual measurement can be comprehensively and objectively evaluated, the test staff is assisted to quickly locate the performance test unit with high performance actual measurement necessity, and the time and energy spent by the test staff due to the determination of the performance actual measurement necessity are reduced.

Description

Method, device, electronic equipment and storage medium for determining performance actual measurement necessity
Technical Field
The present invention relates to the field of testing technologies, and in particular, to a method and apparatus for determining the necessity of actually measuring performance, an electronic device, and a storage medium.
Background
With the technology upgrade and the service demand increase of the information system, the architecture and service association relationship of the information system become more complex, so performance test becomes an important link for verifying the stability and service capability of the information system. In the face of large-scale performance test requirements, how to determine key and valuable performance test requirements from the requirements by using limited manpower and time, and further develop performance actual measurement work in a targeted manner.
In the prior art, a tester usually adopts an expert experience analysis method, namely, according to the aspects of system code change condition, system architecture change condition, actual service running condition and the like, the importance level ranking is given to all performance test requirements by means of accumulated performance test experience, and the method is a relatively subjective performance actual measurement necessity determination method. In addition, the above method cannot cover all services of all information systems, and for large-scale program variation or system architecture adjustment, expert empirical analysis method will lose the capability of analyzing and evaluating performance test requirements, resulting in incomplete determined performance test requirements.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a storage medium for determining the necessity of actual measurement of performance, which are used for determining a corresponding test requirement unit according to the service attribute of the test requirement, determining the necessity result of actual measurement of the performance of the test requirement unit according to the preset necessary test condition and an importance judging model, comprehensively and objectively evaluating the necessity of actual measurement of the performance, assisting a tester to quickly position the performance test unit with high necessity of actual measurement of the performance, and reducing the time and effort spent by the tester for determining the necessity of actual measurement of the performance.
According to an aspect of the present invention, there is provided a performance actual measurement necessity determining method, the method comprising:
acquiring a test requirement of an information system to be tested;
determining a test demand unit according to the service attribute of the test demand;
and determining the performance actual measurement necessity result of the test requirement unit according to the preset necessary measurement condition and the importance judging model.
According to another aspect of the present invention, there is provided a performance actual measurement necessity determining apparatus including:
the test requirement acquisition module is used for acquiring the test requirement of the information system to be tested;
the demand unit determining module is used for determining a test demand unit according to the service attribute of the test demand;
the result determining module is used for determining the performance actual measurement necessity result of the test requirement unit according to the preset necessary measurement condition and the importance judging model.
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 memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of determining the measured necessity of performance according to any one 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 method for determining the necessity of actually measured performance according to any of the embodiments of the present invention when executed.
According to the technical scheme, the test requirement unit is determined according to the service attribute of the test requirement by acquiring the test requirement of the information system to be tested, and the performance actual measurement necessity result of the test requirement unit is determined according to the preset necessary test condition and the importance judging model. According to the embodiment of the invention, the corresponding test requirement units are determined according to the service attribute of the test requirement, and then the test requirement units are subjected to matching screening by presetting the necessary test condition and the importance judging model, so that the final performance actual measurement necessity result is determined, the necessity of the performance actual measurement can be comprehensively and objectively evaluated, the test staff is assisted to quickly locate the performance test unit with high performance actual measurement necessity, and the time and energy spent by the test staff due to the determination of the performance actual measurement necessity are reduced.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for determining the need for actually measured performance according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for determining the necessity of actually measured performance according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a method for determining the need for actually measured performance according to a third embodiment of the present invention;
FIG. 4 is an exemplary diagram of a test requirement unitized decomposition provided in accordance with a third embodiment of the present invention;
FIG. 5 is an exemplary diagram of an importance discrimination model provided according to a third embodiment of the present invention;
FIG. 6 is a schematic diagram of a device for determining the necessity of actually measured performance according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device implementing a method for determining the necessity of actually measured performance according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, 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 1
Fig. 1 is a flowchart of a method for determining a need for actually measuring performance, which is applicable to a case of determining the need for actually measuring performance according to an embodiment of the present invention, and the method may be performed by a device for determining the need for actually measuring performance, which may be implemented in hardware and/or software, and the device for determining the need for actually measuring performance may be configured in an electronic device. As shown in fig. 1, the method for determining the necessity of actually measuring the performance provided in the first embodiment specifically includes the following steps:
s110, obtaining the test requirement of the information system to be tested.
In the implementation of the invention, the information system to be tested can be understood as an information system with test requirements, and the information system to be tested can comprise various electronic commerce information systems, ticket information systems, bank information systems and the like by way of example. The test requirements can be understood as requirements for testing the information system to be tested, the number of the test requirements can be one or more, and the test requirements can comprise stability test requirements, business function performance test requirements, system security test requirements and the like of the information system to be tested.
Specifically, the electronic device may obtain the test requirement of the information system to be tested, for example, may be: searching a test requirement corresponding to the information system to be tested from a test requirement document stored in advance by a local or cloud server through the number of the test requirement; it may also be: and the testing personnel inputs the testing requirements of the information system to be tested manually or through voice input and then is converted according to the requirements of system projects or customer requirements.
S120, determining a test requirement unit according to the service attribute of the test requirement.
In the implementation of the present invention, a service attribute may be understood as information containing a service feature, and the service attribute may include: service name, service type, customer type, service index, service scenario, etc. A test requirement unit may be understood as a test item determined from a test requirement, one of which may contain one or more test requirement units.
Specifically, the corresponding service attribute may be determined according to the test requirement of the information system to be tested, and then the test requirement unit corresponding to the test requirement is obtained by querying a preset requirement unit configuration file or a preset requirement unit database, where one test requirement may include one or more test requirement units. The manner of determining the test requirement unit according to the service attribute of the test requirement may be: searching a business transaction matched with the business attribute in a preset configuration file, further decomposing the business transaction into a plurality of minimum interaction units, and taking the minimum interaction units as test requirement units corresponding to test requirements. The manner of determining the test requirement unit according to the service attribute of the test requirement may also be: and directly inquiring a test demand unit corresponding to the test demand in a preset demand unit database according to the serial number of the service attribute of the test demand, wherein the association relationship between the service attribute of the test demand and the test demand unit is prestored in the preset demand unit database.
S130, determining a performance actual measurement necessity result of the test requirement unit according to a preset necessary measurement condition and an importance judging model.
In the implementation of the present invention, the preset necessary conditions may be understood as conditions with high test necessity that are preconfigured, and the preset necessary conditions may include at least one of the following: satisfaction involves transaction accounting, satisfaction involves system architecture adjustment, satisfaction involves underlying software adjustment, satisfaction involves database table adjustment, satisfaction involves new technologies, which may include current limiting/fusing technologies, distributed database technologies, distributed transaction technologies, and the like. An importance discrimination model may be understood as a mathematical model for determining the importance of a test demand unit, the dimensions of which may include at least one of: system importance level, transaction client type, user scale, transaction amount, database interaction times and complex technology application condition. The performance actual measurement necessity result may be understood as a performance actual measurement necessity result corresponding to the test demand unit, and the performance actual measurement necessity result may include a high actual measurement necessity and a low actual measurement necessity.
Specifically, an importance discrimination model and one or more preset necessary conditions may be preconfigured on the electronic device, then the test requirement unit is respectively matched with the preset necessary conditions and the importance discrimination model, and a performance actually-measured necessity result corresponding to the test requirement unit is determined according to the matched result, where the performance actually-measured necessity result may include high actually-measured necessity and low actually-measured necessity. The manner of determining the performance actual measurement necessity result of the test requirement unit according to the preset necessity condition and the importance discrimination model may include, but is not limited to, the following: whether the test requirement units meet the preset necessary test conditions can be judged firstly, the test requirement with high actual measurement necessity is screened out, then the test requirement units which do not meet the preset necessary test conditions are input into an importance judging model, and the performance actual measurement necessity results corresponding to the test requirement units are determined according to the obtained model output results; the test requirement units can be respectively matched with preset necessary conditions and an importance judging model to respectively obtain two corresponding matching results, the two matching results are multiplied by corresponding preset weights respectively and then added, and the added results are compared with a preset threshold value to further determine the performance actual measurement necessary results corresponding to the test requirement units.
According to the technical scheme, the test requirement unit is determined according to the service attribute of the test requirement by acquiring the test requirement of the information system to be tested, and the performance actual measurement necessity result of the test requirement unit is determined according to the preset necessary test condition and the importance judging model. According to the embodiment of the invention, the corresponding test requirement units are determined according to the service attribute of the test requirement, and then the test requirement units are subjected to matching screening by presetting the necessary test condition and the importance judging model, so that the final performance actual measurement necessity result is determined, the necessity of the performance actual measurement can be comprehensively and objectively evaluated, the test staff is assisted to quickly locate the performance test unit with high performance actual measurement necessity, and the time and energy spent by the test staff due to the determination of the performance actual measurement necessity are reduced.
Example two
Fig. 2 is a flowchart of a method for determining the necessity of actually measured performance according to the second embodiment of the present invention, which is further optimized and expanded based on the above embodiment, and may be combined with each of the alternative technical solutions in the above embodiment. As shown in fig. 2, the method for determining the necessity of actually measuring the performance provided in the second embodiment specifically includes the following steps:
s210, obtaining the test requirement of the information system to be tested.
S220, searching the business transaction matched with the business attribute in the preset configuration file.
In the implementation of the present invention, the preset configuration file may be understood as a configuration file containing the association relationship between the service attribute and the service transaction. A business transaction may be understood as a complete execution flow of a business or a complete execution flow of a subdivision, and a business transaction may be a business execution flow designed by a program definition.
Specifically, one or more preset configuration files can be pre-configured on the electronic device, and service transactions matched with the service attributes can be searched in the preset configuration files according to labels, numbers or data matching modes of the service attributes, wherein the service transactions can be a complete execution flow of a service or a complete execution flow of a subdivision link designed by program definition. The method for searching the business transaction matched with the business attribute in the preset configuration file can be as follows: searching business transaction matched with the business attribute in a preset configuration file according to a label or a number of the predetermined business attribute; it may also be: and carrying out data matching on the service attribute and the preset service transaction in the preset configuration file, wherein the data matching mode is not limited to fuzzy matching, character string matching and the like, so as to find out the service transaction matched with the service attribute.
S230, decomposing the business transaction to obtain a corresponding interface, and taking the interface as a test requirement unit.
In the implementation of the present invention, an interface may be understood as a minimum interaction unit of a business transaction at a technical level, and a complete business transaction may include one or more interfaces.
Specifically, different service transaction decomposition modes may be adopted to decompose the service transaction into one or more interfaces, and the decomposed interfaces are used as test requirement units, and the service transaction decomposition modes may include, but are not limited to, the following: the method comprises the steps of decomposing business transaction according to a test scene, decomposing business transaction according to a test performance index, decomposing business transaction according to a test time plan, decomposing business transaction according to a test implementation range and the like.
S240, judging whether the configuration items of the test requirement unit meet the preset necessary test conditions.
In the implementation of the present invention, the configuration items of the test requirement unit may include: transaction accounting information, system architecture adjustment information, basic software adjustment information, database table adjustment information, new technology use information, and the like.
Specifically, one or more preset necessary conditions may be preconfigured on the electronic device, and it may be determined whether the configuration item of the test requirement unit meets the preset necessary conditions, for example, it may be: and identifying keywords in the configuration items of the test requirement unit, performing data matching on the keywords and the preset necessary test conditions, judging whether the configuration items of the test requirement unit meet the preset necessary test conditions according to the data matching result, if so, executing S250, and if not, executing S260 to S270.
S250, determining the actual measurement necessity result of the performance as high actual measurement necessity.
Specifically, if the configuration item of the test requirement unit meets the preset necessary test condition, determining the actual measurement necessity result of the performance corresponding to the test requirement unit as high actual measurement necessity.
S260, inputting the test requirement unit into an importance judging model, and counting the output result of the importance judging model met by the test requirement unit.
Specifically, an importance discrimination model may be preconfigured on the electronic device, different dimensions in the importance discrimination model may be preconfigured with different scores or percentages, wherein the dimensions of the importance discrimination model may include at least one of: the method comprises the steps of inputting a system importance level, a transaction client type, a user scale, a transaction amount, database interaction times and complex technology application conditions into an importance judging model, and counting the output result of the importance judging model met by a test requirement unit, namely counting the score or percentage of the importance judging model met by the test requirement unit.
S270, judging whether the output result meets a preset threshold condition, if so, determining the performance actual measurement necessity result as high in actual measurement necessity, and if not, determining the performance actual measurement necessity result as low in actual measurement necessity.
In the implementation of the present invention, the preset threshold condition may be understood as a preset threshold value that satisfies the output result of the importance discrimination model, and the preset threshold condition may include at least one of the following: the preset value is satisfied, and the preset percentage is satisfied, wherein the preset value can be set to 90 or 80, and the preset percentage can be set to 90 or 80.
Specifically, one or more preset threshold conditions may be preconfigured on the electronic device, and it is determined whether the output result obtained in S260 meets the preset threshold conditions, where the preset threshold conditions may include at least one of the following: the method comprises the steps of meeting a preset numerical value and a preset percentage, and determining a performance actual measurement necessity result corresponding to a test requirement unit as high actual measurement necessity if a preset necessary measurement condition is met; if the measured performance requirement is not met, determining that the measured performance requirement corresponding to the test requirement unit is low in measured requirement.
Further, on the basis of the above embodiment of the present invention, the method for determining the necessity of actually measuring performance provided in the second embodiment further includes:
and counting all the performance actual measurement necessity results to obtain the test requirement with high actual measurement necessity, and generating a test requirement necessary test list.
Specifically, after determining the performance actually-measured necessity result corresponding to each test requirement unit, screening and counting all the performance actually-measured necessity results to be the test requirements corresponding to high actually-measured necessity, and generating a test requirement necessary test list, so that effective and objective performance actually-measured necessity suggestions can be provided for testers, and the testers can be assisted to quickly locate the performance test units with high performance actually-measured necessity.
According to the technical scheme, the test requirements of the information system to be tested are obtained, service transactions matched with service attributes are searched in the preset configuration file, the service transactions are decomposed to obtain corresponding interfaces, the interfaces are used as test requirement units, whether configuration items of the test requirement units meet preset necessary test conditions is judged, if yes, the actually measured performance necessity results are determined to be high, the test requirement units are input into an importance judging model, the output results of the importance judging model are counted, whether the output results meet preset threshold conditions is judged, if yes, the actually measured performance necessity results are determined to be high, and if not, the actually measured performance necessity results are determined to be low. According to the embodiment of the invention, the test requirement is subdivided into a plurality of test requirement units, so that the test requirement can be converted into an indeterminate description state which cannot be standardized, and the test requirement units can be made into items and positioned clearly; and then, the test requirement units are subjected to matching screening through preset necessary test conditions and an importance judging model so as to determine the final performance actual measurement necessity result, the necessity of the performance actual measurement can be comprehensively and objectively evaluated, effective and objective performance actual measurement necessity suggestions are provided for testers, and the testers are assisted to quickly locate the performance test units with high performance actual measurement necessity, so that the time and effort spent by the testers due to determining the performance actual measurement necessity are reduced.
Example III
Fig. 3 is a flowchart of a method for determining the necessity of actually measuring performance according to a third embodiment of the present invention. The embodiment provides an implementation manner of a performance actual measurement necessity determining method based on the embodiment, which can decompose a test requirement of an information system to be tested into a plurality of test requirement units, and determine a performance actual measurement necessity result corresponding to each test requirement unit through a preset requirement and importance judging model, so that effective and objective performance actual measurement necessity suggestion can be provided for a tester, and the tester is assisted to quickly locate a performance test unit with high performance actual measurement necessity. As shown in fig. 3, the method for determining the necessity of actually measuring the performance provided in the third embodiment of the present invention specifically includes the following steps:
s310, determining a corresponding test requirement unit according to the test requirement of the information system to be tested.
Specifically, the service classification may be performed on the test requirements of the information system to be tested, which may include: loan class, credit card class, personal liability class, internal management class, etc., define the business attribute that the whole test demand corresponds, withdraw the business interaction that this test demand may involve under the business attribute, namely business transaction, break down the business transaction into the interactive interface of the technical level in fine granularity, thus change the test demand from indeterminate, unable standardized description state into the test demand unit that can be made up, can be positioned clearly. FIG. 4 is a diagram showing a test requirement unitized decomposition according to a third embodiment of the present invention.
S320, carrying out matching filtration on the test requirement unit through preset necessary test conditions.
Specifically, based on accumulation and processing of the existing performance test experience, elements with certain performance hidden troubles, that is, high actual measurement necessity, are formed into a plurality of preset necessary test conditions, and the preset necessary test conditions may include: the contents of specific preset necessary measurement conditions can be shown in the following table. Furthermore, the test requirement units are matched and filtered by utilizing preset necessary test conditions, and the test requirement units with obviously required performance actual measurement, namely high actual measurement necessity, are rapidly screened out.
S330, inputting the test requirement units which do not meet the preset requirement to an importance judging model, and determining the performance actual measurement necessity result corresponding to each test requirement unit according to the model output result.
Specifically, for a test requirement unit that does not meet a preset requirement, it may be input into an importance discrimination model, where the dimensions of the importance discrimination model may include: the method comprises the steps of setting corresponding scores according to the importance level and the attention degree of each attribute, comparing the obtained model output result, namely the score corresponding to the test demand unit, with a preset threshold value, further determining the performance actual measurement necessity result corresponding to each test demand unit, and realizing quantitative analysis of the necessity of the test demand unit. Fig. 5 is a diagram showing an example of an importance discrimination model according to the third embodiment of the present invention.
S340, counting all performance actual measurement necessity results as the test requirements with high actual measurement necessity, and generating a test requirement necessary test list.
According to the technical scheme, corresponding test requirement units are determined according to the test requirements of the information system to be tested, the test requirement units are subjected to matching filtration through preset necessary test conditions, the test requirement units which do not meet the preset necessary test conditions are input into an importance judging model, performance actual measurement necessity results corresponding to the test requirement units are determined according to model output results, all the performance actual measurement necessity results are counted to be test requirements with high actual measurement necessity, and a test requirement necessary test list is generated.
According to the embodiment of the invention, the test requirement is divided into the interactive interface of the technical layer by the subdivision granularity, so that the test requirement is converted into an indeterminate and non-standardized description state which can be used for making entries and clearly positioning; and then, the test requirement units are subjected to matching screening through preset necessary test conditions and an importance judging model so as to determine the final performance actual measurement necessity result, the necessity of the performance actual measurement can be comprehensively and objectively evaluated, effective and objective performance actual measurement necessity suggestions are provided for testers, and the testers are assisted to quickly locate the performance test units with high performance actual measurement necessity, so that the time and effort spent by the testers due to determining the performance actual measurement necessity are reduced.
Example IV
Fig. 6 is a schematic structural diagram of a device for determining the necessity of actually measuring performance according to a fourth embodiment of the present invention. As shown in fig. 6, the apparatus includes:
the test requirement acquisition module 41 is configured to acquire a test requirement of the information system to be tested.
The requirement unit determining module 42 is configured to determine a test requirement unit according to the service attribute of the test requirement.
The result determining module 43 is configured to determine a performance actual measurement necessity result of the test requirement unit according to the preset necessary measurement condition and the importance discrimination model.
According to the technical scheme, the test requirement of the information system to be tested is obtained through the test requirement obtaining module, the requirement unit determining module determines the test requirement unit according to the service attribute of the test requirement, and the result determining module determines the performance actual measurement necessity result of the test requirement unit according to the preset necessary test condition and the importance judging model. According to the embodiment of the invention, the corresponding test requirement units are determined according to the service attribute of the test requirement, and then the test requirement units are subjected to matching screening by presetting the necessary test condition and the importance judging model, so that the final performance actual measurement necessity result is determined, the necessity of the performance actual measurement can be comprehensively and objectively evaluated, the test staff is assisted to quickly locate the performance test unit with high performance actual measurement necessity, and the time and energy spent by the test staff due to the determination of the performance actual measurement necessity are reduced.
Further, on the basis of the above embodiment of the invention, the demand unit determining module 42 includes:
and the business transaction searching unit is used for searching the business transaction matched with the business attribute in the preset configuration file.
The demand unit determining unit is used for decomposing the business transaction to obtain a corresponding interface, and taking the interface as a test demand unit.
Further, on the basis of the above embodiment of the invention, the result determining module 43 includes:
the demand unit judging unit is used for judging whether the configuration items of the test demand unit meet preset necessary testing conditions or not;
the first result determining unit is used for determining the performance actual measurement necessity result as high actual measurement necessity if the preset necessary measurement condition is met;
the second result determining unit is used for inputting the test requirement unit into the importance judging model if the preset necessary testing condition is not met, and counting the output result of the importance judging model met by the test requirement unit; judging whether the output result meets a preset threshold condition, if so, determining the actually measured performance necessity result as high in actually measured necessity, and if not, determining the actually measured performance necessity result as low in actually measured necessity.
Further, on the basis of the above embodiment of the present invention, the preset necessary conditions include at least one of the following: satisfaction of related transaction accounting, satisfaction of related system architecture adjustment, satisfaction of related basic software adjustment, satisfaction of related database table adjustment, and satisfaction of related new technology.
Further, on the basis of the above embodiment of the present invention, the dimensions of the importance discrimination model include at least one of: system importance level, transaction client type, user scale, transaction amount, database interaction times and complex technology application condition.
Further, on the basis of the above embodiment of the invention, the preset threshold condition includes at least one of: meets the preset value and meets the preset percentage.
Further, on the basis of the above embodiment of the present invention, the apparatus further includes:
and the necessary test list generation module is used for counting all the test requirements with high actual measurement necessity results of the performance actual measurement necessity and generating a test requirement necessary test list.
The device for determining the actual measurement necessity of the performance provided by the embodiment of the invention can execute the method for determining the actual measurement necessity of the performance provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 7 shows a schematic diagram of an electronic device 50 that may be used to implement an embodiment of the 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. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, 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. 7, the electronic device 50 includes at least one processor 51, and a memory such as a Read Only Memory (ROM) 52, a Random Access Memory (RAM) 53, etc. communicatively connected to the at least one processor 51, wherein the memory stores a computer program executable by the at least one processor, and the processor 51 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 52 or the computer program loaded from the storage unit 58 into the Random Access Memory (RAM) 53. In the RAM 53, various programs and data required for the operation of the electronic device 50 can also be stored. The processor 51, the ROM 52 and the RAM 53 are connected to each other via a bus 54. An input/output (I/O) interface 55 is also connected to bus 54.
Various components in the electronic device 50 are connected to the I/O interface 55, including: an input unit 56 such as a keyboard, a mouse, etc.; an output unit 57 such as various types of displays, speakers, and the like; a storage unit 58 such as a magnetic disk, an optical disk, or the like; and a communication unit 59 such as a network card, modem, wireless communication transceiver, etc. The communication unit 59 allows the electronic device 50 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks.
The processor 51 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 51 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, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 51 performs the various methods and processes described above, such as the performance measured necessity determination method.
In some embodiments, the performance measured necessity determination method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 58. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 50 via the ROM 52 and/or the communication unit 59. When the computer program is loaded into RAM 53 and executed by processor 51, one or more steps of the performance measured necessity determination method described above may be performed. Alternatively, in other embodiments, the processor 51 may be configured to perform the performance measured necessity determination method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On 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, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out 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 implemented. The computer program may execute entirely on the 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. The 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 portable 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) through which a user can 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 may 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 input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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. The client and server are typically 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 hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of determining the necessity of a performance measurement, the method comprising:
acquiring a test requirement of an information system to be tested;
determining a test demand unit according to the service attribute of the test demand;
and determining the performance actual measurement necessity result of the test requirement unit according to a preset necessary measurement condition and an importance judging model.
2. The method according to claim 1, wherein determining the test requirement unit according to the service attribute corresponding to the test requirement comprises:
searching business transaction matched with the business attribute in a preset configuration file;
and decomposing the business transaction to obtain a corresponding interface, and taking the interface as the test requirement unit.
3. The method according to claim 1, wherein determining the measured performance necessity result of the test requirement unit according to the preset necessity condition and the importance discrimination model comprises:
judging whether the configuration items of the test requirement units meet the preset necessary test conditions or not;
if yes, determining the performance actual measurement necessity result as high actual measurement necessity;
if not, inputting the test requirement unit into the importance judging model, and counting the output result of the test requirement unit meeting the importance judging model;
and judging whether the output result meets a preset threshold condition, if so, determining the performance actual measurement necessity result as high in actual measurement necessity, and if not, determining the performance actual measurement necessity result as low in actual measurement necessity.
4. A method according to any one of claims 1 or 3, wherein the predetermined requisite conditions include at least one of: satisfaction of related transaction accounting, satisfaction of related system architecture adjustment, satisfaction of related basic software adjustment, satisfaction of related database table adjustment, and satisfaction of related new technology.
5. A method according to any one of claims 1 or 3, wherein the dimensions of the importance discrimination model include at least one of: system importance level, transaction client type, user scale, transaction amount, database interaction times and complex technology application condition.
6. A method according to claim 3, wherein the preset threshold condition comprises at least one of: meets the preset value and meets the preset percentage.
7. A method according to claim 3, further comprising:
and counting all the test requirements with high actual measurement necessity results, and generating a test requirement necessary test list.
8. A performance measured necessity determining apparatus, comprising:
the test requirement acquisition module is used for acquiring the test requirement of the information system to be tested;
the demand unit determining module is used for determining a test demand unit according to the service attribute of the test demand;
and the result determining module is used for determining the performance actual measurement necessity result of the test requirement unit according to the preset necessary measurement condition and the importance judging model.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the measured performance necessity determination method of any one of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores computer instructions for causing a processor to implement the measured performance necessity determination method of any one of claims 1-7 when executed.
CN202310399909.8A 2023-04-13 2023-04-13 Method, device, electronic equipment and storage medium for determining performance actual measurement necessity Pending CN116467198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310399909.8A CN116467198A (en) 2023-04-13 2023-04-13 Method, device, electronic equipment and storage medium for determining performance actual measurement necessity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310399909.8A CN116467198A (en) 2023-04-13 2023-04-13 Method, device, electronic equipment and storage medium for determining performance actual measurement necessity

Publications (1)

Publication Number Publication Date
CN116467198A true CN116467198A (en) 2023-07-21

Family

ID=87181831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310399909.8A Pending CN116467198A (en) 2023-04-13 2023-04-13 Method, device, electronic equipment and storage medium for determining performance actual measurement necessity

Country Status (1)

Country Link
CN (1) CN116467198A (en)

Similar Documents

Publication Publication Date Title
CN114580916A (en) Enterprise risk assessment method and device, electronic equipment and storage medium
CN115422028A (en) Credibility evaluation method and device for label portrait system, electronic equipment and medium
CN115438663A (en) Risk analysis method, device, equipment and medium for power grid work bill
CN112950359B (en) User identification method and device
CN117593115A (en) Feature value determining method, device, equipment and medium of credit risk assessment model
CN116340831B (en) Information classification method and device, electronic equipment and storage medium
CN115048352B (en) Log field extraction method, device, equipment and storage medium
CN115794744A (en) Log display method, device, equipment and storage medium
CN115730284A (en) Method, device, equipment and storage medium for controlling authority of report data
CN115545481A (en) Risk level determination method and device, electronic equipment and storage medium
CN115599679A (en) Test rule base updating method and device, electronic equipment and storage medium
CN116467198A (en) Method, device, electronic equipment and storage medium for determining performance actual measurement necessity
CN114443493A (en) Test case generation method and device, electronic equipment and storage medium
CN114693116A (en) Method and device for detecting code review validity and electronic equipment
CN116629620B (en) Risk level determining method and device, electronic equipment and storage medium
CN116166501B (en) Log verification method and device, electronic equipment and storage medium
CN116627695B (en) Alarm event root cause recommendation method, device, equipment and storage medium
CN117271373B (en) Automatic construction method and device for test cases, electronic equipment and storage medium
CN115511014B (en) Information matching method, device, equipment and storage medium
CN115658510A (en) Test data generation method and device, electronic equipment and storage medium
CN115827743A (en) Auditing method, device, equipment and storage medium
CN118035445A (en) Work order classification method and device, electronic equipment and storage medium
CN115617983A (en) Text-based defect analysis method and device, electronic equipment and storage medium
CN118152519A (en) Sample cleaning method and device, electronic equipment and storage medium
CN117851599A (en) Method, device, equipment and medium for extracting text of other elements of investment supervision

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