CN115712571A - Interactive service test device, interactive service test device, computer equipment and storage medium - Google Patents

Interactive service test device, interactive service test device, computer equipment and storage medium Download PDF

Info

Publication number
CN115712571A
CN115712571A CN202211478383.4A CN202211478383A CN115712571A CN 115712571 A CN115712571 A CN 115712571A CN 202211478383 A CN202211478383 A CN 202211478383A CN 115712571 A CN115712571 A CN 115712571A
Authority
CN
China
Prior art keywords
service
sub
business
test
interactive
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
CN202211478383.4A
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211478383.4A priority Critical patent/CN115712571A/en
Publication of CN115712571A publication Critical patent/CN115712571A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides an interactive service test, an interactive service device, computer equipment and a storage medium, which can acquire a historical test data set of a service interactive service corresponding to a service scene; screening out the business sub-interactive services required by constructing the business scene from the initial business sub-interactive services according to historical test data; acquiring a service test strategy corresponding to a service scene; determining a test sequence of the business sub-interactive services according to the business test strategy; and testing the business sub-interactive services according to the test sequence. According to the embodiment of the application, the business sub-interaction service required for constructing the business scene can be screened out from the initial business sub-interaction service according to the historical test data of the historical test data set, so that the test sequence of the business sub-interaction service can be determined according to the business test strategy, the business sub-interaction service can be further tested according to the test sequence, and the test efficiency of the business scene is improved.

Description

Interactive service test, device, computer equipment and storage medium
Technical Field
The application relates to the technical field of testing, in particular to an interactive service test, an interactive service device, a computer device and a storage medium.
Background
A business scenario, for example a withdrawal scenario, may be formed by at least one interactive service, which may be implemented by means of an interface. At present, before a business scene is formally online, the business scene needs to be tested. However, the current method for testing the service scenario is complicated, for example, in the process of testing the service scenario, each interactive service of the service scenario needs to be manually tested, and if one interactive service is not successfully tested, all interactive services of the whole service scenario need to be manually retested, which results in low efficiency of testing the service scenario.
In summary, the problem of low test efficiency of the service scenario exists in the prior art.
Disclosure of Invention
The embodiment of the application provides an interactive service test, an interactive service test device, computer equipment and a storage medium, and the efficiency of testing a service scene can be improved.
An interactive service testing method, comprising:
acquiring a historical test data set of the service interaction service corresponding to the service scene, wherein the test data set comprises historical test data corresponding to each initial service sub-interaction service in the service interaction service;
screening out the business sub-interactive services required by constructing the business scene from the initial business sub-interactive services according to historical test data;
acquiring a service test strategy corresponding to a service scene;
determining a test sequence of the business sub-interactive services according to the business test strategy;
and testing the business sub-interactive services according to the test sequence.
Correspondingly, an embodiment of the present application provides an interactive service testing apparatus, including:
the first obtaining unit may be configured to obtain a historical test data set of the service interaction service corresponding to the service scenario, where the test data set includes historical test data corresponding to each initial service sub-interaction service in the service interaction service;
the screening unit can be used for screening out the business sub-interactive services required by constructing the business scene from the initial business sub-interactive services according to the historical test data;
the second obtaining unit may be configured to obtain a service test policy corresponding to a service scenario;
the determining unit may be configured to determine a test sequence of the service sub-interaction service according to the service test policy;
and the testing unit can be used for testing the business sub-interactive services according to the testing sequence.
In some embodiments, the test unit may be specifically configured to obtain service test data corresponding to the service sub-interaction service according to the test sequence; if the service test data of the target service sub-service in the service sub-interaction service is not verified, the target service sub-service is retested.
In some embodiments, the test unit may be specifically configured to obtain a retest instruction for a target service sub-service; according to the retest instruction, candidate service test data of the target service sub-service are obtained; and checking the candidate service test data to retest the target service sub-service.
In some embodiments, the screening unit may be specifically configured to obtain test template data corresponding to the initial service sub-interaction service; and screening out the business sub-interactive services required by constructing the business scene from the initial business sub-interactive services according to the historical test data and the test template data.
In some embodiments, the screening unit may be specifically configured to match the historical test data with the test template data; and if the historical test data is matched with the test template data, screening out the business sub-interactive service required by constructing the business scene from the initial business sub-interactive service.
In some embodiments, the second obtaining unit may be specifically configured to obtain a service test display interface, where the service test display interface includes at least one candidate service test policy corresponding to a service scenario; and responding to the selection operation aiming at the candidate service test strategies, and screening out the service test strategies corresponding to the service scenes from at least one candidate service test strategy.
In some embodiments, the first obtaining unit may be specifically configured to obtain scene feature data of a service scene, and obtain a candidate service sub-interaction service corresponding to the service scene; screening initial service sub-interactive services corresponding to the service scene from the candidate service sub-interactive services according to the scene characteristic data; and acquiring historical test data corresponding to the initial business sub-interactive service to construct a historical test data set of the business interactive service corresponding to the business scene.
In addition, the embodiment of the application also provides computer equipment, which comprises a memory and a processor; the memory stores a computer program, and the processor is used for operating the computer program in the memory to execute any interactive service testing method provided by the embodiment of the application.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and the computer program is suitable for being loaded by a processor to execute any one of the interactive service testing methods provided in the embodiment of the present application.
In addition, a computer program product is provided in the embodiments of the present application, and includes a computer program, where when the computer program is executed by a processor, the computer program implements any one of the interactive service testing methods provided in the embodiments of the present application.
The method and the device for testing the business interaction service can acquire a historical test data set of the business interaction service corresponding to a business scene, wherein the test data set comprises historical test data corresponding to each initial business sub-interaction service in the business interaction service; screening out the business sub-interactive services required by constructing the business scene from the initial business sub-interactive services according to historical test data; acquiring a service test strategy corresponding to a service scene; determining a test sequence of the business sub-interactive services according to the business test strategy; and testing the business sub-interactive services according to the test sequence. According to the embodiment of the application, the business sub-interaction services required for constructing the business scene can be screened out from the initial business sub-interaction services according to the historical test data of the historical test data set, so that the test sequence of the business sub-interaction services can be determined according to the business test strategy, the business sub-interaction services can be further tested according to the test sequence, and the test efficiency of the business scene is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of an interactive service testing method provided in an embodiment of the present application;
FIG. 2 is a flowchart illustrating an interactive service testing method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an initial business sub-interaction service provided by an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an interactive service testing apparatus provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an interactive service testing method, an interactive service testing device, computer equipment and a computer readable storage medium. The interactive service testing device may be integrated in a computer device, and the computer device may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, network acceleration service (CDN), big data, an artificial intelligence platform, and the like. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
For example, referring to fig. 1, taking an example that the interactive service testing apparatus is integrated in a computer device, the computer device may obtain a historical test data set of the service interaction service corresponding to the service scenario, where the test data set includes historical test data corresponding to each initial service sub-interaction service in the service interaction service; screening out the business sub-interactive services required for constructing the business scene from the initial business sub-interactive services according to historical test data; acquiring a service test strategy corresponding to a service scene; determining a test sequence of the business sub-interactive services according to the business test strategy; and testing the business sub-interactive services according to the test sequence.
The business scene is, for example, a loan business scene of a bank, and a deposit scene of the bank, for example. The service scenario is specifically realized through a service interaction service, and the service interaction service can be a service constructed through at least one service sub-interaction service. The service sub-interaction service may specifically be an interface, and the service sub-interaction service may also specifically be an application program with an interaction function.
The historical test data may be test data obtained by testing the initial business sub-interaction service in historical time.
The initial business sub-interaction service may be specifically an interface, and may also be an application program with an interaction function.
The service test policy may refer to a policy for testing the service sub-interaction service. The business test strategy can enable the computer equipment to at least execute the test sequence of the business sub-interactive service determined according to the business test strategy; and testing the business sub-interactive service according to the test sequence.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
In this embodiment, a description will be given from the perspective of an interactive service testing apparatus, where the interactive service testing apparatus may be specifically integrated in a computer device, and the computer device may be a server or a terminal; the terminal may include a tablet Computer, a notebook Computer, a Personal Computer (PC), a wearable device, a virtual reality device, or other intelligent devices capable of acquiring data.
As shown in fig. 2, the specific flow of the interactive service testing method is as follows from step S201 to step S204:
s201, obtaining a historical test data set of the business interaction service corresponding to the business scene.
The test data set comprises historical test data corresponding to each initial business sub-interactive service in the business interactive services.
In an example, the historical test data set may be stored in a database, and the test data set is bound to a service identifier of the service interaction service, so that the historical test data set of the service interaction service corresponding to the service scenario may be obtained from the database based on the service identifier of the service interaction service.
In some application embodiments, the manner of obtaining the historical test data set of the service interaction service corresponding to the service scenario may be: acquiring scene characteristic data of a service scene and acquiring candidate service sub-interactive services corresponding to the service scene; screening initial service sub-interactive services corresponding to the service scene from the candidate service sub-interactive services according to the scene characteristic data; and acquiring historical test data corresponding to the initial business sub-interactive service to construct a historical test data set of the business interactive service corresponding to the business scene.
The scene feature data may be data characterizing a traffic scene.
The candidate business sub-interaction services each have a corresponding interaction function, for example, the candidate business sub-interaction services may include a loan function service, a user data acquisition function service, a user right providing function service, a deposit function service, and the like.
In an example, the scene characteristic data may be characterized as a scene identification.
In an example, the scene feature data may also be feature data acquired by the computer device in response to an input operation of an object.
Based on the above, the scene feature data may have an association relationship with the initial service sub-interaction service, and based on this, the method for screening the initial service sub-interaction service corresponding to the service scene from the candidate service sub-interaction services according to the scene feature data may be: extracting initial service sub-interactive services corresponding to the scene characteristic data from the candidate service sub-interactive services according to the incidence relation between the scene characteristic data and the initial service sub-interactive services; and taking the initial business sub-interaction service corresponding to the scene characteristic data as the initial business sub-interaction service corresponding to the business scene.
S202, screening out the business sub-interactive services required by the construction of the business scene from the initial business sub-interactive services according to historical test data.
In some application embodiments, according to the historical test data, the method for screening out the service sub-interaction service required for constructing the service scenario from the initial service sub-interaction service may be: acquiring test template data corresponding to the initial business sub-interactive service; and screening out the business sub-interactive services required for constructing the business scene from the initial business sub-interactive services according to the historical test data and the test template data.
The test template data may be preset data for measuring whether the historical test data meets the requirements.
In some application embodiments, the business sub-interaction services required for screening and constructing the business scenario from the initial business sub-interaction services according to the historical test data and the test template data may be: matching the historical test data with the test template data; and if the historical test data is matched with the test template data, screening out the business sub-interactive service required by constructing the business scene from the initial business sub-interactive service.
When the historical test data is the same as the test template data, the condition can be called that the historical test data is matched with the test template data; when the similarity between the historical test data and the test template data is greater than or equal to the preset similarity threshold, the historical test data and the test template data are called to be matched in the condition.
Wherein, the similarity between the historical test data and the test template data can be calculated by adopting a similarity function. The similarity function may be a cosine similarity function, the similarity function may also be a gaussian kernel similarity function, and so on.
S203, obtaining a service test strategy corresponding to the service scene.
The service test strategy may be a preset strategy, and the representation form of the service test strategy may be an application program.
In some application embodiments, the manner of obtaining the service test policy corresponding to the service scenario may be: acquiring a service test display interface, wherein the service test display interface comprises at least one candidate service test strategy corresponding to a service scene; and responding to the selection operation aiming at the candidate service test strategies, and screening out the service test strategies corresponding to the service scenes from at least one candidate service test strategy.
S204, determining the testing sequence of the business sub-interactive service according to the business testing strategy.
In some application embodiments, according to the service testing policy, the manner of determining the testing order of the service sub-interaction services may be: acquiring service characteristic data of the service sub-interactive service according to the service test strategy; and determining the test sequence of the business sub-interactive services according to the service characteristic data.
The test sequence of different business sub-interactive services may be different, and the test sequence of different business sub-interactive services may also be the same. For example, the service sub-interaction service includes a first service sub-interaction service, a second service sub-interaction service, a third service sub-interaction service, and a fourth service sub-interaction service, where the test sequence is: the first business sub-interaction service has priority over the second business sub-interaction service, the second business sub-interaction service has priority over the third business sub-interaction service, and the test sequence of the third business sub-interaction service is the same as that of the fourth business sub-interaction service.
The service feature data may refer to feature data of a business sub-interaction service. The service characteristic data may refer to a package name of the business sub-interaction service. Different business sub-interactive services have different interactive functions.
In an example, according to the service feature data, the manner of determining the test sequence of the business sub-interaction service may be: and determining the test sequence of the business sub-interaction service in response to the input operation on the test sequence aiming at the service characteristic data.
In an example, according to the service feature data, the manner of determining the test sequence of the business sub-interaction service may be: acquiring a mapping relation set, wherein the mapping relation set comprises mapping relations between preset service characteristic data and a preset test sequence; searching target preset service characteristic data corresponding to the service characteristic data from preset service characteristic data of the mapping relation set; determining a target preset test sequence corresponding to the target preset service characteristic data according to the mapping relation set; and taking the target preset test sequence as the test sequence of the business sub-interactive service.
S205, testing the business sub-interactive service according to the testing sequence.
In an embodiment of the present application, after step S205, a test result may be generated.
The embodiment of the application allows a user to check the test result.
In some application embodiments, according to the test sequence, the method for testing the service sub-interaction service may be: acquiring service test data corresponding to the business sub-interactive services according to the test sequence; if the service test data of the target service sub-service in the service sub-interaction service is not verified, retesting the target service sub-service.
The service test data can be data acquired by the computer device in response to input operation in a service template provided by the business sub-interaction service. For example, the service sub-interaction service provides a service template, and the user inputs contents in the service template to obtain service test data.
Wherein the service template may be a template for the object to input content. The object may be a user.
The service template may have fields preset therein for the user to input content, where the fields are, for example, name, gender, income, and the like. The fields may include mandatory fields, optional fields, and non-mandatory fields, among others. Wherein, the mandatory field requires that the user must input the content; the optional field requires the user to select the corresponding content through the drop-down box; the optional fields require the user to decide whether to enter content on demand.
After the user inputs the content in the service template, the content can be automatically saved so as to generate service test data.
After the user inputs the content in the service template, the input content can be modified.
In an example, when the service test data of all the service sub-interaction services passes the verification, it may indicate that the service scenario test is successful; when the service test data of all the service sub-interaction services are checked to be failed, the service scene test can be shown to be unsuccessful.
In an example, in the embodiment of the present application, after the step of obtaining the service test data corresponding to the service sub-interactive service according to the test sequence, the service test data corresponding to the service sub-interactive service may be verified.
Specifically, the preset rule may be adopted to verify service test data corresponding to the business sub-interaction service.
The preset rule may include a plurality of preset rules, for example, a preset rule one: checking all mandatory fields of the service test data, and supporting a regular expression; a second preset rule: allowing to enter modification suggestions for irregular contents in the service test data and returning the modification suggestions to corresponding users through the service sub-interaction service; and so on.
In an example, when a pass instruction for service test data of a target service sub-service in the service sub-interaction service is acquired, it is determined that the service test data of the target service sub-service in the service sub-interaction service passes verification.
The pass through instruction may be an instruction generated by the computer device in response to a confirmation operation for the pass through control.
And when a failure instruction aiming at the service test data of the target service sub-service in the service sub-interactive service is obtained, determining that the service test data of the target service sub-service in the service sub-interactive service is not verified.
Wherein the no-pass instruction may be an instruction generated by the computer device in response to a confirmation operation for the no-pass control.
In some application embodiments, the manner of retesting the target service subservices may be: obtaining a retest instruction for the target service sub-service; according to the retest instruction, acquiring candidate service test data of the target service sub-service; and checking the candidate service test data to retest the target service sub-service.
Wherein the retest instruction may be an instruction generated by the computer device in response to a validation operation for the retest control.
In an example, the candidate service test data may be data that the computer device retrieves in response to an input operation in a candidate service template provided by the business sub-interaction service.
In an example, the candidate service test data may be verified by: acquiring reference data; the reference data is matched with the candidate service test data.
The reference data may be preset data used for verifying the candidate service test data.
When the reference data is the same as the candidate service test data, the condition can be called that the reference data is matched with the candidate data; when the similarity between the reference data and the candidate service test data is greater than a preset threshold, this condition may be called that the reference data and the candidate data are matched. Wherein, the similarity between the reference data and the candidate service test data can be calculated by adopting a similarity function.
Based on the above, the embodiments of the present application are further explained. The initial service sub-interaction service of the embodiment of the application can be characterized in an interface form.
As shown in fig. 3, the initial business sub-interaction service of the embodiment of the present application includes an interface 1, an interface 2. Wherein n is a natural number. According to the embodiment of the application, the business sub-interactive services required for constructing the business scene are screened out from the initial business sub-interactive services according to the historical test data corresponding to the initial business sub-interactive services.
There are multiple service scenarios, for example, a service scenario includes scenario 1, scenario 2. Taking scene 1 as an example, the business sub-interaction service required for constructing scene 1 includes interface 1, interface 2.
Based on the above, the embodiment of the application obtains the service test strategy corresponding to the service scene; determining a test sequence of the business sub-interactive services according to the business test strategy; and testing the business sub-interactive services according to the test sequence.
Based on the above, it can be seen that, in the embodiment of the present application, based on the historical test data corresponding to each initial service sub-interaction service, a service sub-interaction service required for constructing a service scene is screened out from the initial service sub-interaction services, and then the service sub-interaction service required for constructing the service scene is tested, which is equivalent to that, in the embodiment of the present application, each individual initial service sub-interaction service is tested by using the historical test data, and then the service sub-interaction service required for constructing the service scene is built by joint debugging to test the service scene, so that development test is facilitated, and white list production verification of the online service sub-interaction service can be performed; the business sub-interactive service provided by the partner can be provided once, butted and recycled for multiple times, and the business sub-interactive service of the business scene is provided for the partner, so that the partner can be helped to apply the project of the business sub-interactive service to be on line quickly, and the satisfaction degree and the matching degree of the partner are improved.
The method and the device for testing the business interaction service can acquire a historical test data set of the business interaction service corresponding to a business scene, wherein the test data set comprises historical test data corresponding to each initial business sub-interaction service in the business interaction service; screening out the business sub-interactive services required for constructing the business scene from the initial business sub-interactive services according to historical test data; acquiring a service test strategy corresponding to a service scene; determining a test sequence of the business sub-interactive services according to the business test strategy; and testing the business sub-interactive services according to the test sequence. According to the embodiment of the application, the business sub-interaction service required for constructing the business scene can be screened out from the initial business sub-interaction service according to the historical test data of the historical test data set, so that the test sequence of the business sub-interaction service can be determined according to the business test strategy, the business sub-interaction service can be further tested according to the test sequence, and the test efficiency of the business scene is improved.
In order to better implement the above method, the present application further provides an interactive service testing apparatus, which may be integrated in a computer device, such as a server or a terminal, and the terminal may include a tablet computer, a notebook computer, and/or a personal computer.
For example, as shown in fig. 4, the interactive service testing apparatus may include a first obtaining unit 301, a screening unit 302, a second obtaining unit 303, a determining unit 304, and a testing unit 305, as follows:
(1) A first acquisition unit;
the first obtaining unit may be configured to obtain a historical test data set of the service interaction service corresponding to the service scenario, where the test data set includes historical test data corresponding to each initial service sub-interaction service in the service interaction service.
In some application embodiments, the first obtaining unit may be configured to obtain scene feature data of a service scene, and obtain a candidate service sub-interaction service corresponding to the service scene; screening initial business sub-interactive services corresponding to the business scenes from the candidate business sub-interactive services according to the scene characteristic data; and acquiring historical test data corresponding to the initial business sub-interactive service to construct a historical test data set of the business interactive service corresponding to the business scene.
(2) A screening unit;
and the screening unit can be used for screening out the business sub-interactive services required by the construction of the business scene from the initial business sub-interactive services according to the historical test data.
In some application embodiments, the screening unit may be configured to obtain test template data corresponding to the initial service sub-interaction service; and screening out the business sub-interactive services required for constructing the business scene from the initial business sub-interactive services according to the historical test data and the test template data.
In some application embodiments, the screening unit may be configured to match the historical test data with the test template data; and if the historical test data is matched with the test template data, screening out the business sub-interactive services required by constructing the business scene from the initial business sub-interactive services.
(3) A second acquisition unit;
the second obtaining unit may be configured to obtain a service test policy corresponding to a service scenario.
In some application embodiments, the second obtaining unit may be configured to obtain a service test display interface, where the service test display interface includes at least one candidate service test policy corresponding to a service scenario; and responding to the selection operation aiming at the candidate service test strategies, and screening out the service test strategies corresponding to the service scenes from at least one candidate service test strategy.
(4) A determination unit;
and the determining unit can be used for determining the testing sequence of the business sub-interactive services according to the business testing strategy.
(5) A test unit;
and the testing unit can be used for testing the business sub-interactive services according to the testing sequence.
In some application embodiments, the test unit may be configured to obtain service test data corresponding to the service sub-interaction service according to a test sequence; if the service test data of the target service sub-service in the service sub-interaction service is not verified, the target service sub-service is retested.
In some application embodiments, the testing unit may be configured to obtain a retest instruction for a target service subservice; according to the retest instruction, acquiring candidate service test data of the target service sub-service; and checking the candidate service test data to retest the target service sub-service.
As can be seen from the above, the first obtaining unit in the embodiment of the present application may be configured to obtain a historical test data set of the service interaction service corresponding to the service scenario, where the test data set includes historical test data corresponding to each initial service sub-interaction service in the service interaction service; the screening unit can be used for screening out the business sub-interactive services required by the construction of the business scene from the initial business sub-interactive services according to the historical test data; the second obtaining unit may be configured to obtain a service test policy corresponding to a service scenario; the determining unit may be configured to determine a test sequence of the service sub-interaction service according to the service test policy; and the testing unit can be used for testing the business sub-interactive services according to the testing sequence. According to the embodiment of the application, the business sub-interaction service required for constructing the business scene can be screened out from the initial business sub-interaction service according to the historical test data of the historical test data set, so that the test sequence of the business sub-interaction service can be determined according to the business test strategy, the business sub-interaction service can be further tested according to the test sequence, and the test efficiency of the business scene is improved.
An embodiment of the present application further provides a computer device, as shown in fig. 5, which shows a schematic structural diagram of the computer device according to the embodiment of the present application, specifically:
the computer device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 5 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402. Alternatively, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, computer programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The computer device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The computer device may also include an input unit 404, where the input unit 404 may be used to receive input numeric or character information communications, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the computer device loads the executable file corresponding to the process of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions as follows:
acquiring a historical test data set of the service interaction service corresponding to the service scene, wherein the test data set comprises historical test data corresponding to each initial service sub-interaction service in the service interaction service; screening out the business sub-interactive services required by constructing the business scene from the initial business sub-interactive services according to historical test data; acquiring a service test strategy corresponding to a service scene; determining a test sequence of the business sub-interactive services according to the business test strategy; and testing the business sub-interactive services according to the test sequence.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by a computer program, which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by related hardware controlled by the computer program.
To this end, the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program can be loaded by a processor to execute any one of the interactive service testing methods provided in the present application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium may execute the steps in any interactive service testing method provided in the embodiment of the present application, beneficial effects that can be achieved by any interactive service testing method provided in the embodiment of the present application may be achieved, for details, see the foregoing embodiments, and are not described herein again.
According to an aspect of the application, there is provided, among other things, a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in the various alternative implementations provided by the above embodiments.
The interactive service test, the interactive service test device, the interactive service computer device and the storage medium provided by the embodiments of the present application are described in detail above, and specific examples are applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An interactive service testing method, comprising:
acquiring a historical test data set of the service interaction service corresponding to a service scene, wherein the test data set comprises historical test data corresponding to each initial service sub-interaction service in the service interaction service;
screening out the business sub-interactive services required for constructing the business scene from the initial business sub-interactive services according to the historical test data;
acquiring a service test strategy corresponding to the service scene;
determining a test sequence of the business sub-interactive services according to the business test strategy;
and testing the business sub-interactive service according to the test sequence.
2. The interactive service testing method according to claim 1, wherein the testing the service sub-interactive services according to the testing order comprises:
acquiring service test data corresponding to the business sub-interactive services according to the test sequence;
if the service test data of the target service sub-service in the service sub-interaction service is not verified, retesting the target service sub-service.
3. The interactive service testing method according to claim 2, wherein said retesting the target service sub-service comprises:
obtaining a retest instruction for the target business sub-service;
acquiring candidate service test data of the target service sub-service according to the retesting instruction;
and checking the candidate service test data to retest the target service sub-service.
4. The interactive service testing method according to claim 1, wherein the screening out the service sub interactive services required for constructing the service scenario from the initial service sub interactive services according to the historical test data comprises:
acquiring test template data corresponding to the initial business sub-interactive service;
and screening out the business sub-interactive services required by the construction of the business scene from the initial business sub-interactive services according to the historical test data and the test template data.
5. The interactive service testing method according to claim 4, wherein the screening out the business sub-interactive services required for constructing the business scenario from the initial business sub-interactive services according to the historical test data and the test template data comprises:
matching the historical test data with the test template data;
and if the historical test data is matched with the test template data, screening out the business sub-interactive service required by constructing the business scene from the initial business sub-interactive service.
6. The interactive service testing method according to claim 1, wherein the obtaining of the service testing policy corresponding to the service scenario includes:
acquiring a service test display interface, wherein the service test display interface comprises at least one candidate service test strategy corresponding to the service scene;
and responding to the selection operation aiming at the candidate service test strategy, and screening out the service test strategy corresponding to the service scene from at least one candidate service test strategy.
7. The interactive service testing method according to claim 1, wherein the obtaining of the historical testing data set of the service interactive service corresponding to the service scenario includes:
acquiring scene characteristic data of the service scene and acquiring candidate service sub-interactive services corresponding to the service scene;
screening out initial service sub-interactive services corresponding to the service scene from candidate service sub-interactive services according to the scene characteristic data;
and acquiring historical test data corresponding to the initial business sub-interactive service to construct a historical test data set of the business interactive service corresponding to a business scene.
8. An interactive service testing apparatus, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a historical test data set of the service interaction service corresponding to a service scene, and the test data set comprises historical test data corresponding to each initial service sub-interaction service in the service interaction service;
the screening unit is used for screening out the business sub-interactive services required by the construction of the business scene from the initial business sub-interactive services according to the historical test data;
a second obtaining unit, configured to obtain a service test policy corresponding to the service scenario;
a determining unit, configured to determine a test sequence of the service sub-interaction service according to the service test policy;
and the testing unit is used for testing the business sub-interactive service according to the testing sequence.
9. A computer device comprising a memory and a processor; the memory stores a computer program, and the processor is configured to execute the computer program in the memory to perform the interactive service testing method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that it stores a computer program adapted to be loaded by a processor for performing the interactive service testing method of any of claims 1 to 7.
CN202211478383.4A 2022-11-23 2022-11-23 Interactive service test device, interactive service test device, computer equipment and storage medium Pending CN115712571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211478383.4A CN115712571A (en) 2022-11-23 2022-11-23 Interactive service test device, interactive service test device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211478383.4A CN115712571A (en) 2022-11-23 2022-11-23 Interactive service test device, interactive service test device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115712571A true CN115712571A (en) 2023-02-24

Family

ID=85234483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211478383.4A Pending CN115712571A (en) 2022-11-23 2022-11-23 Interactive service test device, interactive service test device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115712571A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991693A (en) * 2023-09-27 2023-11-03 宁波银行股份有限公司 Test method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991693A (en) * 2023-09-27 2023-11-03 宁波银行股份有限公司 Test method, device, equipment and storage medium
CN116991693B (en) * 2023-09-27 2023-12-26 宁波银行股份有限公司 Test method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11151024B2 (en) Dynamic automation of DevOps pipeline vulnerability detecting and testing
CN108154197B (en) Method and device for realizing image annotation verification in virtual scene
CN111931048B (en) Artificial intelligence-based black product account detection method and related device
CN112711640A (en) Method and device for configuring business handling process
CN115712571A (en) Interactive service test device, interactive service test device, computer equipment and storage medium
CN116431769A (en) Interactive data analysis method and software product based on customized AI cloud platform service
CN112783790B (en) Application program testing method and device
CN108847948B (en) Method and device for creating activity group, medium and computing equipment
CN114662676A (en) Model optimization method and device, electronic equipment and computer-readable storage medium
CN114048024A (en) Task deployment method, device, equipment, storage medium and product
US11205092B2 (en) Clustering simulation failures for triage and debugging
CN112817869A (en) Test method, test device, test medium, and electronic apparatus
CN113971191A (en) Data import method and device and computer readable storage medium
CN110544166A (en) Sample generation method, device and storage medium
CN115328786A (en) Automatic testing method and device based on block chain and storage medium
CN113821443A (en) Application program function detection method, device, equipment and storage medium
CN114331167A (en) Champion challenger strategy management method, system, medium and equipment
CN113836005A (en) Virtual user generation method and device, electronic equipment and storage medium
CN112691382A (en) Resource processing method, device and computer readable storage medium
CN116594914B (en) Method, device, equipment and storage medium for generating test data
CN107958142B (en) User account generation method and device
CN111210279A (en) Target user prediction method and device and electronic equipment
CN117762760B (en) Method, device and medium for obtaining hardware performance test score of server
CN115619405A (en) Information processing method, information processing device, computer-readable storage medium and computer equipment
CN113590222A (en) Method and device for detecting action resource, electronic equipment and storage medium

Legal Events

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