CN117271339A - Interface test value evaluation method, system, equipment and storage medium - Google Patents

Interface test value evaluation method, system, equipment and storage medium Download PDF

Info

Publication number
CN117271339A
CN117271339A CN202311236320.2A CN202311236320A CN117271339A CN 117271339 A CN117271339 A CN 117271339A CN 202311236320 A CN202311236320 A CN 202311236320A CN 117271339 A CN117271339 A CN 117271339A
Authority
CN
China
Prior art keywords
interface
test value
change
information
analysis result
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
CN202311236320.2A
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.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202311236320.2A priority Critical patent/CN117271339A/en
Publication of CN117271339A publication Critical patent/CN117271339A/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

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 application discloses an interface test value evaluation method, an interface test value evaluation system, interface test value evaluation equipment and a storage medium, and the interface test value evaluation method, the interface test value evaluation system and the storage medium can be applied to the financial field or other fields. The method comprises the following steps: acquiring change information and attribute information of an interface to be evaluated; analyzing according to the change information and the attribute information to obtain a test value parameter; inputting the test value parameters into an evaluation model, and carrying out weighted summation on the test value parameters to obtain an evaluation result; the evaluation results characterize the test priority of the interface being evaluated. And analyzing the test value parameters of the change information and the attribute information of the change interface, and carrying out weighted summation on each test value parameter by utilizing a scoring model to obtain a scoring result representing the test priority level, wherein the scoring result is favorable for providing reference for a tester to arrange a test scheme, and improves the test efficiency of the change interface.

Description

Interface test value evaluation method, system, equipment and storage medium
Technical Field
The present disclosure relates to the field of testing, and in particular, to a method, a system, an apparatus, and a storage medium for evaluating an interface test value.
Background
The interface change test refers to a test activity performed after the interface is modified or added with a new function in the system development process. The purpose of the interface change test is to verify whether the modification of the interface can work normally and ensure that the modules of the system can communicate and interact normally.
At present, the conventional interface change test flow is that a test manager manually screens interfaces to be tested based on an interface change list, and then test cases are rewritten and then tested.
However, the efficiency of manually screening interfaces to be tested is low, and when the interfaces are faced with emergency development tasks or temporary changes and other scenes, a test plan cannot be quickly and reasonably arranged, so that the test efficiency is low.
Disclosure of Invention
In view of this, the present application provides a method, a system, a device and a storage medium for evaluating the test value of an interface, which aim to automatically evaluate the test value of a changed interface, and quickly locate the interface to be tested, thereby improving the test efficiency.
The first aspect of the application provides an interface test value evaluation method, which comprises the following steps:
acquiring change information and attribute information of an interface to be evaluated;
analyzing according to the change information and the attribute information to obtain a test value parameter;
inputting the test value parameters into an evaluation model, and carrying out weighted summation on the test value parameters to obtain an evaluation result; the evaluation results characterize the test priority of the interface being evaluated.
In one possible implementation, the change information includes change content; the attribute information includes: system information to which the interface belongs, interface association system information and interface function type information;
analyzing according to the change information and the attribute information to obtain a test value parameter, including:
analyzing according to the interface change content to obtain a first analysis result;
analyzing according to the system information of the interface to obtain a second analysis result;
analyzing according to the interface associated system information to obtain a third analysis result;
and analyzing according to the interface function type information to obtain a fourth analysis result.
And obtaining the first analysis result, the second analysis result, the third analysis result and the fourth analysis result according to a preset rule to obtain corresponding test value parameters.
In one possible implementation manner, the analyzing according to the interface change content, to obtain the first analysis result includes:
and analyzing whether the proportion of the changed data items contains the change of the key business data items, the data length change or the data type change according to the interface change content to obtain a first analysis result.
In one possible implementation manner, the analyzing according to the system to which the interface belongs, and obtaining the second analysis result includes:
and analyzing the service level of the system to which the interface belongs according to the system information to which the interface belongs, and obtaining a second analysis result.
In one possible implementation manner, the analyzing according to the interface association system, obtaining a third analysis result includes:
and analyzing the number of the interface association systems according to the interface association system information to obtain a third analysis result.
In one possible implementation manner, the analyzing according to the interface function type information, to obtain a fourth analysis result includes:
and analyzing the service type corresponding to the interface according to the interface function type information, and obtaining a fourth analysis result if the interface corresponds to a plurality of transaction initiating channels.
In one possible implementation manner, the training method of the evaluation model includes:
aiming at a change event of an added interface, training an initial model by using a single type of test value parameter of the changed interface and a corresponding basic score to obtain a first model;
aiming at the stock interface change event, training a first model by using a plurality of types of test value parameters corresponding to the change interface in a plurality of scenes and corresponding target scoring values to obtain an evaluation model; the multi-scenario change interface includes: the same interface for changing a plurality of data items, and a plurality of different interfaces with the same change content.
A second aspect of the present application provides an interface test value assessment system, the system comprising:
the information acquisition module is used for acquiring change information and attribute information of the interface to be evaluated;
the analysis module is used for analyzing according to the change information and the attribute information to obtain a test value parameter;
the evaluation module is used for inputting the test value parameters into an evaluation model, and carrying out weighted summation on the test value parameters to obtain an evaluation result; the evaluation results characterize the test priority of the interface being evaluated.
A third aspect of the present application provides an interface test value evaluation apparatus, the apparatus comprising: a processor, memory, system bus;
the processor and the memory are connected through the system bus;
the memory is for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the interface test value assessment method according to the first aspect of the present application.
A fourth aspect of the present application provides a computer storage medium having instructions stored therein, which when run on a terminal device, cause the terminal device to perform the interface test value assessment method according to the first aspect of the present application.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
the application provides an interface test value evaluation method, system, equipment and storage medium, wherein the method comprises the following steps: acquiring change information and attribute information of an interface to be evaluated; analyzing according to the change information and the attribute information to obtain a test value parameter; inputting the test value parameters into an evaluation model, and carrying out weighted summation on the test value parameters to obtain an evaluation result; the evaluation results characterize the test priority of the interface being evaluated. And analyzing the test value parameters of the change information and the attribute information of the change interface, and carrying out weighted summation on each test value parameter by utilizing a scoring model to obtain a scoring result representing the test priority level, wherein the scoring result is favorable for providing reference for a tester to arrange a test scheme, and improves the test efficiency of the change interface.
Drawings
In order to more clearly illustrate the present embodiments or the technical solutions in the prior art, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an interface test value evaluation method according to an embodiment of the present application;
FIG. 2 is a block diagram of an interface test value evaluation system according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a process of performing a change test by the application interface test value evaluation system according to the embodiment of the present application;
fig. 4 is a block diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to facilitate understanding and explanation of the technical solutions provided by the embodiments of the present application, the following description is provided for the background of the embodiments of the present application.
The interface change test refers to a test activity performed after the interface is modified or added with a new function in the system development process. The purpose of the interface change test is to verify whether the modification of the interface can work normally and ensure that the modules of the system can communicate and interact normally.
At present, the conventional interface change test flow is that a test manager manually screens interfaces to be tested based on an interface change list, and then test cases are rewritten and then tested.
However, the efficiency of manually screening interfaces to be tested is low, and when the interfaces are faced with emergency development tasks or temporary changes and other scenes, a test plan cannot be quickly and reasonably arranged, so that the test efficiency is low.
In order to solve the above problems, embodiments of the present application provide a method, a system, an apparatus, and a storage medium for evaluating an interface test value, where the method includes: acquiring change information and attribute information of an interface to be evaluated; analyzing according to the change information and the attribute information to obtain a test value parameter; inputting the test value parameters into an evaluation model, and carrying out weighted summation on the test value parameters to obtain an evaluation result; the evaluation results characterize the test priority of the interface being evaluated. And analyzing the test value parameters of the change information and the attribute information of the change interface, and carrying out weighted summation on each test value parameter by utilizing a scoring model to obtain a scoring result representing the test priority level, wherein the scoring result is favorable for providing reference for a tester to arrange a test scheme, and improves the test efficiency of the change interface.
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1, a flowchart of an interface test value evaluation method according to an embodiment of the present application is provided. As shown in fig. 1, the method includes:
s101, acquiring change information and attribute information of an interface to be evaluated.
In the embodiment of the present application, the interface to be evaluated is an interface that has been changed but has not been tested yet. The change information may include dynamic interface information such as change type, change content, etc. The attribute information may include: and steady-state interface information such as system information to which the interface belongs, interface association system information, interface function type information and the like.
In one example, the interface management platform may query the interface that changes within a preset batch or a preset period of time, and obtain corresponding change information and attribute information thereof.
S102, analyzing according to the change information and the attribute information to obtain the test value parameter.
The test value parameters are preset evaluation indexes, and a structured and standardized quantification system for interface change is formed.
In one example, test value parameters corresponding to different change information and attribute information may be preset, and a corresponding relationship may be established.
In one possible implementation, the change information includes change content; the attribute information includes: system information to which the interface belongs, interface association system information and interface function type information;
s102, analyzing according to the change information and the attribute information to obtain a test value parameter, wherein the test value parameter comprises:
a1, analyzing according to the interface change content to obtain a first analysis result, wherein the method comprises the following steps:
and analyzing the proportion of the changed data items in the changed content according to the interface changed content, and obtaining a first analysis result if the changed content contains the change of the key business data item, the data length change or the data type change.
The higher the proportion of the changed data items, namely the proportion of the number of the changed data items to the total number of the interface data items, the higher the priority to be tested. The change content contains the change of the key business data item and the priority of the test is higher than the change of the key business data item not contained. Different test value parameters may be set for each type of analysis result. Referring to table 1, the table is a table of interface modification content test value parameters provided in the embodiment of the present application.
Table 1 interface change content test value parameter table
A2, analyzing according to the system information of the interface to obtain a second analysis result, wherein the method comprises the following steps:
and analyzing the service level of the system to which the interface belongs according to the system information to which the interface belongs, and obtaining a second analysis result. The higher the service level of the system to which the interface belongs, the higher the priority that the interface needs to be tested. Taking a banking system as an example, the general system service level is higher than the branch service level. Different test value parameters can be preset for interfaces of different service level systems.
A3, analyzing according to the interface associated system information to obtain a third analysis result, wherein the analysis result comprises:
and analyzing the number of the interface association systems according to the interface association system information to obtain a third analysis result.
The interface association system may be a system having a direct or indirect traffic data transmission relationship with the system to which the interface belongs. The greater the number of interface association systems, the higher the priority that the interface needs to be tested.
In one example, the number of interface association systems may be classified, and different test value parameters may be preset for different numbers of interface association systems.
A4, analyzing according to the interface function type information to obtain a fourth analysis result, wherein the analysis result comprises:
and analyzing the service type corresponding to the interface according to the interface function type information, and obtaining a fourth analysis result if the interface corresponds to a plurality of transaction initiating channels.
The transaction type may be a financial transaction type, a query transaction type, etc. The initiation channel of the interface can be obtained through the called record of the interface, and whether the interface relates to multi-channel initiation or not is further determined.
A5, obtaining the first analysis result, the second analysis result, the third analysis result and the fourth analysis result according to a preset rule, and obtaining corresponding test value parameters.
Corresponding test value parameters can be determined according to the corresponding relation between preset test value parameters and different analysis results and specific contents of each of the first analysis result, the second analysis result and the third analysis result, so that a group of test value parameters are obtained.
In one example, the first analysis result includes: the proportion of the changed data items is 50%, the change of key service data items, the change of data length and the change of data types are not included, and the test value parameters corresponding to the contents of the first analysis result are respectively 0.5,0.1,0.4 and 0.1; the second analysis result includes: the service grade of the system to which the interface belongs is the highest grade, and the corresponding test value parameter is 0.5; the third analysis result includes: the number of the interface association systems is 20, and the corresponding test value parameters are 0.4; the fourth analysis result includes: the business type corresponding to the interface is a financial transaction type, the corresponding test value parameter is 0.5, the interface corresponds to 3 transaction initiating channels, and the corresponding test value parameter is 0.3; i.e. a set of test value parameters 0.5,0.1,0.4,0.1,0.5,0.4,0.5,0.3.
S103, inputting the test value parameters into an evaluation model, and carrying out weighted summation on the test value parameters to obtain an evaluation result; the evaluation results characterize the test priority of the interface being evaluated.
And inputting the test value parameters corresponding to the multi-dimensional analysis result into an evaluation model for weighted summation operation to obtain an evaluation result representing the test priority of the evaluated interface. The test personnel can reasonably arrange the test scheme according to the evaluation result.
According to the embodiment of the application, the test value parameters are analyzed on the change information and the attribute information of the change interface, the score model is utilized to carry out weighted summation on the test value parameters, the score result representing the test priority level is obtained, the score result is favorable for providing reference for the test scheme arrangement of the tester, and the test efficiency of the change interface is improved.
In one possible implementation manner, the training method of the evaluation model includes:
and training an initial model by using the single type of test value parameter of the changed interface and the corresponding basic score aiming at the change event of the added interface to obtain a first model. Aiming at the stock interface change event, training a first model by using a plurality of types of test value parameters corresponding to the change interface in a plurality of scenes and corresponding target scoring values to obtain an evaluation model; the multi-scenario change interface includes: the same interface for changing a plurality of data items, and a plurality of different interfaces with the same change content.
And adding a change event of the interface, namely adding an interface which does not exist newly, and independently taking the test value parameters corresponding to each type of analysis result obtained by analyzing the interface change information and the attribute information of the type as input data in the training process. The goal is to train the model's ability to score the basis for a single type of test value parameter.
The stock interface change event is the change event of the originally existing interface, and test value parameters corresponding to different types of analysis results obtained by analyzing the interface change information and the attribute information of the type form a test value parameter set which is used as input data in the training process. The purpose is to train the ability of the model to comprehensively score the composite type test value parameter set.
Referring to fig. 2, the diagram is a structural diagram of an interface test value evaluation system provided in an embodiment of the present application. As shown in fig. 2, the system includes:
an information acquisition module 201, configured to acquire change information and attribute information of an interface to be evaluated;
the analysis module 202 is configured to analyze according to the change information and the attribute information to obtain a test value parameter;
the evaluation module 203 is configured to input the test value parameter into an evaluation model, and perform weighted summation on the test value parameter to obtain the obtained evaluation result; the evaluation results characterize the test priority of the interface being evaluated.
According to the embodiment of the application, the test value parameters are analyzed on the change information and the attribute information of the change interface, the score model is utilized to carry out weighted summation on the test value parameters, the score result representing the test priority level is obtained, the score result is favorable for providing reference for the test scheme arrangement of the tester, and the test efficiency of the change interface is improved.
In one possible implementation, the change information includes change content; the attribute information includes: system information to which the interface belongs, interface association system information and interface function type information;
the analysis module comprises:
the first sub-analysis module is used for analyzing according to the interface change content to obtain a first analysis result;
the second sub-analysis module is used for analyzing according to the system information of the interface to obtain a second analysis result;
the third sub-analysis module is used for analyzing according to the interface associated system information to obtain a third analysis result;
and the fourth sub-analysis module is used for analyzing according to the interface function type information to obtain a fourth analysis result.
The test value parameter obtaining module is used for obtaining the first analysis result, the second analysis result, the third analysis result and the fourth analysis result according to a preset rule to obtain corresponding test value parameters.
In one possible implementation manner, the first sub-analysis module is specifically configured to analyze, according to the interface change content, whether the proportion of the changed data item includes a change of the key service data item, a change of the data length, or a change of the data type, so as to obtain a first analysis result.
In one possible implementation manner, the second sub-analysis module is specifically configured to analyze, according to information of a system to which the interface belongs, a service level of the system to which the interface belongs, so as to obtain a second analysis result.
In one possible implementation manner, the third sub-analysis module is specifically configured to analyze, according to the interface association system information, the number of interface association systems, and obtain a third analysis result.
In one possible implementation manner, the fourth sub-analysis module is specifically configured to analyze, according to the interface function type information, a service type corresponding to the interface, whether the interface corresponds to a plurality of transaction initiation channels, and obtain a fourth analysis result.
In a possible implementation manner, the system further includes a training module for evaluating a model, specifically configured to train an initial model by using a single type of test value parameter of the change interface and a corresponding basic score for a change event of the increase interface, so as to obtain a first model; aiming at the stock interface change event, training a first model by using a plurality of types of test value parameters corresponding to the change interface in a plurality of scenes and corresponding target scoring values to obtain an evaluation model; the multi-scenario change interface includes: the same interface for changing a plurality of data items, and a plurality of different interfaces with the same change content.
Referring to fig. 3, a schematic diagram of a process of performing a change test by the application interface test value evaluation system according to an embodiment of the present application is shown. As shown in fig. 3, a user performs interface modification through the interface management platform 301, the interface management platform 301 transmits modified interface information (including modification information and attribute information) to the test value evaluation system 302, the test value evaluation system 302 analyzes according to the modification information and the attribute information to obtain test value parameters, inputs the test value parameters into the scoring model to perform weighted operation, and outputs the final scoring result. The scoring results characterize the interface test priorities. Based on the scoring results, the test case library 303 recommends test cases to the test platform 304, and test persons can reasonably arrange test schemes based on the recommended test cases and the scoring results.
The embodiment of the application provides a computer storage medium, wherein instructions are stored in the computer storage medium, and when the instructions run on terminal equipment, the terminal equipment is caused to execute the interface test value assessment method provided by the embodiment of the application.
In practical applications, the computer-readable storage medium may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having 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. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or cloud service system. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
As shown in fig. 4, a schematic structural diagram of a computer device is provided in an embodiment of the present application. The computer device can be applied as an interface test value evaluation device. The computer device 12 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in FIG. 4, the computer device 12 is in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the present application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods in the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through network adapter 20. As shown in fig. 4, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in connection with computer device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processor unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the interface test value evaluation method provided in the embodiment of the present application.
The interface test value evaluation method, system, equipment and storage medium can be used in the financial field or other fields, for example, can be used for changing test application scenes of a bank system interface in the financial field. Other fields are any field other than the financial field, for example, the data processing field. The foregoing is merely an example, and the application fields of the method, the system, the device and the storage medium for evaluating the test value of the interface provided by the present application are not limited.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment is mainly described in a different point from other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, with reference to the description of the method embodiments in part. The above-described apparatus and system embodiments are merely illustrative, in which elements illustrated as separate elements may or may not be physically separate, and elements illustrated as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing is merely one specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An interface test value assessment method, comprising:
acquiring change information and attribute information of an interface to be evaluated;
analyzing according to the change information and the attribute information to obtain a test value parameter;
inputting the test value parameters into an evaluation model, and carrying out weighted summation on the test value parameters to obtain an evaluation result; the evaluation results characterize the test priority of the interface being evaluated.
2. The method of claim 1, wherein the change information includes change content; the attribute information includes: system information to which the interface belongs, interface association system information and interface function type information;
analyzing according to the change information and the attribute information to obtain a test value parameter, including:
analyzing according to the interface change content to obtain a first analysis result;
analyzing according to the system information of the interface to obtain a second analysis result;
analyzing according to the interface associated system information to obtain a third analysis result;
analyzing according to the interface function type information to obtain a fourth analysis result;
and obtaining the first analysis result, the second analysis result, the third analysis result and the fourth analysis result according to a preset rule to obtain corresponding test value parameters.
3. The method of claim 2, wherein analyzing according to the interface change content to obtain a first analysis result comprises:
and analyzing whether the proportion of the changed data items contains the change of the key business data items, the data length change or the data type change according to the interface change content to obtain a first analysis result.
4. The method according to claim 2, wherein the analyzing according to the system to which the interface belongs, obtaining the second analysis result includes:
and analyzing the service level of the system to which the interface belongs according to the system information to which the interface belongs, and obtaining a second analysis result.
5. The method of claim 2, wherein the analyzing according to the interface association system to obtain a third analysis result comprises:
and analyzing the number of the interface association systems according to the interface association system information to obtain a third analysis result.
6. The method of claim 2, wherein analyzing according to the interface function type information to obtain a fourth analysis result comprises:
and analyzing the service type corresponding to the interface according to the interface function type information, and obtaining a fourth analysis result if the interface corresponds to a plurality of transaction initiating channels.
7. The method of any one of claims 1-6, wherein the training method of the assessment model comprises:
aiming at a change event of an added interface, training an initial model by using a single type of test value parameter of the changed interface and a corresponding basic score to obtain a first model;
aiming at the stock interface change event, training a first model by using a plurality of types of test value parameters corresponding to the change interface in a plurality of scenes and corresponding target scoring values to obtain an evaluation model; the multi-scenario change interface includes: the same interface for changing a plurality of data items, and a plurality of different interfaces with the same change content.
8. An interface test value assessment system, the system comprising:
the information acquisition module is used for acquiring change information and attribute information of the interface to be evaluated;
the analysis module is used for analyzing according to the change information and the attribute information to obtain a test value parameter;
the evaluation module is used for inputting the test value parameters into an evaluation model, and carrying out weighted summation on the test value parameters to obtain an evaluation result; the evaluation results characterize the test priority of the interface being evaluated.
9. An interface test value evaluation apparatus, characterized in that the apparatus comprises: a processor, memory, system bus;
the processor and the memory are connected through the system bus;
the memory is for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the interface test value assessment method of any of claims 1 to 7.
10. A computer storage medium having instructions stored therein which, when executed on a terminal device, cause the terminal device to perform the interface test value assessment method according to any one of claims 1 to 7.
CN202311236320.2A 2023-09-22 2023-09-22 Interface test value evaluation method, system, equipment and storage medium Pending CN117271339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311236320.2A CN117271339A (en) 2023-09-22 2023-09-22 Interface test value evaluation method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311236320.2A CN117271339A (en) 2023-09-22 2023-09-22 Interface test value evaluation method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117271339A true CN117271339A (en) 2023-12-22

Family

ID=89213868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311236320.2A Pending CN117271339A (en) 2023-09-22 2023-09-22 Interface test value evaluation method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117271339A (en)

Similar Documents

Publication Publication Date Title
CN110706096A (en) Method and device for managing credit line based on salvage-back user and electronic equipment
US20100077257A1 (en) Methods for disaster recoverability testing and validation
CN110659985A (en) Method and device for fishing back false rejection potential user and electronic equipment
CN113837596B (en) Fault determination method and device, electronic equipment and storage medium
CN111612040B (en) Financial data anomaly detection method and related device based on isolated forest algorithm
CN113177700B (en) Risk assessment method, system, electronic equipment and storage medium
CN111752833B (en) Software quality system approval method, device, server and storage medium
CN115034596A (en) Risk conduction prediction method, device, equipment and medium
CN111274130A (en) Automatic testing method, device, equipment and storage medium
CN110197301A (en) A kind of prediction technique of disposable income, device, server and storage medium
CN111639025B (en) Software testing method and device, electronic equipment and storage medium
CN111402034A (en) Credit auditing method, device, equipment and storage medium
CN117271339A (en) Interface test value evaluation method, system, equipment and storage medium
CN112597041B (en) Cross-branch merging method, system, equipment and storage medium for code coverage rate
CN115168848A (en) Interception feedback processing method based on big data analysis interception
CN114490390A (en) Test data generation method, device, equipment and storage medium
CN114185656A (en) Test task processing method, device, equipment and storage medium
CN113516398A (en) Risk equipment identification method and device based on hierarchical sampling and electronic equipment
CN113656314A (en) Pressure test processing method and device
CN112907141A (en) Pressure testing method, device, equipment and storage medium
CN112416727A (en) Batch processing operation checking method, device, equipment and medium
CN112561331A (en) Visual experimental analysis evaluation index construction method
CN111859985A (en) AI customer service model testing method, device, electronic equipment and storage medium
Wakefield et al. Riskman™, celebrating 20+ years of excellence
CN111489101A (en) Order auditing method, device, equipment and medium based on big data

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