CN108153665A - Data test method and device - Google Patents
Data test method and device Download PDFInfo
- Publication number
- CN108153665A CN108153665A CN201611111624.6A CN201611111624A CN108153665A CN 108153665 A CN108153665 A CN 108153665A CN 201611111624 A CN201611111624 A CN 201611111624A CN 108153665 A CN108153665 A CN 108153665A
- Authority
- CN
- China
- Prior art keywords
- testing tool
- test
- test case
- interface
- testing
- 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
- 238000010998 test method Methods 0.000 title claims abstract description 15
- 238000012360 testing method Methods 0.000 claims abstract description 447
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000006243 chemical reaction Methods 0.000 claims description 19
- 238000011056 performance test Methods 0.000 claims description 9
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000003993 interaction Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000007474 system interaction Effects 0.000 description 1
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/3688—Test management for test execution, e.g. scheduling of test suites
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 present invention provides a kind of data test method and devices.The method includes:The first test case of the interface to be measured is built in the first testing tool;First test case is exported from first testing tool;Derived first test case is converted into the second test case for meeting the second testing tool rule;Second test case is imported second testing tool to test, obtains the test result of second testing tool.The technical solution causes when multiple testing tools test same interface to be measured without building corresponding test case in each testing tool, and it need to only be built in a wherein testing tool, so as to get through the data interaction between different testing tools, the test of a variety of disparity items is carried out to same interface convenient for user.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of data test method and device.
Background technology
Jmeter is the pressure test tool based on Java of Apache organization developments, and it is static and dynamic to can be used for test
State resource such as static file, Java servlet, CGI scripting, Java object, database, ftp server etc..It can
For to server, network or simulating it is heavy load come test they intensity or analysis different pressures type under
Overall performance is a kind of performance testing tool.Postman is as a kind of interface testing tool, mainly for detection of external system
Interaction point between system and between internal subsystems.
In practical applications, user carrys out the performance run state of test data usually using Jmeter testing tools, uses
Postman testing tools carry out interface testing.Therefore, when user is carried out at the same time interface testing and performance test to a certain interface
When, then it needs to use Jmeter testing tools and Postman testing tools respectively, that is, user is needed respectively in Jmeter testing tools
With the test case that data to be tested are write in Postman testing tools, this is inconvenient for user.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State the data test method and device of problem.
One side according to the present invention provides a kind of data test method, applied to using different testing tools
Same interface to be measured is tested, the method includes:
The first test case of the interface to be measured is built in the first testing tool;
First test case is exported from first testing tool;
Derived first test case is converted into the second test case for meeting the second testing tool rule;
Second test case is imported second testing tool to test, obtains second testing tool
Test result.
Optionally, derived first test case is converted into the second test use for meeting the second testing tool rule
Example, including:
It is determined for compliance with the predetermined format of the test case of the second testing tool rule;
First test case is converted into the test case for meeting the predetermined format, second test is obtained and uses
Example.
Optionally, first test case is converted into the test case for meeting the predetermined format, including:
Obtain each field of first test case;
Each field is assembled according to the predetermined format.
Optionally, first testing tool tests the different item of the interface to be measured with second testing tool respectively
Mesh, the project include interface testing and/or performance test.
Optionally, first testing tool is interface testing tool Postman, and second testing tool is surveyed for performance
Trial work has Jmeter.
Optionally, when second testing tool is performance testing tool Jmeter, the predetermined format is expansible
Markup language xml forms.
Optionally, after the first test case that the interface to be measured is built in the first testing tool, the method is also
Including:
The interface to be measured is tested using first testing tool, obtains the test of first testing tool
As a result.
Other side according to the present invention provides a kind of data test device, applied to using different test works
Tool tests same interface to be measured, including:
Module is built, suitable for building the first test case of the interface to be measured in the first testing tool;
Export module, suitable for exporting first test case from first testing tool;
Conversion module, suitable for derived first test case to be converted into meet the second testing tool rule second
Test case;
First test module is tested suitable for second test case is imported second testing tool, is obtained
The test result of second testing tool.
Optionally, the conversion module includes:
Determination unit is adapted to determine that the predetermined format for the test case for meeting the second testing tool rule;
Conversion unit suitable for first test case to be converted into the test case for meeting the predetermined format, obtains
Second test case.
Optionally, the conversion unit, suitable for obtaining each field of first test case;According to the predetermined format
Each field is assembled.
Optionally, first testing tool tests the different item of the interface to be measured with second testing tool respectively
Mesh, the project include interface testing and/or performance test.
Optionally, first testing tool is interface testing tool Postman, and second testing tool is surveyed for performance
Trial work has Jmeter.
Optionally, when second testing tool is performance testing tool Jmeter, the predetermined format is expansible
Markup language xml forms.
Optionally, described device further includes:
Second test module, suitable for being tested using first testing tool the interface to be measured, described in acquisition
The test result of first testing tool.
Using technical solution provided in an embodiment of the present invention, same interface to be measured is tested using different testing tools
When, the test case of interface to be measured is only built in the first testing tool, and export the test case, by by derived test
Use-case, which is converted into, meets the test case of the second testing tool rule to complete the test of the second testing tool so that multiple tests
Without building corresponding test case in each testing tool when tool tests same interface to be measured, and only need wherein one
In a testing tool build, so as to get through the data interaction between different testing tools, convenient for user to same interface into
The test of a variety of disparity items of row.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter
The above and other objects, advantages and features of the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of schematic flow chart of data test method according to an embodiment of the invention;
Fig. 2 is the schematic flow chart according to a kind of data test method of a specific embodiment of the invention;
Fig. 3 is a kind of schematic block diagram of data test device according to an embodiment of the invention;
Fig. 4 is a kind of schematic block diagram of data test device in accordance with another embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 is a kind of schematic flow chart of data test method according to an embodiment of the invention.As shown in Figure 1,
The data test method may include step S101-S104 in general manner:
Step S101 builds the first test case of interface to be measured in the first testing tool.
Step S102 exports the first test case from the first testing tool.
When performing step S102, the first test case is exported using the export tool carried in the first testing tool.
Derived first test case is converted into the second test use for meeting the second testing tool rule by step S103
Example.
Second test case is imported the second testing tool and tested, obtains the survey of the second testing tool by step S104
Test result.
The embodiment tests the situation of same interface to be measured mainly for different testing tools, wherein, the first testing tool
Test the disparity items of interface to be measured respectively with the second testing tool, the project of test can be in interface testing, performance test
At least one, can also be sundry item test.For example, the first testing tool is interface testing tool (such as Postman), i.e.,
The interface function of interface to be measured is tested, the second testing tool is performance testing tool (such as Jmeter), that is, tests interface to be measured
Performance run state.
Using technical solution provided in an embodiment of the present invention, same interface to be measured is tested using different testing tools
When, the test case of interface to be measured is only built in the first testing tool, and export the test case, by by derived test
Use-case, which is converted into, meets the test case of the second testing tool rule to complete the test of the second testing tool so that multiple tests
Without building corresponding test case in each testing tool when tool tests same interface to be measured, and only need wherein one
In a testing tool build, so as to get through the data interaction between different testing tools, convenient for user to same interface into
The test of a variety of disparity items of row.
In one embodiment, when performing step S103, it can first determine that the test for meeting the second testing tool rule is used
The predetermined format of example;Then first test case is converted into the test case for meeting predetermined format again, obtain the second test use
Example.Under normal conditions, the form for the test case that different testing tools are supported is different, and the first testing tool is supported
The form of test case can not directly be run in the second testing tool, this just needs to lead by stylistic be converted
The test case gone out can be identified by the second testing tool.In the embodiment, for the difference of test event, predetermined format can
Can be different, therefore, the test case of the second testing tool rule need to be determined for compliance with before conversion test case every time
Predetermined format, to ensure that the second test case being converted to can be identified by the second testing tool.For example, when the second test work
When having for performance testing tool Jmeter, predetermined format is then extensible markup language xml forms.
It, can be in the following manner by after the predetermined format of test case of the second testing tool rule is determined for compliance with
One test case is converted into the test case for meeting predetermined format:First, each field of the first test case is obtained, such as is obtained
Url field, parameter field of first test case etc.;Secondly, each field of the first test case is parsed;Finally, it presses
Each field parsed is assembled according to predetermined format.For example, the second test case is performance testing tool Jmeter, accordingly
Predetermined format for extensible markup language xml forms, then when the first test case being converted to the second test case, obtain first
It takes each field of the first test case and parses, then each field is assembled according to xml forms, obtain meeting xml forms
The second test case.
It, can be straight after the first test case of interface to be measured is built in the first testing tool in any of the above-described embodiment
It connects and interface to be measured is tested using the first testing tool, and the second testing tool is imported in the second test case being converted to
Later, interface to be measured is tested using the second testing tool.It is surveyed alternatively, importing second in the second test case being converted to
After trial work tool, while using the test of the first testing tool and the second testing tool to interface to be measured progress disparity items, no
Testing sequence with project does not limit herein.
Illustrate data test method provided by the invention below according to a specific embodiment.
Fig. 2 is the schematic flow chart according to a kind of data test method of a specific embodiment of the invention.It is specific at this
In embodiment, the interface function and performance run state of interface to be measured are tested respectively using two different testing tools.Wherein,
First testing tool is interface testing tool Postman, and the second testing tool is performance testing tool Jmeter, meets Jmeter
The predetermined format of the test case of rule is extensible markup language xml forms.As shown in Fig. 2, the data test method includes
Following steps S201-S205:
Step S201 builds the first test case of interface to be measured in testing tool Postman.
Step S202 tests interface to be measured using Postman, obtains the performance test results.
Step S203 exports the first test case from Postman.Export (exporting) is come in Postman
Function, we can be exported the first test case by clicking the corresponding button of export functions from Postman, and derived
The form of one test case is json (JavaScript Object Notation, JavaScript object representation) form,
And the first test case of json forms can not directly be run in testing tool Jmeter.
Derived first test case is converted into the second test case of xml forms by step S204.It specifically, can be first
Each field of the first test case is obtained, each field of the first test case is then assembled according to xml forms, you can is realized the
One test case is converted into the purpose of the second test case of xml forms.
Second test case is imported in testing tool Jmeter and tested by step S205, obtains interface testing result.
In the embodiment, step S202 can be immediately performed after step S201 execution, can also be performed together with step S205,
Its execution sequence does not limit.
Using technical solution provided in an embodiment of the present invention, different testing tool (Postman and Jmeter) is being used
When testing same interface to be measured, it is only necessary to the test case of interface to be measured is built in testing tool Postman, and exports the test
Use-case meets the test case of Jmeter rules and completes testing tool Jmeter's by the way that derived test case is converted into
Test so that used when multiple testing tools test same interface to be measured without building corresponding test in each testing tool
Example, and need to only be built in a wherein testing tool, so as to get through the data interaction between different testing tools, it is convenient for
User carries out same interface the test of a variety of disparity items.
It should be noted that the present invention is not limited to when being tested using multiple testing tools interface to be measured
Wherein test case is built in which testing tool.For example, in embodiment shown in Fig. 2, it can also be in testing tool Jmeter
First test case of middle structure interface to be measured, then exports the first test case, and be converted into and meet test from Jmeter
Second test case of tool Postman rules retells in the second test case importing Postman and is tested.As it can be seen that in profit
When being tested with multiple testing tools interface to be measured, only test case need to be built, and obtain in wherein any testing tool
Get the pre-defined rule for the test case for meeting other testing tools, you can realized using the above method and test interface difference to be measured
The purpose of project.
Fig. 3 is a kind of schematic block diagram of data test device according to an embodiment of the invention.The data test fills
It puts and tests same interface to be measured applied to using different testing tools, as shown in figure 3, the device includes:
Module 310 is built, suitable for building the first test case of interface to be measured in the first testing tool;
Export module 320 is coupled with structure module 310, suitable for exporting the first test case from the first testing tool;
Conversion module 330 is coupled with export module 320, meets suitable for derived first test case is converted into
Second test case of two testing tools rule;
First test module 340, is coupled with conversion module 330, suitable for the second test case is imported the second test work
Tool is tested, and obtains the test result of the second testing tool.
In one embodiment, conversion module 330 includes:
Determination unit is adapted to determine that the predetermined format for the test case for meeting the second testing tool rule;
Conversion unit suitable for the first test case to be converted into the test case for meeting predetermined format, obtains the second test
Use-case.
In one embodiment, the conversion unit in conversion module 330 is further adapted for obtaining each word of the first test case
Section;Each field is assembled according to predetermined format.
In one embodiment, the first testing tool and the second testing tool test the disparity items of interface to be measured respectively,
Project includes interface testing and/or performance test.
In one embodiment, the first testing tool is interface testing tool Postman, and the second testing tool is surveyed for performance
Trial work has Jmeter.
In one embodiment, when the second testing tool is performance testing tool Jmeter, predetermined format is expansible
Markup language xml forms.
In one embodiment, as shown in figure 4, above device further includes:
Second test module 350, with structure module 310 be coupled, suitable for using the first testing tool to interface to be measured into
Row test obtains the test result of the first testing tool.
Using device provided in an embodiment of the present invention, when different testing tools is used to test same interfaces to be measured, only
The test case of interface to be measured is built in the first testing tool, and exports the test case, by by derived test case
It is converted into and meets the test case of the second testing tool rule to complete the test of the second testing tool so that multiple testing tools
Without building corresponding test case in each testing tool when testing same interface to be measured, and only need a survey wherein
It builds in trial work tool, so as to get through the data interaction between different testing tools, same interface is carried out convenient for user more
The test of kind disparity items.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of arbitrary
It mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) come realize in data test device according to embodiments of the present invention some or
The some or all functions of person's whole component.The present invention is also implemented as perform method as described herein one
Divide either whole equipment or program of device (for example, computer program and computer program product).Such this hair of realization
Bright program can may be stored on the computer-readable medium or can have the form of one or more signal.It is such
Signal can be downloaded from internet website to be obtained either providing on carrier signal or providing in the form of any other.
It should be noted that the present invention will be described rather than limits the invention, and ability for above-described embodiment
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and run after fame
Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention
Example property embodiment, still, without departing from the spirit and scope of the present invention, still can according to the present disclosure directly
Determine or derive many other variations or modifications consistent with the principles of the invention.Therefore, the scope of the present invention is understood that and recognizes
It is set to and covers other all these variations or modifications.
An embodiment of the present invention provides a kind of a kind of data test methods of A1., are surveyed applied to different testing tools is used
Same interface to be measured is tried, the method includes:
The first test case of the interface to be measured is built in the first testing tool;
First test case is exported from first testing tool;
Derived first test case is converted into the second test case for meeting the second testing tool rule;
Second test case is imported second testing tool to test, obtains second testing tool
Test result.
A2. the method according to A1, wherein, derived first test case is converted into and meets the second test work
Have the second test case of rule, including:
It is determined for compliance with the predetermined format of the test case of the second testing tool rule;
First test case is converted into the test case for meeting the predetermined format, second test is obtained and uses
Example.
A3. the method according to A2, wherein, first test case is converted into the survey for meeting the predetermined format
Example on probation, including:
Obtain each field of first test case;
Each field is assembled according to the predetermined format.
A4. the method according to A2 or A3, wherein, first testing tool is surveyed respectively with second testing tool
The disparity items of the interface to be measured is tried, the project includes interface testing and/or performance test.
A5. the method according to A4, wherein, first testing tool is interface testing tool Postman, described the
Two testing tools are performance testing tool Jmeter.
A6. the method according to A5, wherein, when second testing tool is performance testing tool Jmeter, institute
Predetermined format is stated as extensible markup language xml forms.
A7. the method according to any one of A1-A6, wherein, the interface to be measured is built in the first testing tool
The first test case after, the method further includes:
The interface to be measured is tested using first testing tool, obtains the test of first testing tool
As a result.
The embodiment of the present invention additionally provides a kind of a kind of data test devices of B8., applied to using different testing tools
Same interface to be measured is tested, including:
Module is built, suitable for building the first test case of the interface to be measured in the first testing tool;
Export module, suitable for exporting first test case from first testing tool;
Conversion module, suitable for derived first test case to be converted into meet the second testing tool rule second
Test case;
First test module is tested suitable for second test case is imported second testing tool, is obtained
The test result of second testing tool.
B9. the device according to B8, wherein, the conversion module includes:
Determination unit is adapted to determine that the predetermined format for the test case for meeting the second testing tool rule;
Conversion unit suitable for first test case to be converted into the test case for meeting the predetermined format, obtains
Second test case.
B10. the device according to B9, wherein, the conversion unit, suitable for obtaining each word of first test case
Section;Each field is assembled according to the predetermined format.
B11. the device according to B9 or B10, wherein, first testing tool is distinguished with second testing tool
The disparity items of the interface to be measured is tested, the project includes interface testing and/or performance test.
B12. the device according to B11, wherein, first testing tool is interface testing tool Postman, described
Second testing tool is performance testing tool Jmeter.
B13. the device according to B12, wherein, when second testing tool is performance testing tool Jmeter,
The predetermined format is extensible markup language xml forms.
B14. the device according to any one of B8-B13, wherein, described device further includes:
Second test module, suitable for being tested using first testing tool the interface to be measured, described in acquisition
The test result of first testing tool.
Claims (10)
1. a kind of data test method, applied to different testing tools is used to test same interface to be measured, the method includes:
The first test case of the interface to be measured is built in the first testing tool;
First test case is exported from first testing tool;
Derived first test case is converted into the second test case for meeting the second testing tool rule;
Second test case is imported second testing tool to test, obtains the test of second testing tool
As a result.
2. according to the method described in claim 1, wherein, derived first test case is converted into and meets the second test
Second test case of tool rule, including:
It is determined for compliance with the predetermined format of the test case of the second testing tool rule;
First test case is converted into the test case for meeting the predetermined format, obtains second test case.
3. according to the method described in claim 2, wherein, first test case is converted into and meets the predetermined format
Test case, including:
Obtain each field of first test case;
Each field is assembled according to the predetermined format.
4. according to the method in claim 2 or 3, wherein, first testing tool is distinguished with second testing tool
The disparity items of the interface to be measured is tested, the project includes interface testing and/or performance test.
5. according to the method described in claim 4, wherein, first testing tool is interface testing tool Postman, described
Second testing tool is performance testing tool Jmeter.
6. according to the method described in claim 5, wherein, when second testing tool is performance testing tool Jmeter,
The predetermined format is extensible markup language xml forms.
7. according to the method described in any one of claim 1-6, wherein, the interface to be measured is built in the first testing tool
The first test case after, the method further includes:
The interface to be measured is tested using first testing tool, obtains the test knot of first testing tool
Fruit.
8. a kind of data test device, applied to different testing tools is used to test same interface to be measured, including:
Module is built, suitable for building the first test case of the interface to be measured in the first testing tool;
Export module, suitable for exporting first test case from first testing tool;
Conversion module, suitable for derived first test case to be converted into the second test for meeting the second testing tool rule
Use-case;
First test module is tested suitable for second test case is imported second testing tool, described in acquisition
The test result of second testing tool.
9. device according to claim 8, wherein, the conversion module includes:
Determination unit is adapted to determine that the predetermined format for the test case for meeting the second testing tool rule;
Conversion unit suitable for first test case to be converted into the test case for meeting the predetermined format, obtains described
Second test case.
10. device according to claim 9, wherein, the conversion unit, suitable for obtaining each of first test case
Field;Each field is assembled according to the predetermined format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611111624.6A CN108153665A (en) | 2016-12-02 | 2016-12-02 | Data test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611111624.6A CN108153665A (en) | 2016-12-02 | 2016-12-02 | Data test method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108153665A true CN108153665A (en) | 2018-06-12 |
Family
ID=62468598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611111624.6A Pending CN108153665A (en) | 2016-12-02 | 2016-12-02 | Data test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108153665A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109522216A (en) * | 2018-10-15 | 2019-03-26 | 杭州安恒信息技术股份有限公司 | Team's interface exploitation cooperative system and method based on API testing tool export data |
CN117421253A (en) * | 2023-12-19 | 2024-01-19 | 深圳市智慧城市科技发展集团有限公司 | Interface security test method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526917A (en) * | 2009-04-22 | 2009-09-09 | 南京大学 | Method for reproducing test scripts based on data drive |
CN102495789A (en) * | 2011-10-18 | 2012-06-13 | 瑞斯康达科技发展股份有限公司 | Automatic test method and device for the same |
US20140181590A1 (en) * | 2012-12-20 | 2014-06-26 | Sap Ag | Automated end-to-end testing via multiple test tools |
CN104932974A (en) * | 2015-05-28 | 2015-09-23 | 国家计算机网络与信息安全管理中心 | Script conversion method and script conversion device |
CN105335278A (en) * | 2014-06-16 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Testing method and device |
CN105893245A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and apparatus for shielding running difference of different testing tools |
CN106126411A (en) * | 2016-06-13 | 2016-11-16 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus that tested program code is tested |
-
2016
- 2016-12-02 CN CN201611111624.6A patent/CN108153665A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526917A (en) * | 2009-04-22 | 2009-09-09 | 南京大学 | Method for reproducing test scripts based on data drive |
CN102495789A (en) * | 2011-10-18 | 2012-06-13 | 瑞斯康达科技发展股份有限公司 | Automatic test method and device for the same |
US20140181590A1 (en) * | 2012-12-20 | 2014-06-26 | Sap Ag | Automated end-to-end testing via multiple test tools |
CN105335278A (en) * | 2014-06-16 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Testing method and device |
CN104932974A (en) * | 2015-05-28 | 2015-09-23 | 国家计算机网络与信息安全管理中心 | Script conversion method and script conversion device |
CN105893245A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and apparatus for shielding running difference of different testing tools |
CN106126411A (en) * | 2016-06-13 | 2016-11-16 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus that tested program code is tested |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109522216A (en) * | 2018-10-15 | 2019-03-26 | 杭州安恒信息技术股份有限公司 | Team's interface exploitation cooperative system and method based on API testing tool export data |
CN117421253A (en) * | 2023-12-19 | 2024-01-19 | 深圳市智慧城市科技发展集团有限公司 | Interface security test method, device, equipment and storage medium |
CN117421253B (en) * | 2023-12-19 | 2024-04-02 | 深圳市智慧城市科技发展集团有限公司 | Interface security test method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9507374B1 (en) | Selecting most compatible synchronization strategy to synchronize data streams generated by two devices | |
CN109388566A (en) | A kind of code coverage rate analysis method, apparatus, equipment and storage medium | |
AU2015218520B2 (en) | Service extraction and application composition | |
CN107704386B (en) | Unit testing method and device of business process, computer equipment and storage medium | |
CN105589805B (en) | Method and device for generating code coverage rate report | |
US20160085662A1 (en) | Web portal api test report generation | |
CN104050286B (en) | Method and device for providing search result integration | |
CN105426309B (en) | Automatic example generation method and device | |
CN110221968A (en) | Method for testing software and Related product | |
CN109783388A (en) | UI automated testing method, device and electronic equipment | |
US20150135164A1 (en) | Integrated Software Testing Management | |
CN104036003B (en) | search result integration method and device | |
CN110019116B (en) | Data tracing method, device, data processing equipment and computer storage medium | |
CN104063310B (en) | WEB front-end quality determining method and device | |
US20150286555A1 (en) | System and method for converting the business processes to test-centric activity diagrams | |
US11816479B2 (en) | System and method for implementing a code audit tool | |
CN104836779B (en) | XSS leak detection method, system and Web server | |
CN105630671A (en) | Code coverage rate report generation method and device | |
CN108153665A (en) | Data test method and device | |
CN109739492B (en) | Method, terminal, equipment and medium for generating script code | |
CN107608878A (en) | A kind of Web automated testing methods and device | |
CN103955425A (en) | Webpage (WEB) exploring testing device and method | |
CN117370203A (en) | Automatic test method, system, electronic equipment and storage medium | |
CN107885965B (en) | Data exploration discovery method, system, electronic equipment and storage medium | |
CN109074411B (en) | Method and system for evaluating electronic components |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180612 |
|
RJ01 | Rejection of invention patent application after publication |