Business system test method and device, electronic equipment and storage medium

By automatically generating and optimizing test cases for business systems using a large language model, the problem of low efficiency in manual test case writing was solved, and the automated generation and risk analysis of test cases were achieved, thereby improving testing efficiency.

CN123157584APending Publication Date: 2026-11-24DUXIAOMAN TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611156877.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, the writing efficiency of test cases for business systems is low, as it requires manual writing, leading to inefficiency.

Method used

The system uses a large language model to automatically parse test case titles, combines them with business execution processes, and automatically generates test case content. The generation process is optimized through a risk analysis model to achieve automated test case completion.

Benefits of technology

It improved the efficiency and accuracy of test case generation, thereby enhancing the testing efficiency of business systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157584A_ABST
    Figure CN123157584A_ABST
Patent Text Reader

Abstract

This application provides a business system testing method, apparatus, electronic device, and storage medium, relating to the field of system testing technology. The method includes: obtaining a test case title, wherein the test case title includes at least a business execution scenario, a business execution action, and a business execution objective; generating target test case content based on the test case title and the business execution flow of the target business system using a first language model; and performing business operation testing on the target business system based on the target test case content. This method achieves automated completion and generation of test case content, improving the efficiency and accuracy of test case generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of system testing technology, and in particular to a business system testing method, apparatus, electronic device, and storage medium. Background Technology

[0002] Before a business system goes live, it is often necessary to perform operational tests based on test cases. Test cases are collections of test inputs, execution conditions, and expected results designed to verify the functionality of software or systems. They are used to verify whether the software functions meet the requirements and cover test objectives, environment, steps, input data, and expected outputs. Currently, test cases are often manually written by business personnel based on the business system's requirements documents and product solutions, which is inefficient. Summary of the Invention

[0003] This application provides a business system testing method, apparatus, electronic device, and storage medium, which can improve the efficiency and accuracy of test case generation. The technical solution is as follows: According to one aspect of this application, a business system testing method is provided, the method comprising: Obtain the test case title, which shall include at least the business execution scenario, business execution action, and business execution objective; The target test case content is generated using the first major language model based on the test case title and the business execution process of the target business system; Based on the target test case content, conduct business operation tests on the target business system.

[0004] Optionally, generating target test case content based on the test case title and the business execution flow of the target business system using the first large language model includes: performing intent parsing on the test case title based on preset keywords to obtain the target test intent, which includes the business execution scenario, the business execution action, and the business execution goal; and inputting the target test intent and the business execution flow of the target business system into the first large language model to obtain the target test case content generated by the first large language model.

[0005] Optionally, the method further includes: obtaining a test risk analysis list; inputting the test risk analysis list and the target test case content into a second language model to obtain the risk analysis results output by the second language model.

[0006] Optionally, the method further includes: outputting the target test case content and the risk analysis results corresponding to the target test case content.

[0007] Optionally, the method further includes: receiving a modification operation on the target test case content to obtain updated test case content; and optimizing the first large language model based on the difference between the updated test case content and the target test case content.

[0008] Optionally, the method further includes: receiving a modification operation on the risk analysis result to obtain an updated risk analysis result; and optimizing the second large language model based on the difference between the updated risk analysis result and the original risk analysis result.

[0009] Optionally, the method further includes: obtaining the business interaction document of the target business system; converting the business interaction document into a structured knowledge graph; configuring the structured knowledge graph for the first large language model; and generating target test case content based on the test case title and the business execution flow of the target business system using the first large language model, which includes: generating the target test case content based on the test case title and the structured knowledge graph using the first large language model.

[0010] According to another aspect of this application, a business system testing apparatus is provided, the apparatus comprising: The first acquisition module is used to acquire the test case title, which includes at least the business execution scenario, business execution action, and business execution objective. The first generation module is used to generate target test case content based on the test case title and the business execution process of the target business system using the first major language model; The testing module is used to perform business operation tests on the target business system based on the content of the target test cases.

[0011] Optionally, the first generation module is further configured to: perform intent parsing on the test case title based on preset keywords to obtain a target test intent, wherein the target test intent includes the business execution scenario, the business execution action, and the business execution goal; input the target test intent and the business execution process of the target business system into the first large language model to obtain the target test case content generated by the first large language model.

[0012] Optionally, the device further includes: a second acquisition module for acquiring a test risk analysis list; and a second generation module for inputting the test risk analysis list and the target test case content into a second large language model to obtain the risk analysis results output by the second large language model.

[0013] Optionally, the device further includes: a result output module, used to output the target test case content and the risk analysis result corresponding to the target test case content.

[0014] Optionally, the apparatus further includes: a first receiving module, configured to receive a modification operation on the target test case content to obtain updated test case content; and a first model optimization module, configured to optimize the first large language model based on the difference between the updated test case content and the target test case content.

[0015] Optionally, the device further includes: a second receiving module, configured to receive a modification operation on the risk analysis result to obtain an updated risk analysis result; and a second model optimization module, configured to optimize the second large language model based on the difference between the updated risk analysis result and the original risk analysis result.

[0016] Optionally, the apparatus further includes: a third acquisition module, configured to acquire the business interaction document of the target business system; a document processing module, configured to convert the business interaction document into a structured knowledge graph; a configuration module, configured to configure the structured knowledge graph for the first large language model; and the first generation module 202, further configured to: generate the target test case content based on the test case title and the structured knowledge graph using the first large language model.

[0017] According to one aspect of this application, an electronic device is provided, comprising: a processor and a memory storing a program, the program including instructions that, when executed by the processor, cause the processor to perform the business system testing method as described above.

[0018] According to another aspect of this application, a non-transitory computer-readable storage medium is provided that stores computer instructions for causing the computer to execute the business system testing method described above.

[0019] According to another aspect of this application, a computer program product is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned business system testing method.

[0020] The beneficial effects of the technical solutions provided in this application include at least the following: Simply input the test case title, specifying the business execution scenario, actions, and objectives. The system can then leverage a large language model to automatically complete and generate the necessary target test case content based on the test case title and the pre-configured business execution flow of the target system. This automated test case completion and generation improves the efficiency and accuracy of test case generation, thereby enhancing the testing efficiency of the subsequent business system. Attached Figure Description

[0021] Further details, features, and advantages of this application are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which: Figure 1 A flowchart of a business system testing method according to an exemplary embodiment of this application is shown; Figure 2 This is a schematic diagram of the structure of a business system testing device provided in an embodiment of this application; Figure 3 A structural block diagram of an exemplary electronic device that can be used to implement embodiments of this application is shown. Detailed Implementation

[0022] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While some embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this application. It should be understood that the drawings and embodiments of this application are for illustrative purposes only and are not intended to limit the scope of protection of this application.

[0023] It should be understood that the steps described in the method embodiments of this application may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this application is not limited in this respect.

[0024] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc., mentioned in this application are only used to distinguish different devices, modules, or units, and are not intended to limit the order of functions performed by these devices, modules, or units or their interdependencies. It should be noted that the modifications "a" and "a plurality" mentioned in this application are illustrative and not restrictive, and those skilled in the art should understand that unless explicitly indicated in the context, they should be understood as "one or more". The names of messages or information exchanged between multiple devices in the embodiments of this application are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0025] The present invention will now be described with reference to the accompanying drawings. The technical solutions provided by the embodiments of the present invention will be explained in detail through specific examples and application scenarios.

[0026] First, some terms involved in the embodiments of this application will be explained.

[0027] Checklist: In test risk analysis scenarios, a checklist is a structured list of questions or items covering potential risks that may affect quality, schedule, or resources throughout the test lifecycle. The core objectives of the design are: to proactively expose risks (such as ambiguous requirements or environmental issues), prioritize risks (based on their probability and impact), and develop response measures (avoidance, mitigation, or contingency plans). The core function of this design is to identify risks during the test design phase, rather than to remedy them afterward; it provides a reusable framework to avoid overlooking critical risks.

[0028] Prompt: In a Large Language Model (LLM), the primary function of the prompt is to provide the LLM with contextual information about the input and its parameters, guiding the LLM to generate the necessary content. In this embodiment, the prompt involves two application scenarios: when generating target test case content, the prompt instructs the LLM to generate usable test case content based on the input target test intent and business execution flow; when performing risk analysis, the prompt instructs the LLM to analyze and output potential risky test cases based on the input test risk analysis list and target test case content.

[0029] To address the low efficiency of manually writing test cases, this application employs a large language model to automatically generate and complete test case content based on the test case title, avoiding extensive manual operations and improving test case writing efficiency. Please refer to... Figure 1 The document illustrates a flowchart of a business system testing method according to an exemplary embodiment of this application. The method is described using an example of its application to an electronic device. Figure 1 As shown, the method includes: Step 101: Obtain the test case title. The test case title should include at least the business execution scenario, business execution action, and business execution goal. Step 102: Generate target test case content based on the test case title and the business execution flow of the target business system using the first major language model; Step 103: Conduct business operation tests on the target business system based on the target test case content.

[0030] Unlike related technologies where complete test case content is manually written, this application introduces a Large Language Model (LLM) to automatically parse test case titles and, in conjunction with business execution flows, automatically complete the test case content, achieving automated test case generation. In one possible implementation, testers input a test case title, which includes at least the business execution scenario, business execution actions, and business execution objectives. Then, the first Large Language Model is invoked to automatically generate and complete the target test case content based on the test case title and a pre-configured business execution flow of the target business system. This allows for subsequent business operation testing of the target business system based on the target test case content.

[0031] For example, taking a payment system as the target business system, the test case title indicates that a shopping payment scenario needs to be tested. The business execution action can be a payment operation, the business execution goal can be payment completion, and the business execution process includes processes such as selecting an order, submitting an order, making a payment, and payment success. The first language model can generate more detailed and complete shopping payment test content based on the test case title and the business execution process.

[0032] After obtaining the test case title, the test intent needs to be extracted from it before subsequent test case generation. In an exemplary example, step 102 may also include: parsing the test case title based on preset keywords to obtain the target test intent, which includes the business execution scenario, business execution action, and business execution goal; inputting the target test intent and the business execution flow of the target business system into the first language model to obtain the target test case content generated by the first language model.

[0033] For example, preset keywords can be "scenario," "goal," or "action." Correspondingly, the business execution scenario, business execution action, and business execution goal involved in this test can be extracted from the test case title based on the preset keywords.

[0034] Optionally, the input prompts for the first major language model may include: system instruction prompts + test case format specifications + target test intent + business execution process.

[0035] For example, the system instruction prompt for the first major language model could be: "You are a senior automation test engineer, responsible for generating complete, standard, and directly executable test cases based on the 'target test intent' and 'business execution process'." Test case format specifications can be: covering the main business process, all decision branches, boundary values, and abnormal scenarios; each test case must include: test case ID, module under test, preconditions, operation steps, input parameters, expected results, test type, and risk label; strictly adhering to the given test intent, not extending to scenarios outside the requirements, and not generating excluded test types; fabricating non-existent business branches, interfaces, or states is prohibited; the final output should only return a standard JSON array, without any extra explanations or chatter.

[0036] Optionally, the business execution flow of the target business system is pre-configured in the first large language model so that it can be invoked to complete the test case content during the actual test case generation process. One possible implementation involves obtaining the business interaction documents of the target business system and converting them into a structured knowledge graph, which includes the business system interface interaction flow, exception scenarios, and descriptions of dozens of database tables and fields. Then, the structured knowledge graph is configured for the first large language model. When the large language model is invoked, the target test case content is generated based on the test case title and the structured knowledge graph.

[0037] The business interaction documentation can also be the user operation and usage documentation of the target business system. For example, if the target business system is an online shopping system (or online shopping application), the business interaction documentation can be all the operation and usage instructions involved in the user's shopping process using the online shopping system.

[0038] After generating the target test case content, test risk analysis can be performed based on it. In one possible implementation, a test risk analysis checklist input by the testers can be obtained, and the checklist and target test case content can be input into a second language model. The second language model then performs a risk analysis on the target test case content based on the rules in the test risk analysis checklist and outputs the risk analysis results. These results include test cases that contain risks.

[0039] The Test Risk Analysis Checklist is a structured list of questions or items that covers potential risks throughout the test lifecycle that could impact quality, schedule, or resources. Its core objectives are: to proactively expose risks (such as unclear requirements or environmental issues), prioritize risks (based on their probability and impact), and develop response measures (avoidance, mitigation, or contingency plans). Its key function is to identify risks during the test design phase, rather than providing post-test remediation; it offers a reusable framework to avoid overlooking critical risks.

[0040] Optionally, the input prompts for the second language model may include: system instruction prompts + risk analysis rules + test risk analysis checklist + target test case content.

[0041] For example, the system prompt could be: "You are a professional test risk review expert. Risk analysis is based solely on the provided 'Test Risk Analysis Checklist' and 'Target Test Case Content.' Fabricating non-existent functions and defects is prohibited." The analysis rules could be: check each item in the risk checklist against all available checks to verify if any corresponding omissions exist in the current test cases; identify scenarios with missing test cases, incomplete coverage, boundary omissions, and dependency risks; determine the high / medium / low level of each risk based on the built-in level rules of the risk checklist; each risk must output: risk description, triggering scenario, risk level, online impact, optimization measures, and suggestions for supplementary test cases; the final output should be strictly structured JSON, prohibiting unnecessary chatter and paragraphs; if there are no risks, the output array should be empty, and fields cannot be omitted.

[0042] After the second language model outputs the risk analysis results, the target test case content and the corresponding risk analysis results are output in a standard format. Optionally, the target test case content and risk analysis results can be displayed on the front-end interface, allowing testers to view them.

[0043] To ensure that the generation performance of the first and second language models gradually improves during model application, model optimization can be performed based on tester feedback. One possible implementation involves testers verifying the target test case content. If errors or missing content are found, testers can revise or add to the target test case content. Upon receiving these modifications, updated test case content is obtained. The differences between the updated and target test case content can then be used to optimize the model parameters of the first language model, thereby improving the accuracy of test case generation.

[0044] Similar to the optimization process of the first language model, testers can also analyze the content of target test cases against the test risk analysis checklist to verify the risk analysis results. If there are errors in the risk analysis results, such as a test case being marked as risky even though it does not contain any risk, or some risk labels being missing, the testers can revise or add to the risk analysis results. Upon receiving the modification operation for the risk analysis results, an updated risk analysis result is obtained. Then, based on the differences between the updated risk analysis result and the original risk analysis result, the model parameters of the second language model can be optimized to improve the accuracy of the risk analysis of the second language model.

[0045] It should be noted that the first and second language models can use the same model architecture or different model architectures. For example, the first and second language models can use Decoder-only Transformer, DeepSeek-V3, etc.

[0046] In summary, this application provides a business system testing method: by simply inputting a test case title, indicating the business execution scenario, business execution actions, and business execution objectives, a large language model can automatically complete and generate the required target test case content based on the test case title and the pre-configured business execution flow of the target business system, for subsequent business operation testing. This achieves automated completion and generation of test case content, improving the efficiency and accuracy of test case generation, thereby enhancing the testing efficiency of the subsequent business system.

[0047] In one exemplary example, this application achieves automated use case completion and generation through "knowledge structuring + large model reasoning," and the overall design process is divided into three layers: (1) Intent parsing layer: LLM + rule dual-path parsing is adopted: the model extracts the preset keywords in the test case title and identifies the intent (i.e. target test purpose) of the test case title after parsing, including: business execution scenario and business execution goal, and outputs the standardized intermediate state test case title.

[0048] (2) Knowledge Extraction Layer: Transform the business system interaction process, business logic and other documents into a structured knowledge graph, which includes the business system interface interaction process, abnormal scenarios and dozens of database tables and descriptions of each field. Construct an execution rule engine to transform the business logic into executable code (e.g., if the title contains "execution successful", the expected result needs to verify the corresponding database table status code = 5).

[0049] (3) Test case generation layer: Automatically complete the preconditions and execution steps based on prompt; automatically inject common errors to achieve exception coverage.

[0050] Specific steps: (1) Parse the input test case titles: Parse the test case title list using the specified delimiter according to the input content. (2) Call the large language model node to complete the test cases: Configure the large language model node prompt, which contains relevant knowledge such as business system interaction process, business logic, system database, and system interface. Call the node in batches according to the parsed title list, and the node completes and generates the test case content according to the prompt. (3) Parse the test case content for risk analysis: Call the large language model node in batches to perform risk analysis on the completed test case content to obtain the risk analysis content. (4) Standardize the output: Standardize the output of the completed test case content and risk analysis content according to the specified format.

[0051] Please refer to Figure 2 This is a schematic diagram of the structure of a business system testing device provided in an embodiment of this application. For example, as shown... Figure 2 As shown, the device 200 includes: The first acquisition module 201 is used to acquire the test case title, which includes at least the business execution scenario, business execution action and business execution objective. The first generation module 202 is used to generate target test case content based on the test case title and the business execution process of the target business system using the first major language model; Test module 203 is used to perform business operation tests on the target business system based on the target test case content.

[0052] Optionally, the first generation module 202 is further configured to: The test case title is parsed based on preset keywords to obtain the target test intent, which includes the business execution scenario, the business execution action, and the business execution goal. The target test intent and the business execution flow of the target business system are input into the first large language model to obtain the target test case content generated by the first large language model.

[0053] Optionally, the device further includes: The second acquisition module is used to acquire the test risk analysis list; The second generation module is used to input the test risk analysis list and the target test case content into the second large language model to obtain the risk analysis results output by the second large language model.

[0054] Optionally, the device further includes: The result output module is used to output the content of the target test case and the risk analysis results corresponding to the content of the target test case.

[0055] Optionally, the device further includes: The first receiving module is used to receive modification operations on the content of the target test case and obtain the updated test case content. The first model optimization module is used to optimize the first large language model based on the difference between the updated test case content and the target test case content.

[0056] Optionally, the device further includes: The second receiving module is used to receive modification operations on the risk analysis results and obtain updated risk analysis results; The second model optimization module is used to optimize the second major language model based on the updated risk analysis results and the differences between the risk analysis results.

[0057] Optionally, the device further includes: The third acquisition module is used to acquire the business interaction documents of the target business system; The document processing module is used to convert the business interaction documents into a structured knowledge graph. A configuration module is used to configure the structured knowledge graph for the first large language model; The first generation module 202 is further configured to: The target test case content is generated using the first large language model based on the test case title and the structured knowledge graph.

[0058] In summary, this application provides a business system testing method: by simply inputting a test case title, indicating the business execution scenario, business execution actions, and business execution objectives, a large language model can automatically complete and generate the required target test case content based on the test case title and the pre-configured business execution flow of the target business system, for subsequent business operation testing. This achieves automated completion and generation of test case content, improving the efficiency and accuracy of test case generation, thereby enhancing the testing efficiency of the subsequent business system.

[0059] An exemplary embodiment of this application also provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, which, when executed by the at least one processor, causes the electronic device to perform a business system testing method according to an embodiment of this application.

[0060] An exemplary embodiment of this application also provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform a business system testing method according to an embodiment of this application.

[0061] An exemplary embodiment of this application also provides a computer program product, including a computer program, wherein, when executed by a computer's processor, the computer program is used to cause the computer to perform a business system testing method according to an embodiment of this application.

[0062] refer to Figure 3 The present invention describes a structural block diagram of an electronic device 300 that can serve as a server or client of this application, which is an example of a hardware device that can be applied to various aspects of this application. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the application described and / or claimed herein.

[0063] like Figure 3 As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. The RAM 303 may also store various programs and data required for the operation of the electronic device 300. The computing unit 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0064] Multiple components in electronic device 300 are connected to I / O interface 305, including: input unit 306, output unit 307, storage unit 308, and communication unit 309. Input unit 306 can be any type of device capable of inputting information to electronic device 300. Input unit 306 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device. Output unit 307 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 308 may include, but is not limited to, disk and optical disk. Communication unit 309 allows electronic device 300 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0065] The computing unit 301 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above. For example, in some embodiments, Figure 1 The method shown can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 300 via ROM 302 and / or communication unit 309. In some embodiments, computing unit 301 can be configured to execute by any other suitable means (e.g., by means of firmware). Figure 1 The method shown.

[0066] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0067] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0068] As used in this application, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0069] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0070] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0071] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.

Claims

1. A business system testing method, characterized in that, The method includes: Obtain the test case title, which shall include at least the business execution scenario, business execution action, and business execution objective; The target test case content is generated using the first major language model based on the test case title and the business execution process of the target business system; Based on the target test case content, conduct business operation tests on the target business system.

2. The method according to claim 1, characterized in that, The process of generating target test case content based on the test case title and the business execution flow of the target business system using the first major language model includes: The test case title is parsed based on preset keywords to obtain the target test intent, which includes the business execution scenario, the business execution action, and the business execution goal. The target test intent and the business execution flow of the target business system are input into the first large language model to obtain the target test case content generated by the first large language model.

3. The method according to claim 2, characterized in that, The method further includes: Obtain the test risk analysis checklist; Input the test risk analysis list and the target test case content into the second language model to obtain the risk analysis results output by the second language model.

4. The method according to claim 3, characterized in that, The method further includes: Output the content of the target test case and the corresponding risk analysis results.

5. The method according to claim 4, characterized in that, The method further includes: Receive modification operations on the target test case content, and obtain the updated test case content; Based on the differences between the updated test case content and the target test case content, the first large language model is optimized.

6. The method according to claim 4, characterized in that, The method further includes: Receive modification operations on the risk analysis results to obtain updated risk analysis results; Based on the updated risk analysis results and the differences between them, the second major language model is optimized.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Obtain the business interaction documents of the target business system; The business interaction documents are transformed into a structured knowledge graph; Configure the structured knowledge graph for the first large language model; The process of generating target test case content based on the test case title and the business execution flow of the target business system using the first major language model includes: The target test case content is generated using the first large language model based on the test case title and the structured knowledge graph.

8. A business system testing device, characterized in that, The device includes: The first acquisition module is used to acquire the test case title, which includes at least the business execution scenario, business execution action, and business execution objective. The first generation module is used to generate target test case content based on the test case title and the business execution process of the target business system using the first major language model; The testing module is used to perform business operation tests on the target business system based on the content of the target test cases.

9. An electronic device, comprising: processor; as well as Stored program memory, The program includes instructions that, when executed by the processor, cause the processor to perform the business system testing method according to any one of claims 1-7.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the business system testing method according to any one of claims 1-7.