CN116303083A - NDC-oriented test generation method, system and storage medium - Google Patents
NDC-oriented test generation method, system and storage medium Download PDFInfo
- Publication number
- CN116303083A CN116303083A CN202310355472.8A CN202310355472A CN116303083A CN 116303083 A CN116303083 A CN 116303083A CN 202310355472 A CN202310355472 A CN 202310355472A CN 116303083 A CN116303083 A CN 116303083A
- Authority
- CN
- China
- Prior art keywords
- target
- use case
- case set
- message
- component
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 83
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000003993 interaction Effects 0.000 claims abstract description 10
- 230000004044 response Effects 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 6
- 238000012800 visualization Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011056 performance test Methods 0.000 description 2
- 230000002688 persistence Effects 0.000 description 2
- 239000000969 carrier Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000007474 system interaction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G06Q50/40—
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The application provides an NDC-oriented test generation method, a system and a storage medium, wherein the system comprises an interface component, a use case set generation component and a recorder component; the interface component is used for receiving the target message and sending the target message to the use case set generating component, wherein the target message is a message to be tested generated during interaction of a target system; the use case set generating component is used for receiving the operation of the target object on the target message, generating the use case set corresponding to the target message according to the operation of the target object on the target message, wherein the target object is the object of the use test generating system; and the recorder component is used for returning the application case set corresponding to the target message to the target system. In this way, the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message, and a tester is not required to manually find out the input and output messages in the logs with a large number of messages, so that the test efficiency of the system to be tested is improved.
Description
Technical Field
The present application relates to the field of system testing technologies, and in particular, to a NDC-oriented test generation method, system, and storage medium.
Background
The new distribution capability (New Distribution Capability, hereinafter abbreviated as NDC) is a new distribution industry standard which is forced in recent years by the international air transport association IATA. The new distribution capability mainly establishes a unified data transmission standard based on XML format messages, and the airline company and the partners thereof can interact data through the unified standard.
Currently, in order to test the function of a system to be tested for processing XML messages, a tester needs to observe the request and response of the system first, determine a scene which can be used for testing, then manually find out the input and output messages related in the scene from a log, and then manually input the input and output messages into an aviation system simulator, so that the system to be tested can be called and the processing result can be verified.
The number of messages involved in the scene is large, and the links are complex, so that the test efficiency of the system to be tested is low.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method, a system, and a storage medium for generating NDC-oriented test, which aim to improve the test efficiency of a system to be tested.
In a first aspect, an embodiment of the present application provides an NDC-oriented test generation system, where the system includes an interface component, a use case set generation component, and a recorder component;
the interface component is used for receiving a target message and sending the target message to the use case set generating component, wherein the target message is a message to be tested generated during interaction of a target system;
the use case set generating component is used for receiving the operation of a target object on a target message, and generating a use case set corresponding to the target message according to the operation of the target object on the target message, wherein the target object is an object using a test generating system;
and the recorder component is used for returning the use case set corresponding to the target message to the target system.
Optionally, the use case set generating component is specifically configured to receive an operation of the target object on the target message in the visualization of the use case set generating component; the operations include selecting;
and generating a use case set corresponding to the target message according to the operation of the target object on the target message.
Optionally, the use case set generating component is further configured to perform version configuration on the use case set.
Optionally, the recorder component is specifically configured to return, to the tested system, the use case set corresponding to the target message according to the use case set return time set by the target object.
Optionally, the system further comprises a use case management component;
the use case management component is used for receiving the use case set corresponding to the target message sent by the recorder component and storing the use case set.
Optionally, the use case management component is further configured to identify the use case set.
Optionally, if a detection request of the target object to the system to be tested is received, the system further includes a playback component, and the use case set includes a request message and a response message;
the playback device component is used for sending the request message to the system to be tested;
receiving a message returned by the system to be tested;
and comparing the message returned by the system to be tested with the response message to obtain a comparison result, wherein the comparison result is used for detecting the function of the system to be tested.
In a second aspect, an embodiment of the present application provides a method for generating an NDC-oriented test, where the method includes:
receiving a target message, and sending the target message to the use case set generating component, wherein the target message is a message to be tested generated when a tested system interacts;
receiving an operation of a target object on a target message, and generating an application case set corresponding to the target message according to the operation of the target object on the target message, wherein the target object is an object of a use test generation system;
and returning the application case set corresponding to the target message to the tested system.
In a third aspect, an embodiment of the present application provides a computer storage medium having a program stored therein, where when the program is executed by a processor, the NDC-oriented test generation method of any one of the foregoing second aspects is implemented.
The technical scheme has the following beneficial effects:
the application provides an NDC-oriented test generation method, a system and a storage medium, wherein the system comprises an interface component, a use case set generation component and a recorder component;
the interface component is used for receiving a target message and sending the target message to the use case set generating component, wherein the target message is a message to be tested generated during interaction of a target system; the use case set generating component is used for receiving the operation of a target object on a target message, and generating a use case set corresponding to the target message according to the operation of the target object on the target message, wherein the target object is an object using a test generating system; and the recorder component is used for returning the use case set corresponding to the target message to the target system. In this way, after receiving the target message through the interface component, the application sends the target message to the use case set generating component, and the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message, and returns the use case set corresponding to the target message to the target system through the recorder component. Because the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message, a tester is not required to manually find out the input and output messages in the logs with a large number of messages, thereby improving the test efficiency of the system to be tested.
The application also provides an NDC-oriented test generation method and a storage medium, which have the beneficial effects.
Drawings
In order to more clearly illustrate the present embodiments or the technical solutions in the prior art, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an NDC-oriented test generation system according to an embodiment of the present application;
FIG. 2 is a development view of an NDC-oriented test generation system according to an embodiment of the present application;
fig. 3 is a schematic flow chart of an NDC-oriented test generation system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Related terms in the embodiments of the present application are described as follows:
the new distribution capability (New Distribution Capability, hereinafter abbreviated as NDC) is a new distribution industry standard which is forced in recent years by the international air transport association IATA. The new distribution capability mainly establishes a unified data transmission standard based on XML format messages, and the airline company and the partners thereof can interact data through the unified standard.
The international air transport association (International Air Transport Association, abbreviated as IATA) is a large international organization consisting of airlines in countries around the world. Compared with the international civil aviation organization for supervising aviation safety and navigation rules, the system is more like an international coordination organization consisting of carriers (airlines), manages problems such as ticket prices, dangerous goods transportation and the like in civil aviation transportation, and mainly plays a role in coordinating and communicating policies among governments through air transportation enterprises and solves the problem of actual operation.
Test Case (Test Case) refers to the description of a specific software product for testing tasks, and reflects testing schemes, methods, technologies and strategies. The content of the method comprises a test target, a test environment, input data, a test step, an expected result, a test script and the like, and finally a document is formed. Briefly, a test case is a set of test inputs, execution conditions, and expected results tailored for a particular goal to verify that a particular software requirement is met.
The quotation and order management system (Offer and Order Management System, OOMS for short) is an airline sales system constructed based on the NDC standard. The system performs data interaction with partners through an interface in the form of an NDC standard message, and OOMS is a carrier for realizing NDC by a navigation driver.
In order to facilitate understanding of the technical solutions provided in the present application, the following description will first explain the background art related to the present application.
Currently, in order to test the function of a system to be tested for processing XML messages, a tester needs to observe the output and response of the system first, determine a scene which can be used for testing, then manually find out the input and output messages related in the scene from a log, and then manually input the input and output messages into an aviation system simulator, so that the system to be tested can be called and the processing result can be verified.
The inventor finds that the test scene not only needs a tester to find out the input and output messages manually, but also needs a certain front buffer memory so that the avionics system simulator can embody a certain real state. Moreover, as the number of messages involved in the scene is large and the links are complex, the construction of the test scene becomes more complex, and the test efficiency of the system to be tested is low.
In order to overcome the above technical problems, referring to fig. 1, fig. 1 is a schematic structural diagram of an NDC-oriented test generation system provided in an embodiment of the present application, where the test generation system 10 includes an interface component 101, a use case set generation component 102, and a recorder component 103.
The interface component 101 is configured to receive a target packet, and send the target packet to the use case set generating component, where the target packet is a to-be-tested packet generated during interaction of a target system.
Specifically, the interface component is used as a port for system interaction, and provides interfaces of a tested case set for various test environments on one hand and an interface for receiving input messages on the other hand.
The use case set generating component 102 is configured to receive an operation of a target object on a target message, and generate a use case set corresponding to the target message according to the operation of the target object on the target message, where the target object is an object using a test generating system.
Specifically, the use case set generating component may receive an operation of a target object on a target message, and automatically generate a use case set corresponding to the target message according to the operation of the target object on the target message.
In one possible implementation manner, the use case set generating component is specifically configured to receive an operation of the target object on the target message in the visualization of the use case set generating component; the operations include selecting; and generating a use case set corresponding to the target message according to the operation of the target object on the target message.
Specifically, the target object can select and input the target message in the page visualization; and the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message.
In one possible implementation, the use case set generating component is further configured to version-configure the use case set. For example, the version of the use case set is configured by parameters.
The recorder component 103 is configured to return, to the target system, a set of use cases corresponding to the target message.
In this embodiment of the present application, the recorder component 103 is responsible for outputting the application case set corresponding to the target message to the external calling environment, that is, the recorder component 103 simulates the actual return application case set of the avionics.
It should be noted that, in practical application, the recorder component 103 may also directly receive a message to be tested entered by a user from a page, and send the message to be tested to the use case management component.
In one possible implementation manner, the recorder component 103 is specifically configured to return, to the system under test, the use case set corresponding to the target message according to the use case set return time set by the target object.
Specifically, the target object may set the time for the use case set to return, for example: the return is immediate, random within a specified time interval, and fixed time, and the present application is not limited thereto.
And the recorder component can return the use case set corresponding to the target message to the tested system according to the use case set return time set by the target object.
In one possible implementation, the system further includes a use case management component;
the use case management component is used for receiving the use case set corresponding to the target message sent by the recorder component and storing the use case set.
In practical application, the use case management component bears the business logic of the test generation system, is responsible for storing the message which is transmitted by the recorder component and needs to be stored, and provides the management object with the authority to check and manage all the stored use case sets.
In one possible implementation, the use case management component is further configured to identify the set of use cases.
Specifically, the use case management component is further configured to identify a use case set, so that when a detection request of the target object to the system to be tested is received, the use case set corresponding to the system to be tested is found, so that the system to be tested is detected according to the use case set corresponding to the system to be tested.
In one possible implementation manner, if a detection request of the target object to the system to be tested is received, the system further includes a playback component, and the use case set includes a request message and a response message;
the playback device component is used for sending the request message to the system to be tested; receiving a message returned by the system to be tested; and comparing the message returned by the system to be tested with the response message to obtain a comparison result, wherein the comparison result is used for detecting the function of the system to be tested.
It can be understood that, if the detection request of the target object to the system to be tested is received, after the player component searches the application case set corresponding to the system to be tested in the application case management component, the player component sends the request message to the system to be tested, receives a message returned by the system to be tested according to the request message, and compares the message returned by the system to be tested with the response message to obtain a comparison result, where the comparison result is used for detecting the function or performance of the system to be tested.
It should be noted that, in practical application, the positioning of the test generation system provided in the embodiment of the present application is a comprehensive test system. On the one hand, the device can be used as a simulator of an OOMS of an airline company and used for testing various scenes. For example: in the instantiation test, the performance test and the end-to-end test, the message response is carried out on the tested system; on the other hand, the system can be used as an origin of a functional test or a pressure source of a performance test, and call/pressure is initiated to a system in the tested environment.
Correspondingly, when the test generation system is used as an OOMS simulator, a message to be tested generated during interaction of a target system is received, and according to the operation of the target object on the target message, an application case set corresponding to the target message is generated, so that a group of test application case sets for specific system environments is formed.
When a detection request of the target object to the system to be tested is received, the test generation system can send the request message to the system to be tested, and compare the message returned by the system to be tested with the response message to obtain a comparison result, wherein the comparison result is used for detecting the function of the system to be tested, so as to obtain a performance analysis report of the system to be tested.
The foregoing components may be considered to form a logically three-layer architecture in general. The interface component and the use case set generating component form a display layer which is responsible for outputting or displaying logic to a user system or an administrator; the recorder component and the playback component form a logic layer and are responsible for service logic configuration and use case set return logic of the system; the use case management component forms a data layer and is responsible for reading, writing and storing logic of data.
Next, a detailed description will be given of a specific example of the scene.
The method comprises the steps that a tracking module AggTrace sends a message to be tested, which is generated by interaction between a target system and an airline company system, to a test generation system through an interface component, a use case set generation component in the test generation system receives the operation of a target object on the target message, generates a use case set corresponding to the target message according to the operation of the target object on the target message, a recorder component returns the use case set corresponding to the target message to the target system, and a use case management component receives the use case set corresponding to the target message, which is sent by the recorder component, and stores the use case set.
Fig. 2 is a development view of an NDC-oriented test generation system according to an embodiment of the present application.
In fig. 2, the test generation system is deployed on a server in a virtual machine or cloud environment, the required operating system is RHEL7 or above, and the deployment container is Apache Tomcat 8.0. The development software of the system is Java V1.8, and the running time is JVM V1.8. The main framework of the test generation system is Spring, wherein the Spring can comprise a WEB packet, a Filter packet, an API (application program interface) Controller packet, a Business Service packet, a Playback Service packet, a Persistence Service packet, a log packet and the like, is connected with an Oracle database for data persistence, is connected with a Redis database for data caching, and has a B/S (browser/Server) framework, and a user can access a WEB page through a browser to configure and use the system; the user system may access the service through the interface.
According to the technical scheme, the application provides an NDC-oriented test generation method, an NDC-oriented test generation system and a storage medium, wherein the NDC-oriented test generation system comprises an interface component, a use case set generation component and a recorder component;
the interface component is used for receiving a target message and sending the target message to the use case set generating component, wherein the target message is a message to be tested generated during interaction of a target system; the use case set generating component is used for receiving the operation of a target object on a target message, and generating a use case set corresponding to the target message according to the operation of the target object on the target message, wherein the target object is an object using a test generating system; and the recorder component is used for returning the use case set corresponding to the target message to the target system. In this way, after receiving the target message through the interface component, the application sends the target message to the use case set generating component, and the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message, and returns the use case set corresponding to the target message to the target system through the recorder component. Because the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message, a tester is not required to manually find out the input and output messages in the logs with a large number of messages, thereby improving the test efficiency of the system to be tested.
The above provides an NDC-oriented test generation system according to the embodiments of the present application, and based on this, the present application further provides a corresponding NDC-oriented test generation method.
Referring to fig. 3, an exemplary flowchart of an NDC-oriented test generation system according to an embodiment of the present application is shown.
It should be noted that the method may be performed by an NDC-oriented test generation system, and the apparatus may be implemented in software and/or hardware, and may be generally integrated in a server or a terminal device.
Step S301: and receiving a target message, and sending the target message to the use case set generating component, wherein the target message is a message to be tested generated when the tested system interacts.
Specifically, an interface component in the test generation system may receive the target message and send the target message to a use case set generation component in the test generation system; the target message is a message to be tested generated during interaction of the tested system.
Step S302: and receiving an operation of a target object on a target message, and generating an application case set corresponding to the target message according to the operation of the target object on the target message, wherein the target object is an object of a use test generation system.
In this embodiment of the present application, after receiving a target packet and sending the target packet to the use case set generating component in step S01, the use case set generating component receives an operation of a target object on the target packet, and further generates a use case set corresponding to the target packet according to the operation of the target object on the target packet. The target object is an object of the system using test generation.
It should be noted that, the use case set generating component may receive an operation of the target object on the target message, and automatically generate the use case set corresponding to the target message according to the operation of the target object on the target message.
In practical application, the target object can select and input the target message in the page visualization; and the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message.
Step S303: and returning the application case set corresponding to the target message to the tested system.
In this embodiment of the present application, after generating the application set corresponding to the target message according to the operation of the target object on the target message in step S02, further, the recorder component in the test generation system returns the application set corresponding to the target message to the target system.
From the above technical solution, it can be seen that the present application provides a test generation method for NDC, firstly, an interface component receives a target packet, and sends the target packet to an instance set generation component, then the instance set generation component receives an operation of a target object on the target packet, according to the operation of the target object on the target packet, generates an instance set corresponding to the target packet, and finally, a recorder component returns the instance set corresponding to the target packet to the target system. In this way, after receiving the target message through the interface component, the application sends the target message to the use case set generating component, and the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message, and returns the use case set corresponding to the target message to the target system through the recorder component. Because the use case set generating component automatically generates the use case set corresponding to the target message according to the operation of the target object on the target message, a tester is not required to manually find out the input and output messages in the logs with a large number of messages, thereby providing the test efficiency of the system to be tested.
Optionally, the method further comprises: and storing the application case set corresponding to the target message.
Specifically, in the embodiment of the present application, a use case management component in a test generation system stores a use case set corresponding to the target packet.
It can be understood that in practical application, the use case management component bears the business logic of the test generation system, is responsible for storing the message to be stored transmitted by the recorder component, and provides the authority for the management object to view and manage all the stored use case sets.
The embodiment of the application also provides a computer storage medium, in which a program is stored, and when the program is executed by a processor, the NDC-oriented test generation method in the above embodiment is implemented.
The "first" and "second" in the names of "first", "second" (where present) and the like in the embodiments of the present application are used for name identification only, and do not represent the first and second in sequence.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
Those skilled in the art will appreciate that the flow chart shown in the figures is only one example in which embodiments of the present application may be implemented, and the scope of applicability of embodiments of the present application is not limited in any way by the flow chart.
In the several embodiments provided in the present application, it should be understood that the disclosed methods, apparatuses, and devices may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. An NDC-oriented test generation system is characterized by comprising an interface component, a use case set generation component and a recorder component;
the interface component is used for receiving a target message and sending the target message to the use case set generating component, wherein the target message is a message to be tested generated during interaction of a target system;
the use case set generating component is used for receiving the operation of a target object on a target message, and generating a use case set corresponding to the target message according to the operation of the target object on the target message, wherein the target object is an object using a test generating system;
and the recorder component is used for returning the use case set corresponding to the target message to the target system.
2. The system according to claim 1, wherein the use case set generating component is specifically configured to receive an operation of the target object on the target message in the use case set generating component visualization; the operations include selecting;
and generating a use case set corresponding to the target message according to the operation of the target object on the target message.
3. The system of claim 2, wherein the use case set generation component is further configured to version configure the use case set.
4. The system according to claim 1, wherein the recorder component is specifically configured to return, to the system under test, the use case set corresponding to the target message according to the use case set return time set by the target object.
5. The system of claim 1, wherein the system further comprises a use case management component;
the use case management component is used for receiving the use case set corresponding to the target message sent by the recorder component and storing the use case set.
6. The system of claim 5, wherein the use case management component is further configured to identify the set of use cases.
7. The system of claim 1, wherein if a detection request of the target object to the system under test is received, the system further comprises a player component, the use case set comprising a request message and a response message;
the playback device component is used for sending the request message to the system to be tested;
receiving a message returned by the system to be tested;
and comparing the message returned by the system to be tested with the response message to obtain a comparison result, wherein the comparison result is used for detecting the function of the system to be tested.
8. An NDC-oriented test generation method, the method comprising:
receiving a target message, and sending the target message to the use case set generating component, wherein the target message is a message to be tested generated when a tested system interacts;
receiving an operation of a target object on a target message, and generating an application case set corresponding to the target message according to the operation of the target object on the target message, wherein the target object is an object of a use test generation system;
and returning the application case set corresponding to the target message to the tested system.
9. The method of claim 8, wherein the method further comprises: and storing the application case set corresponding to the target message.
10. A storage medium having stored thereon a program which, when executed by a processor, implements the method of claims 8 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310355472.8A CN116303083A (en) | 2023-04-04 | 2023-04-04 | NDC-oriented test generation method, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310355472.8A CN116303083A (en) | 2023-04-04 | 2023-04-04 | NDC-oriented test generation method, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116303083A true CN116303083A (en) | 2023-06-23 |
Family
ID=86778050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310355472.8A Pending CN116303083A (en) | 2023-04-04 | 2023-04-04 | NDC-oriented test generation method, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116303083A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117743286A (en) * | 2024-02-20 | 2024-03-22 | 商飞软件有限公司 | System and method for generating structured airplane electronic maintenance log |
-
2023
- 2023-04-04 CN CN202310355472.8A patent/CN116303083A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117743286A (en) * | 2024-02-20 | 2024-03-22 | 商飞软件有限公司 | System and method for generating structured airplane electronic maintenance log |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105787364B (en) | Automatic testing method, device and system for tasks | |
CN110417575A (en) | Alarm method, device and the computer equipment of O&M monitor supervision platform | |
CN109815119B (en) | APP link channel testing method and device | |
CN108459850B (en) | Method, device and system for generating test script | |
CN111309505B (en) | Page exception handling method and device and electronic equipment | |
CN116303083A (en) | NDC-oriented test generation method, system and storage medium | |
CN112035344A (en) | Multi-scenario test method, device, equipment and computer readable storage medium | |
KR20130077846A (en) | Exception handling test device and method thereof | |
CN114064208A (en) | Method and device for detecting application service state, electronic equipment and storage medium | |
CN114253864A (en) | Service testing method and device, electronic equipment and storage medium | |
CN109739704A (en) | A kind of interface test method, server-side and computer readable storage medium | |
CN109408361A (en) | Monkey tests restored method, device, electronic equipment and computer readable storage medium | |
CN115203054A (en) | Virtual chip test system | |
CN110399304A (en) | A kind of test method and system of script | |
CN109801104A (en) | A kind of advertising information methods of exhibiting of unaware | |
US20080167840A1 (en) | Methods and computer program products for benchmarking multiple collaborative services provided by enterprise software | |
CN111913861A (en) | Performance test method, device, equipment and medium of Internet of things system | |
CN112596750B (en) | Application testing method and device, electronic equipment and computer readable storage medium | |
CN113127345B (en) | Application testing method and device, electronic equipment and storage medium | |
CN102053862B (en) | Method and device for inspecting material files in instant messenger | |
CN110266610B (en) | Traffic identification method and device and electronic equipment | |
CN109033235A (en) | A kind of data storage dual-active framework construction method, system, medium and electronic equipment | |
CN113961465A (en) | Method, device and program product for processing reproduction of program crash scene | |
CN112114845A (en) | Method and device for processing gray scale message, storage medium and computer equipment | |
CN110650063A (en) | Centralized bank third-party software simulation system and method |
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 |