CN111506505A - Test case obtaining method and device - Google Patents

Test case obtaining method and device Download PDF

Info

Publication number
CN111506505A
CN111506505A CN202010286852.7A CN202010286852A CN111506505A CN 111506505 A CN111506505 A CN 111506505A CN 202010286852 A CN202010286852 A CN 202010286852A CN 111506505 A CN111506505 A CN 111506505A
Authority
CN
China
Prior art keywords
service
services
data objects
data
test case
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
CN202010286852.7A
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010286852.7A priority Critical patent/CN111506505A/en
Publication of CN111506505A publication Critical patent/CN111506505A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

According to the test case obtaining method and device provided by the embodiment of the invention, probe services are utilized to obtain data information among services, wherein the data information is used for reflecting the dependency relationship among the whole services and/or the local services under a micro-service architecture; respectively performing data abstraction on data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects; and generating a test case under the micro-service architecture according to the various abstract data objects. Therefore, the test case is obtained by acquiring the data information among the services under the micro-service architecture and analyzing and configuring, so that the automatic generation of the test case is achieved, the personnel operation is reduced, and the generation cost of the test case is reduced.

Description

Test case obtaining method and device
Technical Field
The invention relates to the technical field of information, in particular to a test case acquisition method and device.
Background
Currently, when verifying that a developed software product meets a particular requirement, a set of test inputs, execution conditions, and expected results are compiled as test cases. Blind test can be avoided through the test case, the test effect is improved, and the function missing test of the software product is reduced.
The traditional software product service architecture generally adopts a single service architecture, but as the demand of people is continuously increased, more and more services provided by one software product are required, and the single service architecture cannot meet the demand.
In order to meet the above requirements, micro-service architectures have come to be developed. The micro-service architecture splits a complex software product into a plurality of independent and autonomous services, and the services interact with each other in a loose coupling mode. Therefore, the dependency relationship between the services is complex, and therefore, when a software product of the micro-service architecture is tested, not only the test cases need to be set for each service respectively, but also the test cases need to be set for the call relationship and the dependency relationship between the services, which results in higher cost for generating the test cases.
Disclosure of Invention
The embodiment of the invention aims to provide a test case obtaining method and a test case obtaining device, so that the test case can be automatically obtained, and the test case generation cost is reduced. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a test case obtaining method, where the method includes:
acquiring data information among services by using probe services, wherein the data information is used for reflecting the dependency relationship among the whole services and/or the local services under the micro-service architecture;
respectively performing data abstraction on data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects;
and generating a test case under the micro-service architecture according to the various abstract data objects.
Optionally, acquiring data information between services by using the probe service includes:
acquiring a calling link when any one service calls another service by using the probe service;
or the like, or, alternatively,
acquiring a calling link when a part of functions of any service and another service are called by using the probe service;
or the like, or, alternatively,
and acquiring a calling link when a part of functions of any service calls a part of functions of another service by using the probe service.
Optionally, after data objects belonging to the entire service and/or the local service are respectively subjected to data abstraction according to the obtained data information to obtain various abstracted data objects, the method further includes:
and respectively carrying out visual display on various abstract data objects.
Optionally, generating a test case under the micro-service architecture according to the various abstracted data objects includes:
and configuring the different types of data objects according to the target test service aiming at the abstracted different types of data objects to obtain the test case aiming at the target test service.
Optionally, after configuring, for different types of abstracted data objects, the different types of data objects according to the target test service to obtain a test case for the target test service, the method further includes:
and configuring different types of data objects according to different target test services to obtain test cases for all services under the micro-service architecture.
In a second aspect, an embodiment of the present invention provides a test case obtaining apparatus, including:
the information acquisition module is used for acquiring data information among services by utilizing the probe service, wherein the data information is used for reflecting the dependency relationship among the whole service and/or the local service under the micro-service architecture;
the information abstraction module is used for respectively carrying out data abstraction on the data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects;
and the case generation module is used for generating the test case under the micro-service architecture according to the various abstract data objects.
Optionally, the information obtaining module includes:
the information acquisition submodule is used for acquiring a calling link when any one service calls another service by using the probe service;
or the like, or, alternatively,
acquiring a calling link when a part of functions of any service and another service are called by using the probe service;
or the like, or, alternatively,
and acquiring a calling link when a part of functions of any service calls a part of functions of another service by using the probe service.
Optionally, the apparatus further comprises:
and the visualization module is used for respectively carrying out visualization display on various abstract data objects.
Optionally, the information abstraction module includes:
and the object configuration submodule is used for configuring the different types of data objects after abstraction according to the target test service to obtain the test case for the target test service.
Optionally, the apparatus further comprises:
and the all use case sub-modules are used for configuring different types of data objects according to different target test services to obtain test cases for all services under the micro-service architecture.
In a third aspect, an embodiment of the present invention provides an electronic device, which is characterized by including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any test case acquisition method when executing the program stored in the memory.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned test case obtaining methods.
In a fifth aspect, an embodiment of the present invention further provides a computer program product including instructions, which when run on a computer, causes the computer to execute any one of the test case acquisition methods described above.
According to the test case obtaining method and device provided by the embodiment of the invention, probe services are utilized to obtain data information among services, wherein the data information is used for reflecting the dependency relationship among the whole services and/or the local services under a micro-service architecture; respectively performing data abstraction on data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects; and generating a test case under the micro-service architecture according to the various abstract data objects. Therefore, the test case is obtained by acquiring the data information among the services under the micro-service architecture and analyzing and configuring, so that the automatic generation of the test case is achieved, the personnel operation is reduced, and the generation cost of the test case is reduced. Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a test case obtaining method according to an embodiment of the present invention;
FIG. 2 is a diagram of an example of a test case obtaining method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a data information obtaining method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a visualization presentation of an embodiment of the present invention;
FIG. 5 is a flow chart of data object configuration according to an embodiment of the present invention;
FIG. 6 is a flowchart of test case generation for all services according to an embodiment of the present invention;
fig. 7 is a first schematic diagram of a test case obtaining apparatus according to an embodiment of the present invention;
fig. 8 is a second schematic diagram of a test case obtaining apparatus according to an embodiment of the present invention;
fig. 9 is a third schematic diagram of a test case obtaining apparatus according to an embodiment of the present invention;
fig. 10 is a fourth schematic diagram of a test case obtaining apparatus according to an embodiment of the present invention;
fig. 11 is a fifth schematic diagram of a test case obtaining apparatus according to an embodiment of the present invention;
fig. 12 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
In order to reduce the generation cost of the test case, the embodiment of the invention provides a test case obtaining method and a test case obtaining device.
In a first aspect of the present invention, a method for obtaining a test case is provided, including:
acquiring data information among services by using probe services, wherein the data information is used for reflecting the dependency relationship among the whole services and/or the local services under the micro-service architecture;
respectively performing data abstraction on data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects;
and generating a test case under the micro-service architecture according to the various abstract data objects.
Therefore, by the test case acquisition method provided by the embodiment of the invention, the test case can be obtained by acquiring the data information among the services under the micro-service architecture and analyzing and configuring, so that the automatic generation of the test case is realized, the personnel operation is reduced, and the generation cost of the test case is reduced.
Referring to fig. 1, fig. 1 is a flowchart of a test case obtaining method according to the present invention, where the method may include the following steps:
in step S11, data information between services is acquired by using the probe service.
The data information is used for reflecting the dependency relationship between the whole service and/or the local service under the micro-service architecture. The micro-service architecture is a framework concept, and can be used for decomposing the whole function into a plurality of discrete services and splitting a large-scale single software product and service into a plurality of micro-services.
The probe service is utilized to acquire data information among services, and the data information can be realized through any probe service in the prior art. For example, the micro-service architecture is configured through the intrusion probe, the intrusion probe and the micro-service are deployed to a test environment together, and when the probe service configuration is started, any service call to the whole or part of the micro-service is fed back through the probe.
The test case acquisition method provided by the embodiment of the invention aims at the intelligent terminal equipment with a micro-service architecture, so that the test case acquisition method can be executed through the intelligent terminal equipment, and specifically, the intelligent terminal equipment can be a computer or a server and the like.
And step S12, respectively performing data abstraction on the data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects.
According to the acquired data information, data abstraction is respectively carried out on data objects belonging to the whole service and/or the local service, and data abstraction can be respectively carried out on the data information acquired by the probe service. For example, after data information between services is acquired by using a probe service, the back end of the automation framework realizes data object abstraction, such as data abstraction of an interface, a table structure, a message body, a cache and the like, according to the data information provided by the probe service.
The calling information between the services is abstracted through the back end of the automation framework, and the back end can be an independent device or a virtual back end, such as a software product. And abstracting the data object by the back end of the automation framework according to the calling information between services provided by the probe. For example, the calling information between the two services under the micro-service architecture is fed back to a certain software product in the back-end server through a preset probe, the obtained calling information is abstracted through the software product, and a relation model of an interface, a table structure, a message body, a cache and the like of the micro-service is obtained, and the relation model can reflect the calling relation between the micro-services.
For example, referring to fig. 2, micro service a, as the most upstream of the backend service, calls the interface of micro service B, and the interface data of micro service B comes from the logical processing of the cache, and the data in the cache comes from the data in the database table, which in turn comes from the message processing in the message queue provided by micro service C. When the interface provided by the micro service A is called, the probe feeds back the data stream of each layer to the rear end of the automatic frame, and the rear end of the automatic frame automatically generates various data objects in an abstract mode according to the code of the detected object, such as an interface, a cache, a data table, a message body and the like.
And step S13, generating a test case under the micro service architecture according to the various abstracted data objects.
The test cases under the micro-service architecture are generated according to various abstract data objects, the various data objects can be packaged into classes, and the test cases are configured according to the data objects called between services. For example, according to the data object called between the services, the test case of the microservice is obtained by configuring the test environment, the test data, the test case and the test case set, asserting the configuration, and the like. For example, the interface of the microservice B automates the test case, or configures the mock (virtual system) of the microservice, for example, the microservice a calls the microservice B, and configures the service interface mock of the microservice B as a test case.
And generating a test case under the micro-service architecture according to the various abstract data objects. The test cases can be automatically combined according to various data objects called between services, namely, the logic relation and the automatic regression case of the tested system are obtained through a black box test means.
Therefore, by the test case acquisition method provided by the embodiment of the invention, the test case can be obtained by acquiring the data information among the services under the micro-service architecture and analyzing and configuring, so that the automatic generation of the test case is realized, the personnel operation is reduced, and the generation cost of the test case is reduced.
Optionally, referring to fig. 3, in step S11, the acquiring data information between services by using the probe service includes:
s111, acquiring a calling link when any one service calls another service by using the probe service;
or the like, or, alternatively,
acquiring a calling link when a part of functions of any service and another service are called by using the probe service;
or the like, or, alternatively,
and acquiring a calling link when a part of functions of any service calls a part of functions of another service by using the probe service.
For example, referring to fig. 2, the microservice B may include a cache of the microservice B and a database of the microservice B, and when another microservice calls the microservice B, the microservice B may be called, or only a part of functions of the microservice B may be called, such as the cache or the database of the microservice B. Therefore, acquiring data information between services by using the probe service may include: acquiring a calling link when any one service calls another service by using the probe service; or, by using the probe service, acquiring a calling link when any service calls part of functions of another service; or, by using the probe service, acquiring a call link when a part of functions of any service call a part of functions of another service.
By acquiring the whole service or partial function data information among the services, different data information can be acquired according to different types of test tasks, so that the calling information required to be acquired when the test case is generated can be reduced according to different test tasks, and the efficiency of generating the test case is improved.
Optionally, referring to fig. 4, after step S12 performs data abstraction on the data objects belonging to the overall service and/or the local service according to the obtained data information, to obtain various abstracted data objects, the method further includes:
and step S14, respectively carrying out visual display on the various abstract data objects.
The various abstract data objects are respectively visually displayed, the data objects belonging to the whole service and/or the local service can be respectively subjected to data abstraction through the back end of the automation frame according to the acquired data information, and the abstracted data objects are sent to the front end of the automation frame to be displayed. For example, a data stream link acquired by the probe service is displayed on an interface of the front end of the automation framework.
The various abstract data objects are respectively visually displayed, and the data objects and the instantiated data objects can be separately displayed, for example, a table structure data object class and table data, a cache object respectively displays the class and cache, an interface class and an interface instance, and the like.
Through respectively carrying out visual display on various abstract data objects, maintenance personnel can see calling and dependency relationships among the micro services clearly, and can know business logic and the like in the services, so that BUG (BUGs) in codes can be checked and found conveniently, more visual reference can be provided when test cases are configured, and users can configure various abstract data objects conveniently to generate the test cases.
Optionally, referring to fig. 5, in step S13, generating a test case under the micro service architecture according to the various abstracted data objects, including:
and step S15, configuring the different types of data objects according to the target test service aiming at the abstracted different types of data objects, and obtaining the test cases aiming at the target test service.
The configuration of different types of data objects according to the target test service may include domain name configuration, data driver configuration (selecting a data object is implemented by an automation code or initialization configuration), parameter configuration, interface mock configuration, and the like.
For example, after data abstraction is performed by the back end of the automation framework, various abstracted data objects are sent to the front end for display, various configuration options are provided by the front end, a test environment, test data, test cases and test case sets are selected for configuration, assertion configuration and the like are asserted. The data objects of different types are configured according to the target test service, whether data cleaning is performed or not can be configured, data cleaning logic is configured by selecting the data objects and the function bodies, and the like.
By configuring different types of data objects according to the target test service, the generation of end-to-end integrated test cases, contractual test cases and other test cases at various levels can be realized.
Optionally, referring to fig. 6, in step S15, after configuring, for different types of abstracted data objects, the different types of data objects according to the target test service to obtain a test case for the target test service, the method further includes:
and step S16, configuring different types of data objects according to different target test services to obtain test cases for all services under the micro-service architecture.
The test cases of all services under the micro-service architecture can be generated by one-time operation, and maintenance, testing and the like of maintenance personnel are facilitated.
Referring to fig. 7, fig. 7 is a schematic diagram of a test case obtaining apparatus according to an embodiment of the present invention, including:
an information obtaining module 701, configured to obtain data information between services by using a probe service, where the data information is used to reflect a dependency relationship between an overall service and/or a local service under a micro service architecture;
the information abstraction module 702 is configured to perform data abstraction on data objects belonging to the overall service and/or the local service respectively according to the obtained data information, so as to obtain various abstracted data objects;
the use case generating module 703 is configured to generate a test use case under the micro service architecture according to the various abstract data objects.
Therefore, the test case acquisition device provided by the embodiment of the invention can acquire the test case by acquiring the data information among the services under the micro-service architecture and analyzing and configuring the data information, so that the test case can be automatically generated, the personnel operation is reduced, and the generation cost of the test case is reduced.
Optionally, referring to fig. 8, the information obtaining module 701 includes:
the information obtaining sub-module 7011 is configured to obtain, by using the probe service, a call link when any one service calls another service;
or the like, or, alternatively,
acquiring a calling link when a part of functions of any service and another service are called by using the probe service;
or the like, or, alternatively,
and acquiring a calling link when a part of functions of any service calls a part of functions of another service by using the probe service.
Optionally, referring to fig. 9, the apparatus further includes:
and the visualization module 704 is used for visually displaying various abstract data objects respectively.
Optionally, referring to fig. 10, the use case generating module 703 includes:
and the object configuration submodule 7031 is configured to configure different types of data objects after abstraction according to the target test service, so as to obtain a test case for the target test service.
Optionally, referring to fig. 11, the apparatus further includes:
the all-use-case sub-module 705 is configured to configure different types of data objects according to different target test services, so as to obtain test cases for all services under the micro-service architecture.
The test cases of all services under the micro-service architecture can be generated by one-time operation, so that maintenance personnel can conveniently maintain and test the micro-service architecture and the micro-service.
An embodiment of the present invention further provides an electronic device, as shown in fig. 12, including a processor 1201, a communication interface 1202, a memory 1203, and a communication bus 1204, where the processor 1201, the communication interface 1202, and the memory 1203 complete mutual communication through the communication bus 1204,
a memory 1203 for storing a computer program;
the processor 1201 is configured to implement the following steps when executing the program stored in the memory 1203:
acquiring data information among services by using probe services, wherein the data information is used for reflecting the dependency relationship among the whole services and/or the local services under the micro-service architecture;
respectively performing data abstraction on data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects;
and generating a test case under the micro-service architecture according to the various abstract data objects.
Optionally, the processor is configured to implement any one of the above test case obtaining methods when executing the program stored in the memory.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned test case obtaining methods.
In another embodiment of the present invention, a computer program product containing instructions is provided, which when run on a computer, causes the computer to execute any of the above test case acquisition methods.
The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., from one website, computer, server, or data center, via a wired (e.g., coaxial cable, fiber optic, Digital Subscriber line (Digital Subscriber line L ine, DS L)) or wireless (e.g., infrared, wireless, microwave, etc.) manner to another website, computer, server, or data center, may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A test case acquisition method is characterized by comprising the following steps:
acquiring data information among services by using probe services, wherein the data information is used for reflecting the dependency relationship among the whole services and/or the local services under the micro-service architecture;
respectively performing data abstraction on data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects;
and generating a test case under the micro-service architecture according to the various abstract data objects.
2. The method of claim 1, wherein the acquiring data information between services by using the probe service comprises:
acquiring a calling link when any one service calls another service by using the probe service;
or the like, or, alternatively,
acquiring a calling link when a part of functions of any service and another service are called by using the probe service;
or the like, or, alternatively,
and acquiring a calling link when a part of functions of any service calls a part of functions of another service by using the probe service.
3. The method according to claim 1, wherein after the data objects belonging to the overall service and/or the local service are respectively subjected to data abstraction according to the obtained data information to obtain various abstracted data objects, the method further comprises:
and respectively carrying out visual display on the various abstract data objects.
4. The method according to claim 1, wherein the generating a test case under the microservice architecture according to the abstracted data objects comprises:
and aiming at the abstracted data objects of different types, configuring the data objects of different types according to a target test service to obtain a test case aiming at the target test service.
5. The method of claim 4, wherein after the different types of data objects after abstraction are configured according to a target test service to obtain a test case for the target test service, the method further comprises:
and configuring the different types of data objects according to different target test services to obtain test cases for all services under the micro-service architecture.
6. A test case acquisition apparatus, comprising:
the system comprises an information acquisition module, a data acquisition module and a data processing module, wherein the information acquisition module is used for acquiring data information among services by utilizing probe services, and the data information is used for reflecting the dependency relationship among the whole services and/or the local services under the micro-service architecture;
the information abstraction module is used for respectively carrying out data abstraction on the data objects belonging to the whole service and/or the local service according to the acquired data information to obtain various abstracted data objects;
and the case generating module is used for generating the test case under the micro-service architecture according to the various abstract data objects.
7. The apparatus of claim 6, wherein the information obtaining module comprises:
the information acquisition submodule is used for acquiring a calling link when any one service calls another service by using the probe service;
or the like, or, alternatively,
acquiring a calling link when a part of functions of any service and another service are called by using the probe service;
or the like, or, alternatively,
and acquiring a calling link when a part of functions of any service calls a part of functions of another service by using the probe service.
8. The apparatus of claim 6, further comprising:
and the visualization module is used for respectively carrying out visualization display on the various abstract data objects.
9. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-5 when executing the computer program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN202010286852.7A 2020-04-13 2020-04-13 Test case obtaining method and device Pending CN111506505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010286852.7A CN111506505A (en) 2020-04-13 2020-04-13 Test case obtaining method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010286852.7A CN111506505A (en) 2020-04-13 2020-04-13 Test case obtaining method and device

Publications (1)

Publication Number Publication Date
CN111506505A true CN111506505A (en) 2020-08-07

Family

ID=71875966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010286852.7A Pending CN111506505A (en) 2020-04-13 2020-04-13 Test case obtaining method and device

Country Status (1)

Country Link
CN (1) CN111506505A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949532A (en) * 2020-08-10 2020-11-17 上海熙菱信息技术有限公司 Test strategy based on risk handling under contract test
CN112463634A (en) * 2020-12-11 2021-03-09 中国人民银行清算总中心 Software testing method and device under micro-service architecture
CN112783800A (en) * 2021-03-19 2021-05-11 北京奇艺世纪科技有限公司 Test case screening method and device
CN112905486A (en) * 2021-03-26 2021-06-04 建信金融科技有限责任公司 Service integration test method, device and system
CN113285849A (en) * 2021-04-06 2021-08-20 武汉虹信科技发展有限责任公司 Equipment testing method and device based on microservice

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279196A (en) * 2014-07-23 2016-01-27 阿里巴巴集团控股有限公司 Test script generation method and apparatus
CN108322351A (en) * 2018-03-05 2018-07-24 北京奇艺世纪科技有限公司 Generate method and apparatus, fault determination method and the device of topological diagram
US20180293156A1 (en) * 2017-04-06 2018-10-11 At&T Intellectual Property I, L.P. System and method for testing software applications in a software defined network
CN109062809A (en) * 2018-09-20 2018-12-21 北京奇艺世纪科技有限公司 Method for generating test case, device and electronic equipment on a kind of line
CN110096437A (en) * 2019-04-12 2019-08-06 平安普惠企业管理有限公司 The test method and Related product of micro services framework
CN110430070A (en) * 2019-07-19 2019-11-08 北京奇艺世纪科技有限公司 A kind of service state analysis method, device, server, data analysis equipment and medium
CN110659206A (en) * 2019-08-30 2020-01-07 平安普惠企业管理有限公司 Simulation architecture establishing method, device, medium and electronic equipment based on microservice
CN110858172A (en) * 2018-08-23 2020-03-03 北京京东尚科信息技术有限公司 Automatic test code generation method and device
CN110955899A (en) * 2019-12-13 2020-04-03 中国工商银行股份有限公司 Safety test method, device, test equipment and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279196A (en) * 2014-07-23 2016-01-27 阿里巴巴集团控股有限公司 Test script generation method and apparatus
US20180293156A1 (en) * 2017-04-06 2018-10-11 At&T Intellectual Property I, L.P. System and method for testing software applications in a software defined network
CN108322351A (en) * 2018-03-05 2018-07-24 北京奇艺世纪科技有限公司 Generate method and apparatus, fault determination method and the device of topological diagram
CN110858172A (en) * 2018-08-23 2020-03-03 北京京东尚科信息技术有限公司 Automatic test code generation method and device
CN109062809A (en) * 2018-09-20 2018-12-21 北京奇艺世纪科技有限公司 Method for generating test case, device and electronic equipment on a kind of line
CN110096437A (en) * 2019-04-12 2019-08-06 平安普惠企业管理有限公司 The test method and Related product of micro services framework
CN110430070A (en) * 2019-07-19 2019-11-08 北京奇艺世纪科技有限公司 A kind of service state analysis method, device, server, data analysis equipment and medium
CN110659206A (en) * 2019-08-30 2020-01-07 平安普惠企业管理有限公司 Simulation architecture establishing method, device, medium and electronic equipment based on microservice
CN110955899A (en) * 2019-12-13 2020-04-03 中国工商银行股份有限公司 Safety test method, device, test equipment and medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949532A (en) * 2020-08-10 2020-11-17 上海熙菱信息技术有限公司 Test strategy based on risk handling under contract test
CN112463634A (en) * 2020-12-11 2021-03-09 中国人民银行清算总中心 Software testing method and device under micro-service architecture
CN112463634B (en) * 2020-12-11 2024-03-29 中国人民银行清算总中心 Software testing method and device under micro-service architecture
CN112783800A (en) * 2021-03-19 2021-05-11 北京奇艺世纪科技有限公司 Test case screening method and device
CN112783800B (en) * 2021-03-19 2023-09-05 北京奇艺世纪科技有限公司 Test case screening method and device
CN112905486A (en) * 2021-03-26 2021-06-04 建信金融科技有限责任公司 Service integration test method, device and system
CN113285849A (en) * 2021-04-06 2021-08-20 武汉虹信科技发展有限责任公司 Equipment testing method and device based on microservice
CN113285849B (en) * 2021-04-06 2022-09-27 武汉虹信科技发展有限责任公司 Equipment testing method and device based on micro-service

Similar Documents

Publication Publication Date Title
CN111506505A (en) Test case obtaining method and device
CN110798380B (en) Data acquisition method, system, device, test equipment and test server
CN109344170B (en) Stream data processing method, system, electronic device and readable storage medium
CN108521353B (en) Processing method and device for positioning performance bottleneck and readable storage medium
CN106899445A (en) The method and system of page interface automatic test
CN111858296B (en) Interface testing method, device, equipment and storage medium
CN107797922B (en) Application page testing method, electronic device and electronic equipment
CN111831542B (en) API application debugging method and device and storage medium
CN112199300A (en) Interface testing method and device, electronic equipment and storage medium
CN112015654A (en) Method and apparatus for testing
CN111309505A (en) Page exception handling method and device and electronic equipment
CN111694550B (en) Page display control method, device and system
CN106815150B (en) Server-side interface test system and method
CN114510421A (en) Test method, test device, chip and module equipment
CN112965711B (en) Job testing method and device, electronic equipment and storage medium
CN108062401B (en) Application recommendation method and device and storage medium
CN112988267A (en) Loading method and device, storage medium and electronic equipment
CN112131127A (en) Interface testing method, device and system and electronic equipment
CN111104331A (en) Software management method, terminal device and computer-readable storage medium
CN115599429A (en) Interface document management system, method, device and medium
CN113760315A (en) Method and device for testing system
CN113495498A (en) Simulation method, simulator, device, and medium for hardware device
CN112199275A (en) Component interface test analysis method and device, server and storage medium
CN111538606A (en) Method, device and equipment for testing and simulating Dubbo interface
CN109271212A (en) A kind of advertisement in application program shields method, device and equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200807

RJ01 Rejection of invention patent application after publication