CN109062798A - A kind of test method and device based on Dubbo frame - Google Patents
A kind of test method and device based on Dubbo frame Download PDFInfo
- Publication number
- CN109062798A CN109062798A CN201810836867.9A CN201810836867A CN109062798A CN 109062798 A CN109062798 A CN 109062798A CN 201810836867 A CN201810836867 A CN 201810836867A CN 109062798 A CN109062798 A CN 109062798A
- Authority
- CN
- China
- Prior art keywords
- result
- consumer
- service provider
- dubbo
- test
- 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
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
-
- 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/3692—Test management for test results analysis
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
The invention proposes a kind of test method and device based on Dubbo frame, are related to software testing technology field.The interface of the JAR packet and service consumer that obtain service provider first configures, then JAR packet is analyzed, to obtain the configuration information of JAR packet, the case data according to configuration information setting is obtained again, and obtain the first result generated according to case data and function type, then consumer's container is generated according to interface configuration, and case data is filled to consumer's container, it sends and requests to service provider, finally receive service provider according to the second result of request feedback and generate test result according to the comparison of the second result and the first result.Test method proposed by the present invention based on Dubbo frame and device have the advantages of considerably reducing the workload of Test Engineer's coding, improving the test quality of software while improving testing efficiency.
Description
Technical field
The present invention relates to software testing technology field, in particular to a kind of test method based on Dubbo frame with
Device.
Background technique
Dubbo is the distributed service framework of Alibaba open source, its maximum feature is to carry out frame in the way of layering
Structure makes to make in this way decoupling between each layer.From the perspective of service model, Dubbo is mentioned using provider
For service or consumer's consumption service, service provider (Provider) and service consumer can be taken out based on this
(Consumer) two roles.More and more internet works software companies build respective system using Dubbo frame at present.
With the use of new software frame, different requirements also proposed to the test method of the interface of this frame creation.It is used in the past
Communications protocol between application system mainly includes HTTP, WebService, Stock etc., and industry also provide it is numerous at
Ripe software perhaps tool can carry out the tests of these protocol interfaces using these tools tester can less coding or
It hardly needs and writes code and can complete the functional test, regression test and automatic test of interface.And there is presently no
The automation that the testing tool or method for Dubbo framework interface of one comparative maturity can fast implement interface is surveyed
Examination.
It is the emphasis that those skilled in the art are absorbed in view of this, how to improve the above problem.
Summary of the invention
The purpose of the present invention is to provide a kind of test methods based on Dubbo frame, to solve to be directed in the prior art
The problem of testing tool or method of Dubbo framework interface can not fast implement the automatic test of interface.
Another object of the present invention is to provide a kind of test devices based on Dubbo frame, to solve in the prior art
Aiming at the problem that testing tool or method of Dubbo framework interface can not fast implement the automatic test of interface.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
On the one hand, the embodiment of the present invention proposes a kind of test method based on Dubbo frame, is applied to Dubbo frame,
The Dubbo frame includes service provider and service consumer, and the test method based on Dubbo frame includes:
The interface of the JAR packet and service consumer that obtain the service provider configures;
The JAR packet is analyzed, to obtain the configuration information of the JAR packet;
The case data set according to the configuration information is obtained, and is obtained according to the case data with described with confidence
Cease the first result generated;
It is configured according to the interface and generates consumer's container, and the case data is filled to consumer's container;
It sends and requests to the service provider according to filled consumer's container;
Receive second result of the service provider according to the request feedback;
Comparison according to second result and first result generates test result.
On the other hand, the embodiment of the present invention also proposes a kind of test device based on Dubbo frame, is applied to Dubbo frame
Frame, the Dubbo frame include service provider and service consumer, and the test device based on Dubbo frame includes:
Information acquisition unit, for obtaining the JAR packet of the service provider and the interface configuration of service consumer;
Storage unit, for analyzing the JAR packet, to obtain the configuration information of the JAR packet;
First result generation unit for obtaining the case data according to configuration information setting, and is obtained according to institute
State the first result of case data and configuration information generation;
Consumer's container generation unit generates consumer's container for configuring according to the interface, and uses number of cases for described
According to filling to consumer's container;
Information transmitting unit is requested for sending according to filled consumer's container to the service provider;
Information receiving unit, for receiving second result of the service provider according to the request feedback;
Test result generation unit generates test knot for the comparison according to second result and first result
Fruit.
Compared with the prior art, the invention has the following advantages:
The present invention provides a kind of test method and device based on Dubbo frame obtain the JAR of service provider first
Packet is configured with the interface of service consumer, is then analyzed JAR packet, to obtain the configuration information of JAR packet, then obtain according to
According to the case data that configuration information is set, and obtain according to case data and function type generate first as a result, then foundation
Interface configuration generates consumer's container, and case data is filled to consumer's container, sends and requests to service provider, finally
It receives service provider and generates test knot according to the second result of request feedback and according to the comparison of the second result and the first result
Fruit.Duplicate cumbersome coding, configuration file are write by being by work based on the test method of Dubbo due to provided by the invention
System is automatically performed, to considerably reduce the workload of Test Engineer's coding, the used time is transferred to the emphasis of tester
In the design of test case data, to improve the test quality of software while improving testing efficiency.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the functional block diagram of the server of the embodiment of the present invention offer.
Fig. 2 shows the flow charts for the test method based on Dubbo frame that the embodiment of the present invention provides.
Fig. 3 shows the flow chart of the sub-step of step S101 in Fig. 2 of the embodiment of the present invention offer.
Fig. 4 shows the module diagram of the test device based on Dubbo frame of the embodiment of the present invention offer.
Fig. 5 shows the submodule schematic diagram of the information acquisition unit of the embodiment of the present invention offer.
Icon: 10- server;12- memory;13- storage control;14- processor;100- is based on Dubbo frame
Test device;110- information acquisition unit;111- connection establishment module;112- information downloading module;120- storage unit;
130- the first result generation unit;140- consumer's container generation unit;150- information transmitting unit;160- information receives single
Member;170- the second result simplified element;180- test result generation unit;190- data sheet generation unit.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented
The component of example can be arranged and be designed with a variety of different configurations.
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, it is also necessary to which explanation is unless specifically defined or limited otherwise, term " connected ", " connection " shall be understood in a broad sense,
It for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be mechanical connection, be also possible to electricity
Connection;It can be directly connected, the connection inside two elements can also be can be indirectly connected through an intermediary.For
For those skilled in the art, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.It ties below
Attached drawing is closed, is elaborated to some embodiments of the present invention.In the absence of conflict, following embodiment and embodiment
In feature can be combined with each other.
As shown in Figure 1, being the functional block diagram of server 10 provided by the invention.The server 10 includes being based on
Test device 100, memory 12, storage control 13 and the processor 14 of Dubbo frame.
The memory 12, storage control 13 and each element of processor 14 directly or indirectly electrically connect between each other
It connects, to realize the transmission or interaction of data.For example, these elements can pass through one or more communication bus or signal between each other
Line, which is realized, to be electrically connected.The test device 100 based on Dubbo frame includes at least one can be with software or firmware
(firmware) form is stored in the memory 12 or is solidificated in the operating system (operating of the server 10
System, OS) in software function module.The processor 14 is for executing the executable module stored in memory 12, example
The software function module or computer program for including such as the test device 100 based on Dubbo frame.
Wherein, memory 12 may be, but not limited to, random access memory 12 (Random Access Memory,
RAM), read-only memory 12 (Read Only Memory, ROM), (the Programmable Read- of programmable read only memory 12
Only Memory, PROM), erasable read-only memory 12 (Erasable Programmable Read-Only Memory,
EPROM), electricallyerasable ROM (EEROM) 12 (Electric Erasable Programmable Read-Only Memory,
EEPROM) etc..Wherein, memory 12 is for storing program, and the processor 14 executes the journey after receiving and executing instruction
Sequence, method performed by the server 10 that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can be applied to
In processor 14, or realized by processor 14.
Processor 14 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 14 can be with
It is general processor 14, including central processing unit 14 (Central Processing Unit, abbreviation CPU), network processing unit 14
(Network Processor, abbreviation NP) etc.;It can also be digital signal processor 14 (DSP), specific integrated circuit
(ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor 14 can be microprocessor 14 or the processor 14 is also possible to any conventional processor 14 etc..
Referring to Fig. 2, being present pre-ferred embodiments offer applied to the test shown in FIG. 1 based on Dubbo frame
The flow chart of method.Detailed process shown in Fig. 2 will be described in detail below.
The interface of step S101, the JAR packet and service consumer that obtain the service provider configure.
Dubbo is the distributed service framework of Alibaba open source, its maximum feature is to carry out frame in the way of layering
Structure makes to make in this way decoupling between each layer.From the perspective of service model, Dubbo is mentioned using provider
For service or consumer's consumption service, service provider (Provider) and service consumer can be taken out based on this
(Consumer) two roles.Wherein, in order to which whether the data processing of detection service provider breaks down, service need to be provided
Fang Jinhang test.
Meanwhile service provider is obtained first in the present embodiment in order to improve testing efficiency and test quality
The interface of JAR (Java Archive, Java archive file) service consumer configures.
Wherein, service consumer interface configuration mainly include service consumer address, function name and version information,
The interface configuration of service consumer required for tester can be manually entered.
Wherein, referring to Fig. 3, step S101 includes:
Sub-step S1011 is communicated to connect, wherein the warehouse Maven is stored with the service with Maven Warehouse Establishing
The JAR packet of provider.
In the present embodiment, when needing to obtain the JAR packet of service provider, can first with Maven Warehouse Establishing communication link
It connects, wherein the warehouse Maven is stored with the JAR packet of service provider.
Sub-step S1012 downloads the JAR packet of the service provider according to presetting coordinate from the warehouse Maven.
In the warehouse Maven, the JAR of each service provider has corresponded to a coordinate, can be found by the coordinate
To corresponding JAR packet.Meanwhile in the present embodiment, after server 10 and the communication connection of Maven Warehouse Establishing, tester
Can input address, thus make server 10 correspondence search out corresponding address and download.Or corresponding address is directly preset, make
After server 10 and the communication connection of Maven Warehouse Establishing, the JAR packet of the corresponding address of Automatic-searching is simultaneously downloaded, and embodiment is to this
Any restriction is not done.
Of course, as another implementation of the present embodiment, tester can also directly be inputted in server 10
The relevant information of the JAR packet of service provider.Wherein, in embodiment, the relevant information of JAR packet includes type function, parameter
Type and return Value Types, i.e. tester can input function type, parameter type and return directly in server 10
Value Types, so that it is determined that corresponding service provider.
Step S102 analyzes the JAR packet, to obtain the configuration information of the JAR packet.
After server 10 receives JAR packet, which can be analyzed, the present embodiment uses JAR reflection technology pair
JAR packet is analyzed, and then analyzes the configuration information of JAR packet.Furthermore, it is desirable to explanation, JAR packet provided in this embodiment
Configuration information include type function, parameter type and return to Value Types.It is also desirable to which explanation, passes through JAR packet
Configuration information, can determine service provider.
Step S103 obtains the case data that set according to the configuration information, and obtain according to the case data and
The first result that the configuration information generates.
JAR packet is being analyzed by JAR reflection technology, and is terminating in semantic analysis to get all ginsengs of interface
After number and return Value Types, testing example design can be carried out to the interface, in the present embodiment, equivalence class can be used and draw
Point, boundary value setting, the conventional methods such as cause effect graph input different test case datas, and are matched according to the case data with this
Confidence ceases pre-generated first result.
In the present embodiment, case data and the first result are by tester's input server 10, some other
In embodiment, other modes can also be used, for example, being pre-stored case data and first in server 10 as a result, working as
After configuration information has been determined, that is, it can determine and use force data accordingly.
Step S104 is configured according to the interface and is generated consumer's container, and the case data is filled to described and is disappeared
The person's of expense container.
Further, since the interface for having obtained consumption service side in step s101 configures, in this implementation
In example, server 10 can configure according to the interface and produce consumer's container, wherein consumer's container, that is, virtual cpi service
Side.I.e. in the present embodiment, in the interface for obtaining consumption service side with postponing, server 10 can construct a virtual cpi service
Side, while case data being filled into consumer's container.
Simultaneously, it should be noted that generally use dubbo, need to define ISP's by writing configuration file
Address, version, it is also necessary to interface is defined as JavaBean (Reusable Module), and give Spring (application framework) into
Row management can be loaded when these configurations are only entire using starting.
Further, for the test method provided in this embodiment based on dubbo interface, one is not needed completely
Application framework, while Reusable Module must can be loaded with dynamic realtime, cannot be needed by the way of through configuration file
Dubbo consumer's container is generated by test interface title, address and the version information when executing interface testing from input,
Read test case data simultaneously, places data into the interface method in container and executes.
Step S105 sends to the service provider according to filled consumer's container and requests.
After server 10 constructs consumer's container and fills case data to consumer's container, 10 foundation of server
Consumer's container sends to service provider and requests.
Step S106 receives second result of the service provider according to the request feedback.
After the request that service provides that hair receives the transmission of server 10, corresponding relationship pair of the meeting according to consumer's container
Case data is handled, while the second result is sent to server 10 by treated.
Step S107 simplifies second result in the way of object numbered musical notation.
In the present embodiment, since received second result of server 10 may be simple types supplemental characteristic, it is also possible to
For complexity supplemental characteristic, therefore, the present embodiment also uses JSON (JavaScript Object Notation, JS object letter
Spectrum) the second result is simplified.Wherein JSON is a kind of data interchange format of lightweight, it is based on (the Europe ECMAScript
Continent Computer Association formulate js specification) a subset, stored using the text formatting for being totally independent of programming language and
Indicate data.Succinctly and clearly hierarchical structure makes JSON become ideal data interchange language.It is easy to people to read and write,
It is also easy to machine parsing simultaneously and generates, and effectively promotes network transmission efficiency.
Step S108, the comparison according to second result and first result generate test result.
In the present embodiment, the first result indicates objective result, and the second result indicates test result, utilizes the first knot
Fruit compares with the second result, can obtain test result.
Step S109 generates quality report and data sheet.
In the present embodiment, in order to facilitate tester's observation, server 10 can generate quality report according to test result
That is data sheet, for example, between the first result and the second result similarity percentage.
It will be duplicate cumbersome based on the test method of Dubbo it should also be noted that, utilization is provided in an embodiment of the present invention
Coding, configuration file write work and be automatically performed by system, thus considerably reduce Test Engineer coding workload,
Used time is transferred to the emphasis of tester in the design of test case data, to improve while improving testing efficiency
The test quality of software.
Second embodiment
Referring to Fig. 4, the test device 100 shown in FIG. 1 based on Dubbo frame that present pre-ferred embodiments provide
Functional unit schematic diagram.It should be noted that the test device 100 based on Dubbo frame provided by the present embodiment, basic
Principle and the technical effect of generation are identical with above-described embodiment, and to briefly describe, part of the embodiment of the present invention does not refer to place, can
With reference to corresponding contents in the above embodiments.Test device 100 based on Dubbo frame includes:
Information acquisition unit 110, for obtaining the JAR packet of the service provider and the interface configuration of service consumer.
It should be understood that step S101 can be performed by information acquisition unit 110.
Wherein, referring to Fig. 5, information acquisition unit 110 includes:
Connection establishment module 111, for being communicated to connect with Maven Warehouse Establishing, wherein the warehouse Maven is stored with
The JAR packet of the service provider.
It should be understood that sub-step S1011 can be performed by connection establishment module 111.
Information downloading module 112, for downloading the service provider from the warehouse Maven according to presetting coordinate
JAR packet.
It should be understood that sub-step S1012 can be performed by information downloading module 112.
Storage unit 120, for analyzing the JAR packet, to obtain the configuration information of the JAR packet.
It should be understood that step S102 can be performed by storage unit 120.
First result generation unit 130 for obtaining the case data according to configuration information setting, and obtains foundation
The first result that the case data and the type function generate.
It should be understood that step S103 can be performed by the first result generation unit 130.
Consumer's container generation unit 140 generates consumer's container for configuring according to the interface, and by the use-case
Data are filled to consumer's container.
It should be understood that step S104 can be performed by consumer's container generation unit 140.
Information transmitting unit 150 is requested for sending according to filled consumer's container to the service provider.
It should be understood that step S105 can be performed by information transmitting unit 150.
Information receiving unit 160, for receiving second result of the service provider according to the request feedback.
It should be understood that step S106 can be performed by information receiving unit 160.
Second result simplified element 170, for being simplified in the way of object numbered musical notation to second result.
It should be understood that step S107 can be performed by the second result simplified element 170.
Test result generation unit 180 is generated for the comparison according to second result and first result and is tested
As a result.
It should be understood that step S108 can be performed by test result generation unit 180.
Data sheet generation unit 190, for generating quality report and data sheet.
It should be understood that step S109 can be performed by data sheet generation unit 190.
In conclusion the present invention provides a kind of test method and device based on Dubbo frame, acquisition service first is mentioned
The JAR packet of supplier and the interface of service consumer configure, and then analyze JAR packet, so that obtain JAR packet matches confidence
Breath, then the case data according to configuration information setting is obtained, and obtain the first knot generated according to case data and function type
Then fruit generates consumer's container according to interface configuration, and case data is filled to consumer's container, send out to service provider
Request is sent, finally receives service provider according to the second result of request feedback and according to the comparison of the second result and the first result
Generate test result.Duplicate cumbersome coding, configuration file are compiled based on the test method of Dubbo due to provided by the invention
It writes work to be automatically performed by system, to considerably reduce the workload of Test Engineer's coding, the used time makes tester's
Emphasis is transferred in the design of test case data, to improve the test quality of software while improving testing efficiency.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one
A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to
Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting
Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
Claims (10)
1. a kind of test method based on Dubbo frame is applied to Dubbo frame, the Dubbo frame includes service provider
With service consumer, which is characterized in that the test method based on Dubbo frame includes:
The interface of the JAR packet and service consumer that obtain the service provider configures;
The JAR packet is analyzed, to obtain the configuration information of the JAR packet;
The case data set according to the configuration information is obtained, and is obtained raw according to the case data and the configuration information
At the first result;
It is configured according to the interface and generates consumer's container, and the case data is filled to consumer's container;
It sends and requests to the service provider according to filled consumer's container;
Receive second result of the service provider according to the request feedback;
Comparison according to second result and first result generates test result.
2. the test method as described in claim 1 based on Dubbo frame, which is characterized in that receive the service described
After the step of the second result that provider feeds back according to the request, the test method based on Dubbo frame further include:
Second result is simplified in the way of object numbered musical notation.
3. the test method as described in claim 1 based on Dubbo frame, which is characterized in that the configuration information includes letter
Several classes of types, parameter type and return Value Types.
4. the test method as described in claim 1 based on Dubbo frame, which is characterized in that the interface configuration includes clothes
Business device address, function name and version information.
5. the test method as described in claim 1 based on Dubbo frame, which is characterized in that the acquisition service mentions
The step of JAR packet of supplier includes:
It is communicated to connect with Maven Warehouse Establishing, wherein the warehouse Maven is stored with the JAR packet of the service provider;
The JAR packet of the service provider is downloaded from the warehouse Maven according to presetting coordinate.
6. a kind of test device based on Dubbo frame is applied to Dubbo frame, the Dubbo frame includes service provider
With service consumer, which is characterized in that the test device based on Dubbo frame includes:
Information acquisition unit, for obtaining the JAR packet of the service provider and the interface configuration of service consumer;
Storage unit, for analyzing the JAR packet, to obtain the configuration information of the JAR packet;
First result generation unit for obtaining the case data according to configuration information setting, and is obtained according to the use
Number of cases is according to the first result generated with the configuration information;
Consumer's container generation unit generates consumer's container for configuring according to the interface, and the case data is filled out
It is charged to consumer's container;
Information transmitting unit is requested for sending according to filled consumer's container to the service provider;
Information receiving unit, for receiving second result of the service provider according to the request feedback;
Test result generation unit generates test result for the comparison according to second result and first result.
7. the test device as claimed in claim 6 based on Dubbo frame, which is characterized in that described based on Dubbo frame
Test device further include:
Second result simplified element, for being simplified in the way of object numbered musical notation to second result.
8. the test device as claimed in claim 6 based on Dubbo frame, which is characterized in that the configuration information includes letter
Several classes of types, parameter type and return Value Types.
9. the test device as claimed in claim 6 based on Dubbo frame, which is characterized in that the interface configuration includes clothes
Business consumer address, function name and version information.
10. the test device as claimed in claim 6 based on Dubbo frame, which is characterized in that the information acquisition unit packet
It includes:
Connection establishment module, for being communicated to connect with Maven Warehouse Establishing, wherein the warehouse Maven is stored with the service
The JAR packet of provider;
Information downloading module, for downloading the JAR of the service provider from the warehouse Maven according to presetting coordinate
Packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810836867.9A CN109062798A (en) | 2018-07-26 | 2018-07-26 | A kind of test method and device based on Dubbo frame |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810836867.9A CN109062798A (en) | 2018-07-26 | 2018-07-26 | A kind of test method and device based on Dubbo frame |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109062798A true CN109062798A (en) | 2018-12-21 |
Family
ID=64835763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810836867.9A Pending CN109062798A (en) | 2018-07-26 | 2018-07-26 | A kind of test method and device based on Dubbo frame |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109062798A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538606A (en) * | 2020-04-27 | 2020-08-14 | 中国银行股份有限公司 | Method, device and equipment for testing and simulating Dubbo interface |
CN113220566A (en) * | 2021-04-26 | 2021-08-06 | 深圳市云网万店科技有限公司 | Interface performance test script generation method and device and computer equipment |
CN113297072A (en) * | 2021-05-17 | 2021-08-24 | 阿里巴巴新加坡控股有限公司 | Container testing method and device |
CN115687161A (en) * | 2022-12-30 | 2023-02-03 | 云筑信息科技(成都)有限公司 | Method for automatically generating interface test case based on scanning maven warehouse |
CN113220566B (en) * | 2021-04-26 | 2024-06-28 | 深圳市云网万店科技有限公司 | Method and device for generating interface performance test script and computer equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1791037A (en) * | 2005-12-26 | 2006-06-21 | 北京航空航天大学 | Method for realizing Web service automatic test |
CN103136095A (en) * | 2011-11-28 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Method, device and system of test application program interface |
WO2014039840A1 (en) * | 2012-09-07 | 2014-03-13 | Baylor Research Institute | Hiv vaccine compositions and methods |
CN105302721A (en) * | 2015-10-29 | 2016-02-03 | 普元信息技术股份有限公司 | System and method for realizing integration testing of centralized analog server in cloud computing platform |
CN105335293A (en) * | 2015-11-30 | 2016-02-17 | 努比亚技术有限公司 | Automatic testing system and method based on parallel ports |
CN105701010A (en) * | 2015-12-31 | 2016-06-22 | 北京元心科技有限公司 | Method and device for accelerating software testing |
CN106250310A (en) * | 2016-07-25 | 2016-12-21 | 微梦创科网络科技(中国)有限公司 | A kind of method for generating test case and device |
CN106886492A (en) * | 2017-02-13 | 2017-06-23 | 北京趣拿软件科技有限公司 | Method of testing and test device based on data readback |
CN108089972A (en) * | 2016-11-22 | 2018-05-29 | 北京京东尚科信息技术有限公司 | interface test method and device |
-
2018
- 2018-07-26 CN CN201810836867.9A patent/CN109062798A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1791037A (en) * | 2005-12-26 | 2006-06-21 | 北京航空航天大学 | Method for realizing Web service automatic test |
CN103136095A (en) * | 2011-11-28 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Method, device and system of test application program interface |
WO2014039840A1 (en) * | 2012-09-07 | 2014-03-13 | Baylor Research Institute | Hiv vaccine compositions and methods |
CN105302721A (en) * | 2015-10-29 | 2016-02-03 | 普元信息技术股份有限公司 | System and method for realizing integration testing of centralized analog server in cloud computing platform |
CN105335293A (en) * | 2015-11-30 | 2016-02-17 | 努比亚技术有限公司 | Automatic testing system and method based on parallel ports |
CN105701010A (en) * | 2015-12-31 | 2016-06-22 | 北京元心科技有限公司 | Method and device for accelerating software testing |
CN106250310A (en) * | 2016-07-25 | 2016-12-21 | 微梦创科网络科技(中国)有限公司 | A kind of method for generating test case and device |
CN108089972A (en) * | 2016-11-22 | 2018-05-29 | 北京京东尚科信息技术有限公司 | interface test method and device |
CN106886492A (en) * | 2017-02-13 | 2017-06-23 | 北京趣拿软件科技有限公司 | Method of testing and test device based on data readback |
Non-Patent Citations (1)
Title |
---|
朱东杰等: "《软件测试与质量保证》", 31 July 2017 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538606A (en) * | 2020-04-27 | 2020-08-14 | 中国银行股份有限公司 | Method, device and equipment for testing and simulating Dubbo interface |
CN111538606B (en) * | 2020-04-27 | 2023-05-19 | 中国银行股份有限公司 | Method, device and equipment for testing simulation Dubbo interface |
CN113220566A (en) * | 2021-04-26 | 2021-08-06 | 深圳市云网万店科技有限公司 | Interface performance test script generation method and device and computer equipment |
CN113220566B (en) * | 2021-04-26 | 2024-06-28 | 深圳市云网万店科技有限公司 | Method and device for generating interface performance test script and computer equipment |
CN113297072A (en) * | 2021-05-17 | 2021-08-24 | 阿里巴巴新加坡控股有限公司 | Container testing method and device |
CN113297072B (en) * | 2021-05-17 | 2023-11-03 | 阿里巴巴新加坡控股有限公司 | Container testing method and device |
CN115687161A (en) * | 2022-12-30 | 2023-02-03 | 云筑信息科技(成都)有限公司 | Method for automatically generating interface test case based on scanning maven warehouse |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11868231B2 (en) | System and method for evaluating code by a hybrid of local and cloud-based computers | |
CN102693183B (en) | Method and system for realizing automatic software testing | |
CN103312551B (en) | The method of testing of CGI(Common gateway interface) and testing apparatus | |
Bertolino et al. | Deriving test plans from architectural descriptions | |
CN109062798A (en) | A kind of test method and device based on Dubbo frame | |
CN109344065A (en) | Remote debugging method, debugging server and target machine | |
CN104461567B (en) | The dissemination method and system of software package | |
CN107239271A (en) | Develop document structure tree method and device | |
CN113992514B (en) | Method for rapidly realizing data acquisition instrument protocol by zero code and data acquisition instrument terminal | |
JP2006500670A (en) | Verifiable processes within heterogeneous distributed computing environments | |
CN109799985A (en) | Front-end code generation method and device, storage medium and electronic equipment | |
CN107888437B (en) | Cloud monitoring method and equipment | |
CN108984202B (en) | Electronic resource sharing method and device and storage medium | |
CN103257852B (en) | The method and apparatus that a kind of development environment of distribution application system is built | |
CN105426165A (en) | Script tool processing method and apparatus | |
CN111026634A (en) | Interface automation test system, method, device and storage medium | |
CN106326099B (en) | A kind of method, apparatus and electronic equipment for program tracking | |
CN105204917B (en) | The method and device of loading configuration file in application program launching | |
CN104579748A (en) | SCD (substation configuration description) online checking network analysis method and system | |
CN115794106A (en) | Method and system for analyzing configuration of binary protocol data of rail transit | |
CN113268245A (en) | Code analysis method, device and storage medium | |
CN105739481A (en) | Industrial control software testing method, industrial control software testing device, and industrial control software testing system | |
CN109635168A (en) | Chart output method and device | |
US10606569B2 (en) | Declarative configuration elements | |
US7917904B2 (en) | Automated analysis tasks of complex computer system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |