Micro-service test method and device
A testing method and microservice technology, applied in the field of information network, can solve the problem of low efficiency of microservice testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Figure 1A It is a flow chart of a microservice testing method provided in Embodiment 1 of the present invention. This embodiment is applicable to various microservice testing situations. The method can be executed by the microservice testing device provided in the embodiment of the present invention. The device It can be implemented in the form of software and / or hardware, and the device can be integrated in any device that provides microservice testing functions, such as computers, etc., such as Figure 1A shown, including:
[0043] S110 , constructing a public environment and a project environment.
[0044] Wherein, the public environment includes a current version of at least one microservice, and the project environment includes an updated version of at least one microservice.
[0045] At present, in the information age, smart phones, computers and other electronic products have become necessary for people's life, study and work, and such electronic products contai...
Embodiment 2
[0066] Figure 2A It is a flow chart of a microservice testing method provided by Embodiment 2 of the present invention. On the basis of the above embodiments, this embodiment also includes: classifying the project environment according to the functions of the application program; receiving the user's access request; A target project environment and a first microservice related to the target microservice are determined according to the attribute information of the access request. refer to Figure 2A , the method provided in this embodiment may specifically include:
[0067] S210 , constructing a public environment and a project environment.
[0068] S220. Classify the project environment according to the functions of the application programs.
[0069] Specifically, since an application contains multiple functions, the project environment can be classified according to the functions of the application. In this way, when testing the target microservice, only the target projec...
Embodiment 3
[0087] image 3 Shown is a schematic structural diagram of an apparatus for a microservice testing method provided in Embodiment 3 of the present invention. This embodiment is applicable to various microservice testing situations. The device can be implemented in software and / or hardware. The device can be integrated into any device that provides microservice testing functions, such as a computer, such as image 3 As shown, it specifically includes: an environment construction module 31 , a judgment module 32 and a call request execution module 33 .
[0088] An environment construction module 31, configured to construct a public environment and a project environment, wherein the public environment includes a current version of at least one microservice, and the project environment includes an updated version of at least one microservice;
[0089] Judgment module 32, used to determine whether there is a microservice to be called in the project environment when any microservice...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com