CN106201850A - A kind of compatibility test method and device - Google Patents

A kind of compatibility test method and device Download PDF

Info

Publication number
CN106201850A
CN106201850A CN201510209914.3A CN201510209914A CN106201850A CN 106201850 A CN106201850 A CN 106201850A CN 201510209914 A CN201510209914 A CN 201510209914A CN 106201850 A CN106201850 A CN 106201850A
Authority
CN
China
Prior art keywords
test
server
compatibility
address
service
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.)
Granted
Application number
CN201510209914.3A
Other languages
Chinese (zh)
Other versions
CN106201850B (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510209914.3A priority Critical patent/CN106201850B/en
Publication of CN106201850A publication Critical patent/CN106201850A/en
Application granted granted Critical
Publication of CN106201850B publication Critical patent/CN106201850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present application discloses a kind of compatibility test method and device, and described method includes: obtain test parameter;Described test parameter includes: compatibility calls the title of service and described compatibility calls the code release of service in service;Determine that code release combines according to described test parameter;Obtain the IP address of server to be measured, according to the corresponding relation of default IP address Yu service code version, determine the destination server corresponding with the combination of described code release;Described destination server is carried out compatibility test.A kind of compatibility test method of the embodiment of the present application offer and device, can improve the execution efficiency of compatibility test.

Description

A kind of compatibility test method and device
Technical field
The application relates to computer software technical field, particularly to a kind of compatibility test method and device.
Background technology
Along with development and the demand of user of software engineering, the service in software needs to constantly update.Existing it is integrated with multiple clothes The system of business is generally of the features such as distributed, system is many, interactive relation is complicated.When in system, some or multiple service are issued After the code of redaction, system may comprise the service code of this service different editions simultaneously, in order to ensure that random access is new The stability of system during early version code, it usually needs the service to comprising different editions code carries out compatibility test.
Existing compatibility test method generally includes: tester writes test script and initiates request to be measured.Tester is The service call link parameter of test system manual configuration compatibility test, such as, include service name etc..Tester is test System manually disposes the system code of a kind of version combination.Run described test script or initiate test request, obtaining test knot Really, check described test result and be analyzed.Tester is that described test system the most manually disposes another kind of version combination System code, again run described test script or initiate the compatibility that test request carries out the system code of the combination of version in another Property test.
During realizing the application, inventor finds that in prior art, at least there are the following problems: existing compatibility test side Method needs manually to dispose and switch the system code of the different editions combination needing test, in the situation that software system code is complicated Under, the version combination needing the system code of test is more, and switching and dispose code release combination by hand to waste the plenty of time, The execution efficiency of compatibility test is relatively low.
Summary of the invention
The purpose of the embodiment of the present application is to provide a kind of compatibility test method and device, performs effect with improve compatibility test Rate.
For solving above-mentioned technical problem, the embodiment of the present application provides a kind of compatibility test method and device to be achieved in that
A kind of compatibility test method, including: obtain test parameter;Described test parameter includes: compatibility calls the name of service Claim and described compatibility calls the code release of service in service;Determine that code release combines according to described test parameter;Obtain The IP address of server to be measured, according to the corresponding relation of default IP address Yu service code version, determines and described code version The destination server that this combination is corresponding;Described destination server is carried out compatibility test.
In preferred version, the combination of described code release includes: described compatibility calls all combinations of service code version in service In one or more.
In preferred version, the combination of described code release is chosen described compatibility according to preset rules and is called service code version in service All combinations in one or more.
In preferred version, the IP address that described basis is preset determines destination server, specifically with the corresponding relation of service code version Including: according to the combination of described code release and described corresponding relation, determine the IP address that the combination of each code release is corresponding, institute The server stating IP address corresponding is defined as destination server.
In preferred version, described test parameter also includes: case script to be measured;Described case script to be measured includes one or many Individual test case.
In preferred version, described destination server is carried out compatibility test, specifically includes: determine institute according to described use-case to be measured State the test path list of destination server, send described case script to be measured according to described test path list and take to described target Business device carries out compatibility test.
In preferred version, described test path list includes one or more server test path.
In preferred version, determine the test path list of described destination server according to described use-case to be measured, including: according to described What test case was corresponding calls the order of service name, determines the order calling described destination server, described invocation target service The order of device is test path.
In preferred version, described compatibility test method also includes: verify IP address legal of the server to be measured of described acquisition Property;Correspondingly, described determine that destination server includes: determine destination server to be measured, root according to described legitimacy check results The destination server in destination server to be measured is determined according to the corresponding relation of default IP address Yu service code version.
In preferred version, the legitimacy of the IP address of the server to be measured of the described acquisition of described verification, including: obtain IP address List, verifies the IP address whether comprising described server to be measured in described IP address list, if comprising, and described service to be measured The IP address of device is legal.
A kind of device for testing compatibility, including: the combination of parameter acquiring unit, code release determines that unit, destination server determine Unit and test cell;Wherein, described parameter acquiring unit, it is used for obtaining test parameter;Described test parameter includes: compatible Property call the title of service and described compatibility calls the code release of service in service;Described test parameter also includes use to be measured Case script;The combination of described code release determines unit, for determining code version according to the test parameter in described parameter acquiring unit This combination;Described destination server determines unit, for obtaining the IP address of server to be measured, according to default IP address with The corresponding relation of service code version, determines the target corresponding with the code release combination that the combination of described code release determines in unit Server;Described test cell, for determining that to described destination server the destination server determined in unit carries out compatible survey Examination.
In preferred version, described destination server determines that unit includes: server ip address acquiring unit to be measured and server determine Unit;Wherein, described server ip acquiring unit to be measured, for obtaining the IP address of server to be measured;Described server is true Cell, single for determining that described server ip to be measured obtains according to the corresponding relation of the IP address preset with service code version Destination server in server to be measured in unit.
In preferred version, described destination server determines that unit also includes IP address validation unit;Described IP address validation unit, For obtaining IP address list, verify server to be measured in described server ip acquiring unit to be measured according to described IP address list The legitimacy of IP address;Correspondingly, described server determines unit, for according to the IP address preset and service code version Corresponding relation determine the destination server in server to be measured legal in described IP address validation unit.
In preferred version, described compatibility test unit includes: test list construction unit and test case send performance element; Wherein, described test list construction unit, for according to described use-case to be measured, determining the test path row of described destination server Table;Described test path list includes one or more server test path;Described test case sends performance element, is used for The test list determined according to described test list construction unit sends described case script to be measured to described destination server and carries out Compatibility test.
The technical scheme provided from above the embodiment of the present application, a kind of compatibility test method disclosed in the embodiment of the present application and Device, calls the title of service according to the described compatibility obtained and described compatibility calls the code release of service in service, Automatic deployment code release combines.According to the corresponding relation of default IP address Yu service code version, can quickly determine out The destination server corresponding with the combination of described code release.Test case according to obtaining can build test list automatically.Therefore, Compatibility test method disclosed in the embodiment of the present application and device need not manual deployment and combine with switch code version, can improve The execution efficiency of compatibility test, will not omit a certain situation calling path simultaneously during can ensure that deployment, thus Improve the accuracy of compatibility test.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or prior art In description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only to remember in the application Some embodiments carried, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the flow chart of one embodiment of the application compatibility test method;
Fig. 2 is the module map of one embodiment of the application device for testing compatibility;
Fig. 3 is the module map that in the application device for testing compatibility embodiment, destination server determines unit;
Fig. 4 is the module map of test cell in the application device for testing compatibility embodiment.
Detailed description of the invention
The embodiment of the present application provides a kind of compatibility test method and device.
For the technical scheme making those skilled in the art be more fully understood that in the application, below in conjunction with in the embodiment of the present application Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only It is some embodiments of the present application rather than whole embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained under not making creative work premise, all should belong to the scope of the application protection.
Fig. 1 is the flow chart of one embodiment of the application compatibility test method.As it is shown in figure 1, described compatibility test method can To include:
S100: obtain test parameter;Described test parameter includes: compatibility calls the title of service and described compatibility is called The code release of service in service.
Device for testing compatibility can obtain test parameter, described test parameter may include that compatibility call the title of service with And described compatibility calls the code release of service in service.
Described compatibility is called the title of service and be can be used to indicate that the title needing to carry out the service of compatibility test.
Such as, a certain software can include servicing A, B, C and D, and described compatibility is called the title of service and be may include that clothes Business A, service B and service D, can represent and need testing service A, service B and the compatibility of service D.
The code release of the described compatibility service of calling in service may be used for stating described compatibility and calls and need test in service The code release included by service.Such as, service A can include that new version of code and early version code, service B can include Early version code.
Described test parameter can also include: the information such as case script to be measured.Described case script to be measured may be used for testing needs The service of test.Described case script to be measured can include one or more test case.
S200: determine that code release combines according to described test parameter.
Device for testing compatibility calls the title of service according to described compatibility and described compatibility calls the generation of service in service Code version, it may be determined that code release combines.
The combination of described code release may include that described compatibility calls the one in service in all combinations of service code version Or it is multiple.The combination of described code release can be chosen described compatibility according to preset rules and call the institute of service code version in service There are one or more in combination, such as, can choose described compatibility according to the information of user preset and call service code in service One or more in all combinations of version.
Such as, described service A includes that new version of code and early version code, described service B include early version code, described service D includes new version of code and early version code.So, the combination of described code release may include that " new A, old B and new D ", " new A, old B and old D ", " old A, old B and new D ", and " old A, old B and old D ".Described code release combines Can also be " new A, old B and new D ".The combination of described code release can be chosen according to preset rules.
S300: obtain the IP address of server to be measured, according to the corresponding relation of default IP address Yu service code version, determines The destination server corresponding with the combination of described code release.
Device for testing compatibility can obtain the IP address of server to be measured.The IP address of described server to be measured can be to set in advance Fixed, it is also possible to it is that user sets.The IP address of described server to be measured can represent the service needing to carry out compatibility test The IP address of device.The IP address of described server to be measured can include the IP address of one or more server.
Described default IP address and the corresponding relation of service code version, may be used for stating the service corresponding to described IP address The version of the service code run on device.The corresponding server of sending out in such as IP address " xxx.xx.xxx.01 " is " server 1 ", institute Stating " server 1 " upper service code run is " fresh code of A service ".
Corresponding relation according to described default IP address Yu service code version may determine that destination server.Specifically, according to The combination of each code release and described corresponding relation in the combination of described code release, it may be determined that the combination of each code release is right The IP address answered, server corresponding to described IP address may determine that as destination server.
Described destination server can correspond to one or more servers of the code combination of described compatibility test, each group Code combination can be to there being one or more destination server.
In another embodiment, described compatibility test method can also include: verifies the IP of the server to be measured of described acquisition The legitimacy of address.Specifically may include that acquisition IP address list, verify whether described IP address list comprises described to be measured The IP address of server, if comprising, the IP address of described server to be measured can be legal.Described IP address list can include The IP address of all available servers.Described IP address list can be obtained by configuration center, and described configuration center can be used IP address in storage Servers-all.
Correspondingly, described determine that destination server may include that the IP rejected in described IP address list with described server to be measured The IP address that address differs, the server corresponding to IP address list after described rejecting can be destination server to be measured, root Corresponding relation according to default IP address Yu service code version, it may be determined that with each in the IP address list after described rejecting The IP address that code release combination is corresponding, server corresponding to described IP address may determine that as destination server.
S400: described destination server is carried out compatibility test.
Device for testing compatibility can carry out compatibility test to described destination server, specifically may include that according to described to be measured Use-case may determine that the test path list of described destination server, can send described use to be measured according to described test path list Case script to described destination server carries out compatibility test.
Described test path list can include one or more server test path.Described server test path may be used for Represent the server that a test case is tested during carrying out a compatibility test successively.
Determine the test path list of described destination server according to described use-case to be measured, may include that according to described test case The corresponding order calling service name, determines the order calling described destination server, the order of described invocation target server It can be test path.
For example, it is assumed that a certain code release is combined as: A early version, B early version and D redaction, combine with described code release Corresponding destination server is as shown in table 1.
Table 1
Destination server title Service release
Server 1 A early version
Server 2 A early version
Server 3 B early version
Server 4 B early version
Server 5 D redaction
Server 6 D redaction
It is assumed that the order calling service name corresponding to a certain test case is followed successively by: service B → service A → service D.
It is possible to determine that the server test path list corresponding with this test case may include that
Test path 1: server 3 → server, 1 → server 5;
Test path 2: server 3 → server, 1 → server 6;
Test path 3: server 3 → server, 2 → server 5;
Test path 4: server 3 → server, 2 → server 5;
Test path 5: server 4 → server, 1 → server 5;
Test path 6: server 4 → server, 1 → server 5;
Test path 2: server 4 → server, 2 → server 5;
Test path 7: server 4 → server, 2 → server 6.
Described test case can be sent according to described test path 1-7 and carry out compatibility test.
Described case script to be measured can pass through the mode extremely described target clothes that ssh (Secure Shell, safety shell protocol) instructs Business device, and perform described case script to be measured.
In another embodiment, described compatibility test method can also include: obtains compatibility test result.
Described compatibility test result can be obtained by third party's instrument.Further, it is also possible to described compatibility test is tied Fruit is analyzed.It is possible to further show described compatibility test result and described analysis result.
Have a kind of compatibility test method disclosed in above-described embodiment, according to obtain described compatibility call service title and Described compatibility calls the code release of service in service, and automatic deployment code release combines.According to default IP address and service The corresponding relation of code release, can quickly determine out the destination server corresponding with the combination of described code release.According to acquisition Test case can automatically build test list.Compatibility test method disclosed in the embodiment of the present application need not manual dispose and Switch code version combines, and can improve the execution efficiency of compatibility test, will not lose during can ensure that deployment simultaneously Leak a certain situation calling path, thus improve the accuracy of compatibility test.
Fig. 2 is the module map of one embodiment of the application device for testing compatibility.As in figure 2 it is shown, described device for testing compatibility can To include: the combination of parameter acquiring unit 100, code release determines that unit 200, destination server determine that unit 300 and test are single Unit 400.Wherein,
Described parameter acquiring unit 100, may be used for obtaining test parameter.Described test parameter may include that compatibility is called The title of service and described compatibility call the code release of service in service.Described test parameter can also include use-case to be measured The information such as script.
The combination of described code release determines unit 200, may be used for according to the test parameter in described parameter acquiring unit 100 true Determine code release combination.
Described destination server determines unit 300, may be used for obtaining the IP address of server to be measured, according to default IP ground Location and the corresponding relation of service code version, determine that the code release combination determining in unit 200 with the combination of described code release is right The destination server answered.
Fig. 3 is the module map that in the application device for testing compatibility embodiment, destination server determines unit.As it is shown on figure 3, institute State destination server and determine that unit 300 may include that server ip address acquiring unit 301 to be measured and server determine unit 302。
Described server ip acquiring unit 301 to be measured, may be used for obtaining the IP address of server to be measured.
Described server determines unit 302, may be used for the corresponding relation according to the IP address preset with service code version and determines Destination server in server to be measured in described server ip acquiring unit 301 to be measured.
In another embodiment, described destination server determines that unit 300 can also include: IP address validation unit 303. Described IP address validation unit 303, may be used for obtaining IP address list, described to be measured according to the checking of described IP address list The legitimacy of server ip address to be measured in server ip acquiring unit 301.
Correspondingly, described server determines unit 302, may be used for the IP address according to presetting corresponding with service code version Relation determines the destination server in server to be measured legal in described IP address validation unit 303.
Described test cell 400, may be used for described destination server determining, the destination server determined in unit 300 is carried out Compatibility test.
Fig. 4 is the module map of test cell in the application device for testing compatibility embodiment.As shown in Figure 4, described test cell 400 may include that test list construction unit 401 and test case send performance element 402.
Described test list construction unit 401, may be used for may determine that the survey of described destination server according to described use-case to be measured Examination path list.Described test path list can include one or more server test path.Described server test path Can be used to indicate that the server that a test case is tested during carrying out a compatibility test successively.
Described test case sends performance element 402, may be used for the test determined according to described test list construction unit 401 List sends described case script to be measured to described destination server and carries out compatibility test.
In another embodiment, described device for testing compatibility can also include: test result unit 500.Described test knot Really unit 500, may be used for obtaining compatibility test result.Further, described test result unit 500 can be also used for right Described compatibility test result is analyzed.Further, described test result unit 500 can be also used for showing described compatibility Property test result and described analysis result.
A kind of device for testing compatibility disclosed in above-described embodiment is corresponding with the compatibility test method embodiment of the application, permissible Realize the application embodiment of the method, reach the technique effect of the application embodiment of the method.
In the nineties in 20th century, can clearly distinguish for the improvement of a technology is that the improvement on hardware is (such as, to two The improvement of the circuit structures such as pole pipe, transistor, switch) or software on improvement (for the improvement of method flow).But, Along with the development of technology, the improvement of current a lot of method flows can be considered as directly improving of hardware circuit.Design Personnel nearly all obtain corresponding hardware circuit by being programmed in hardware circuit by the method flow of improvement.Therefore, no Can say that the improvement of a method flow cannot realize by hardware entities module.Such as, PLD (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, device programming is determined by its logic function by user.By designer Member's programming voluntarily comes a digital display circuit " integrated " on a piece of PLD, without chip maker please designing and make Make special IC chip 2.And, nowadays, replacing and manually make IC chip, this programming changes the most mostly Realize with " logic compiler (logic compiler) " software, software compiler phase used when it is write with program development Similar, and the most handy specific programming language of source code before compiling is write, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL the most not only has one, but have many kinds, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、 Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., that commonly use most is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art also it should also be apparent that, it is only necessary to by method flow with above-mentioned Several hardware description languages are slightly made programming in logic and are programmed in integrated circuit, it is possible to be readily available and realize this logical method stream The hardware circuit of journey.
Controller can be implemented in any suitable manner, such as, controller can take such as microprocessor or processor and Storage can by this (micro-) processor perform computer readable program code (such as software or firmware) computer-readable medium, Gate, switch, special IC (Application Specific Integrated Circuit, ASIC), FPGA Controller and the form of embedding microcontroller, the example of controller includes but not limited to following microcontroller: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, Memory Controller can also quilt It is embodied as a part for the control logic of memorizer.
It is also known in the art that in addition to realizing controller in pure computer readable program code mode, the most permissible Make controller with gate, switch, special IC, FPGA control by method step carries out programming in logic The form of device processed and embedding microcontroller etc. realizes identical function.The most this controller is considered a kind of Hardware Subdivision Part, and the structure in hardware component can also be considered as to include in it for the device realizing various function.Or even, may be used To be considered as the device being used for realizing various function being not only the software module of implementation method but also can be the knot in hardware component Structure.
System, device, module or the unit that above-described embodiment illustrates, specifically can be realized by computer chip or entity, or Realized by the product with certain function.
For convenience of description, it is divided into various unit to be respectively described with function when describing apparatus above.Certainly, the application is being implemented Time the function of each unit can be realized in same or multiple softwares and/or hardware.
As seen through the above description of the embodiments, those skilled in the art it can be understood that to the application can be by soft Part adds the mode of required general hardware platform and realizes.Based on such understanding, the technical scheme of the application is the most in other words The part contributing prior art can embody with the form of software product, and in a typical configuration, calculating sets For including one or more processor (CPU), input/output interface, network interface and internal memory.This computer software product is permissible Including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) is held Each embodiment of row the application or the method described in some part of embodiment.This computer software product can be stored in internal memory In, internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or non-volatile The forms such as property internal memory, such as read only memory (ROM) or flash memory (flash RAM).Internal memory is the example of computer-readable medium.Meter Calculation machine computer-readable recording medium includes that removable media permanent and non-permanent, removable and non-can be realized by any method or technology Information stores.Information can be computer-readable instruction, data structure, the module of program or other data.The storage of computer The example of medium includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic randon access Memorizer (DRAM), other kinds of random access memory (RAM), read only memory (ROM), electrically erasable Read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), numeral Multifunctional optical disk (DVD) or other optical storage, magnetic cassette tape, tape magnetic rigid disk storage other magnetic storage apparatus or appoint What his non-transmission medium, can be used for the information that storage can be accessed by a computing device.According to defining herein, computer can Read medium and do not include of short duration computer readable media (transitory media), such as data signal and the carrier wave of modulation.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and between each embodiment, identical similar part is mutual Seeing, what each embodiment stressed is the difference with other embodiments.Especially for system embodiment Speech, owing to it is substantially similar to embodiment of the method, so describe is fairly simple, relevant part sees the part of embodiment of the method Illustrate.
The application can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, server Computer, handheld device or portable set, laptop device, multicomputer system, system based on microprocessor, top set Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, include any of the above system or equipment Distributed computing environment etc..
The application can be described in the general context of computer executable instructions, such as program module. Usually, program module include perform particular task or realize the routine of particular abstract data type, program, object, assembly, Data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environment, by passing through Communication network and connected remote processing devices performs task.In a distributed computing environment, program module may be located at bag Include storage device in interior local and remote computer-readable storage medium.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have many deformation and a change and Without departing from spirit herein, it is desirable to appended claim includes that these deformation and change are without deviating from spirit herein.

Claims (14)

1. a compatibility test method, it is characterised in that including:
Obtain test parameter;Described test parameter includes: compatibility calls the title of service and described compatibility is called in service The code release of service;
Determine that code release combines according to described test parameter;
Obtain the IP address of server to be measured, according to the corresponding relation of default IP address Yu service code version, determine and institute State the destination server that code release combination is corresponding;
Described destination server is carried out compatibility test.
2. a kind of compatibility test method as claimed in claim 1, it is characterised in that the combination of described code release includes: Described compatibility calls one or more in service in all combinations of service code version.
3. a kind of compatibility test method as claimed in claim 2, it is characterised in that the combination of described code release is according to pre- If rule chooses one or more that described compatibility is called in service in all combinations of service code version.
4. compatibility test method as claimed in claim 1 a kind of, it is characterised in that the IP address that described basis is preset with The corresponding relation of service code version determines destination server, specifically includes: according to the combination of described code release and described corresponding pass System, determines the IP address that the combination of each code release is corresponding, and server corresponding to described IP address is defined as destination server.
5. a kind of compatibility test method as claimed in claim 1, it is characterised in that described test parameter also includes: treat Survey case script;Described case script to be measured includes one or more test case.
6. a kind of compatibility test method as claimed in claim 5, it is characterised in that described destination server is held concurrently Capacitive is tested, and specifically includes: determine the test path list of described destination server according to described use-case to be measured, according to described survey Examination path list sends described case script to be measured to described destination server and carries out compatibility test.
7. a kind of compatibility test method as claimed in claim 6, it is characterised in that described test path list includes Individual or multiple server test paths.
8. a kind of compatibility test method as claimed in claim 7, it is characterised in that determine institute according to described use-case to be measured State the test path list of destination server, including: according to the order calling service name that described test case is corresponding, determine Calling the order of described destination server, the order of described invocation target server is test path.
9. a kind of compatibility test method as claimed in claim 1, it is characterised in that also include: verify described acquisition The legitimacy of the IP address of server to be measured;
Correspondingly, described determine that destination server includes: determine destination server to be measured, root according to described legitimacy check results The destination server in destination server to be measured is determined according to the corresponding relation of default IP address Yu service code version.
10. compatibility test method as claimed in claim 9 a kind of, it is characterised in that the described acquisition of described verification to be measured The legitimacy of the IP address of server, including: obtain IP address list, verify described in whether described IP address list comprises The IP address of server to be measured, if comprising, the IP address of described server to be measured is legal.
11. 1 kinds of device for testing compatibility, it is characterised in that including: parameter acquiring unit, code release combination determine unit, Destination server determines unit and test cell;Wherein,
Described parameter acquiring unit, is used for obtaining test parameter;Described test parameter includes: compatibility call the title of service with And described compatibility calls the code release of service in service;Described test parameter also includes case script to be measured;
The combination of described code release determines unit, for determining code release group according to the test parameter in described parameter acquiring unit Close;
Described destination server determines unit, for obtaining the IP address of server to be measured, according to default IP address and service The corresponding relation of code release, determines the destination service corresponding with the code release combination that the combination of described code release determines in unit Device;
To described destination server, described test cell, for determining that the destination server determined in unit carries out compatibility test.
12. a kind of device for testing compatibility as claimed in claim 11, it is characterised in that described destination server determines list Unit includes: server ip address acquiring unit to be measured and server determine unit;Wherein,
Described server ip acquiring unit to be measured, for obtaining the IP address of server to be measured;
Described server determines unit, for determining described to be measured according to the IP address preset with the corresponding relation of service code version Destination server in server to be measured in server ip acquiring unit.
13. a kind of device for testing compatibility as claimed in claim 12, it is characterised in that described destination server determines list Unit also includes IP address validation unit;
Described IP address validation unit, is used for obtaining IP address list, verifies described service to be measured according to described IP address list The legitimacy of server ip address to be measured in device IP acquiring unit;
Correspondingly, described server determines unit, for determining according to the corresponding relation of the IP address preset with service code version The destination server in server to be measured legal in described IP address validation unit.
14. a kind of device for testing compatibility as claimed in claim 11, it is characterised in that described compatibility test unit bag Include: test list construction unit and test case send performance element;Wherein,
Described test list construction unit, for according to described use-case to be measured, determines the test path list of described destination server; Described test path list includes one or more server test path;
Described test case sends performance element, and the test list for determining according to described test list construction unit sends described Case script to be measured to described destination server carries out compatibility test.
CN201510209914.3A 2015-04-29 2015-04-29 A kind of compatibility test method and device Active CN106201850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510209914.3A CN106201850B (en) 2015-04-29 2015-04-29 A kind of compatibility test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510209914.3A CN106201850B (en) 2015-04-29 2015-04-29 A kind of compatibility test method and device

Publications (2)

Publication Number Publication Date
CN106201850A true CN106201850A (en) 2016-12-07
CN106201850B CN106201850B (en) 2019-07-05

Family

ID=57457485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510209914.3A Active CN106201850B (en) 2015-04-29 2015-04-29 A kind of compatibility test method and device

Country Status (1)

Country Link
CN (1) CN106201850B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329899A (en) * 2017-07-04 2017-11-07 广州云测信息技术有限公司 A kind of application compatibility method of testing and device
CN108984414A (en) * 2018-07-25 2018-12-11 郑州云海信息技术有限公司 A kind of server test method and device
CN111240998A (en) * 2020-02-17 2020-06-05 网易(杭州)网络有限公司 Test case processing method and device
CN111290896A (en) * 2020-02-12 2020-06-16 广州酷狗计算机科技有限公司 Server pressure testing method, device, equipment and medium
CN111459729A (en) * 2020-03-12 2020-07-28 苏州浪潮智能科技有限公司 Server compatibility test analysis method and system
CN111752870A (en) * 2020-05-28 2020-10-09 苏州浪潮智能科技有限公司 Compatible method and system of server interface based on neural network
CN111797009A (en) * 2020-06-22 2020-10-20 北京字节跳动网络技术有限公司 Method and device for detecting code compatibility and electronic equipment
CN112256306A (en) * 2020-11-09 2021-01-22 北京沃东天骏信息技术有限公司 Compatibility verification method and device
CN113176997A (en) * 2021-04-30 2021-07-27 深圳市共进电子股份有限公司 Test case loading method and device, computer equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163804A1 (en) * 2000-02-23 2003-08-28 Wolfgang Burke Method for assuring compatibility and method for securing data within a distributed computer system
CN102708050A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for testing mobile application
CN103970658A (en) * 2014-05-15 2014-08-06 龙芯中科技术有限公司 Method and device for testing compatibility between PMON and kernel versions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163804A1 (en) * 2000-02-23 2003-08-28 Wolfgang Burke Method for assuring compatibility and method for securing data within a distributed computer system
CN102708050A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for testing mobile application
CN103970658A (en) * 2014-05-15 2014-08-06 龙芯中科技术有限公司 Method and device for testing compatibility between PMON and kernel versions

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329899A (en) * 2017-07-04 2017-11-07 广州云测信息技术有限公司 A kind of application compatibility method of testing and device
CN108984414A (en) * 2018-07-25 2018-12-11 郑州云海信息技术有限公司 A kind of server test method and device
CN111290896A (en) * 2020-02-12 2020-06-16 广州酷狗计算机科技有限公司 Server pressure testing method, device, equipment and medium
CN111290896B (en) * 2020-02-12 2024-05-10 广州酷狗计算机科技有限公司 Method, device, equipment and medium for testing server pressure
CN111240998A (en) * 2020-02-17 2020-06-05 网易(杭州)网络有限公司 Test case processing method and device
CN111240998B (en) * 2020-02-17 2024-04-19 网易(杭州)网络有限公司 Test case processing method and device
CN111459729B (en) * 2020-03-12 2023-01-06 苏州浪潮智能科技有限公司 Server compatibility test analysis method and system
CN111459729A (en) * 2020-03-12 2020-07-28 苏州浪潮智能科技有限公司 Server compatibility test analysis method and system
CN111752870A (en) * 2020-05-28 2020-10-09 苏州浪潮智能科技有限公司 Compatible method and system of server interface based on neural network
CN111797009A (en) * 2020-06-22 2020-10-20 北京字节跳动网络技术有限公司 Method and device for detecting code compatibility and electronic equipment
CN112256306A (en) * 2020-11-09 2021-01-22 北京沃东天骏信息技术有限公司 Compatibility verification method and device
CN113176997A (en) * 2021-04-30 2021-07-27 深圳市共进电子股份有限公司 Test case loading method and device, computer equipment and readable storage medium
CN113176997B (en) * 2021-04-30 2024-05-03 深圳市共进电子股份有限公司 Test case loading method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN106201850B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN106201850A (en) A kind of compatibility test method and device
JP7080242B2 (en) Authentication method and blockchain-based authentication data processing method and equipment
US10628276B2 (en) Unit test framework for testing code in a gateway service
CN104391690B (en) A kind of application development system and method
US11650905B2 (en) Testing source code changes
CN106970873A (en) Mock method of testings, apparatus and system on line
CN107122289A (en) The method of system regression test, apparatus and system
US9122801B2 (en) Test planning with order coverage requirements
CN107229559B (en) Detection method and device for testing integrity of service system
CN107196989A (en) A kind of processing method and processing device of service request
CN107391526A (en) A kind of data processing method and equipment based on block chain
CN107329899A (en) A kind of application compatibility method of testing and device
CN108345511A (en) A kind of application data verification method, device and electronic equipment
CN107203465A (en) System interface method of testing and device
CN110443457A (en) Data processing method and device
US20210157716A1 (en) Pre-populating continuous delivery test cases
CN107291623A (en) A kind of applied program testing method and device
US20200143821A1 (en) Protecting sensitive information on stored audio recordings
CN106528067A (en) Method and device for generating report form
CN108320071A (en) A kind of Operational Risk management method, apparatus and equipment
US9703689B2 (en) Defect detection using test cases generated from test models
CN105893224A (en) Resource measurement method and device
CN107450959A (en) A kind of edition data issue, acquisition methods, equipment and device and more new system
CN105991463A (en) Method and system for realizing flow control, message main node, and token server
CN107025259A (en) A kind of deployment method of details page, equipment and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right