CN108446221A - System detection method, device, computer equipment and storage medium - Google Patents
System detection method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN108446221A CN108446221A CN201810180101.XA CN201810180101A CN108446221A CN 108446221 A CN108446221 A CN 108446221A CN 201810180101 A CN201810180101 A CN 201810180101A CN 108446221 A CN108446221 A CN 108446221A
- Authority
- CN
- China
- Prior art keywords
- interface
- test
- value
- case
- ginseng
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3676—Test management for coverage analysis
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
This application involves a kind of system detection method, device, computer equipment and storage mediums.The method includes:The functional test received for examining system instructs, and functional test instruction carries starting point interface identifier and terminal interface identifier;Test path figure corresponding with examining system is obtained, the test path for including starting point interface identifier and terminal interface identifier is searched from test path figure;Obtain the node interface mark between starting point interface identifier and terminal interface identifier in test path;The corresponding first interface test cases of starting point interface identifier, the corresponding second interface test cases of node interface mark and the corresponding third interface testing case of terminal interface identifier are searched, first interface test cases, second interface test cases and third interface testing case are subjected to assembling systematic function test cases;Execute functional test case.The testing efficiency of system testing can be improved using this method.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of system detection method, device, computer equipment and
Storage medium.
Background technology
System server usually provides various services by interface for external system, in order to ensure that system can carry for outside
For normal service, need periodically to test system server.Test job is primarily to detecting system and external system
Between data interaction, transmission and control management, realization of business function etc. it is whether normal.When carrying out system testing, need
Write a large amount of test cases.Currently, the work that creates of a large amount of test cases is substantially to be needed by hand-coding or modification
A large amount of manpower and time are spent, causes the efficiency of system testing very low.
Invention content
Based on this, it is necessary in view of the above technical problems, provide a kind of system that can effectively improve system testing efficiency
Test method, device, computer equipment and storage medium.
A kind of system detection method, the method includes:
The functional test received for examining system instructs, and the functional test instruction carries starting point interface identifier and end
Point interface identifies;
Test path figure corresponding with the examining system is obtained, it includes the starting point to be searched from the test path figure
The test path of interface identifier and the terminal interface identifier;
The node in the test path between the starting point interface identifier and the terminal interface identifier is obtained to connect
Mouth mark;
Search the corresponding first interface test cases of the starting point interface identifier, node interface mark corresponding second
Interface testing case and the corresponding third interface testing case of the terminal interface identifier, by the first interface test cases,
The second interface test cases and the third interface testing case carry out assembling systematic function test cases;
Execute the functional test case.
Further include in one of the embodiments,:
Receiving interface test instruction, the interface testing instruction carry test interface mark;
Search test interface mark it is corresponding enter ginseng and test mode value;
Enter ginseng described in acquisition enters to join value, and from it is described enter ginseng enter to join and extracted in value into ginseng test value;
Enter to join test value and the test mode value and carry out permutation and combination and obtain test data set by described;
Corresponding with test interface mark preset interface case template is obtained, by the test data set and described pre-
If interface case template, which is combined, generates interface testing case set.
In one of the embodiments, it is described from it is described enter ginseng enter to join and extracted in value into ginseng test value, including:
Enter the value type for entering to join value of ginseng and default value quantity described in acquisition;
When the value type is numberical range, according to it is described enter ginseng enter to join value and the default value quantity meter
Value step-length is calculated, is extracted into ginseng test value from the numberical range according to the value step-length;
When the value type is data type, generated at random into ginseng test value according to the default value quantity.
It is described in one of the embodiments, to search the corresponding first interface test cases of the starting point interface identifier, institute
It states node interface and identifies corresponding second interface test cases and the corresponding third interface testing case of the terminal interface identifier,
The first interface test cases, the second interface test cases and the third interface testing case are subjected to assembling generation
Functional test case, including:
It is corresponding to search the corresponding first interface test cases set of the starting point interface identifier, node interface mark
Second interface test cases set and the corresponding third interface testing case set of the terminal interface identifier;
By interface testing case and the second interface test cases set in the first interface test cases set
In interface testing case, interface testing case in the third test cases set carries out permutation and combination and obtains functional test
Case set.
It is described in one of the embodiments, to be combined the test data set and the preset interface case template
After generating interface testing case set, including:
Execute the interface testing case in the interface testing case set;
Check-in ginseng to be checked and check-in ginseng value to be checked are extracted from the interface testing case;
The interface IP address for obtaining the interface testing case corresponding interface extracts the filename conduct in the interface IP address
Table name to be tested;
Test mode verification is generated according to check-in ginseng, the check-in ginseng value to be checked and the table name to be tested to be checked to refer to
It enables, test mode verification instruction is sent to the corresponding server of the corresponding interface;
Receive the test mode verification result corresponding with test mode verification instruction that the server returns.
The execution functional test case in one of the embodiments, including:
The functional test case is detected with the presence or absence of making several marks;
When detecting that making number identifies, parameter identification is generated;
The parameter identification is marked on intermediate parameters, the intermediate parameters are in the functional test case implementation procedure
Middle generation.
A kind of opening machine system test device, described device include:
Function command receiving module, for receiving the functional test instruction for examining system, the test instruction carries
There are starting point interface identifier and terminal interface identifier;
Path searching module, for obtaining test path figure corresponding with the examining system, from the test path figure
Middle lookup includes the test path of the starting point interface identifier and the terminal interface identifier;
Node interface acquisition module is located at the starting point interface identifier and the terminal for obtaining in the test path
Node interface mark between interface identifier;
Function case generation module, for searching the corresponding first interface test cases of the starting point interface identifier, described
Node interface identifies corresponding second interface test cases and the corresponding third interface testing case of the terminal interface identifier, will
The first interface test cases, the second interface test cases and the third interface testing case carry out assembling and generate work(
It can test cases;
Function case execution module, for executing the functional test case.
Described device further includes in one of the embodiments,:
Interface instruction receiving module, for receiving interface test instruction, the interface testing instruction carries test interface
Mark;
Parameter searching module, for search test interface mark it is corresponding enter ginseng and test mode value;
Test value extraction module, for obtain it is described enter ginseng enter to join value, and from it is described enter ginseng enter to join in value and carry
It is taken into ginseng test value;
Data group obtains module, for entering to join test value and the test mode value and carry out permutation and combination and surveyed by described
Try data group;
Casebook closes generation module, will for obtaining preset interface case template corresponding with test interface mark
The test data set and the preset interface case template, which are combined, generates interface testing case set.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
The step of device realizes the above method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of above method is realized when row.
Above system test method, device, computer equipment and storage medium, by the way that test path figure is arranged in advance,
When carrying out functional test, after to be tested point interface and terminal interface are thought in acquisition, found simultaneously from test path figure
Including playing the test path of point interface and terminal interface, the node interface in test path is obtained, by respectively connecing on test path
The corresponding test cases of mouth is assembled, you can is automatically generated multiple functional test cases corresponding with test path, is improved
The efficiency of case creation, and the coverage rate that test improves functional test is carried out according to a plurality of test path.
Description of the drawings
Fig. 1 is the application scenario diagram of system detection method in one embodiment;
Fig. 2 is the flow diagram of system detection method in one embodiment;
Fig. 3 is the schematic diagram of the test path figure in one embodiment;
Fig. 4 is the flow diagram of the interface testing step of system in one embodiment;
Fig. 5 is the structure diagram that system surveys device in one embodiment;
Fig. 6 is the internal structure chart of one embodiment Computer equipment.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
System detection method provided by the present application can be applied in application environment as shown in Figure 1.Wherein, test is whole
End is communicated by network with system server.It tests terminal and receives the functional test instruction for being directed to examining system, from function
Starting point interface identifier and terminal interface identifier are obtained in test instruction, test terminal obtains test path corresponding with examining system
Figure searches the test path for including starting point interface identifier and terminal interface identifier from test path figure, obtains in test path
Intermediate node interface node interface mark, and search starting point interface identifier, intermediate node interface mark and terminal respectively
The interface testing case of lookup is carried out assembling systematic function test cases, will given birth to by the corresponding interface testing case of interface identifier
At functional test case be sent to system server so that system server execute functional test case.Wherein, terminal is tested
Can be, but not limited to be the equipment such as various personal computers, laptop, system server can with independent server or
Person is the server cluster of multiple server compositions to realize.
In one embodiment, as shown in Fig. 2, providing a kind of system detection method, it is applied in Fig. 1 in this way
It illustrates, includes the following steps for test terminal:
Step 210, the functional test received for examining system instructs, and functional test instruction carries starting point interface identifier
With terminal interface identifier.
It tests terminal and receives the functional test instruction for being directed to examining system, functional test is instructed for the work(to examining system
It can be tested.Tester can operate in the display interface of test terminal, select function that needs to be tested
The mark for playing point interface and terminal interface, the functional test that response is generated according to the operation of tester instruct.Test terminal
The functional test instruction that remote equipment is sent can be received, tester can carry out system testing with remote operation.
The relevant information of starting point interface identifier, terminal interface identifier and examining system is carried in functional test instruction,
The system banner of such as examining system.Interface identifier is used to carry out unique mark to interface, and interface identifier can be interface function
Abbreviation, such as " registration ", " login ", " information modification ", " exiting ".Play the starting function point that point interface refers to test function
Corresponding interface, terminal interface refer to the corresponding interface of end functions point of test function.
Step 220, test path figure corresponding with examining system is obtained, the point interface from lookup in test path figure includes
The test path of mark and terminal interface identifier.
The information that terminal obtains examining system from functional test instruction is tested, for example, test terminal obtains examining system
System banner.It tests terminal and searches test path figure corresponding with system banner.Test path figure is painted by tester in advance
It makes and stores, the functional functional test path of institute in examining system is contained in test path figure, it may in test path figure
Including a plurality of functional test path, every test path is to be connected to be formed according to the flow direction of interface data by multiple interfaces.Every
Include the interface identifier of multiple interfaces in test path, each interface is equivalent to a function point, between different test paths
There may be the interface of juxtaposition, therefore, two different interface identifier may collectively reside on a plurality of test path.
Test terminal searches while including all test paths of starting point interface identifier and terminal interface identifier from test path figure.
Step 230, the node interface mark in test path between starting point interface identifier and terminal interface identifier is obtained
Know.
After test terminal finds test path, starting point interface identifier and terminal interface mark in every test path are obtained
The node interface of intermediate node interface between knowledge identifies, and the quantity of node interface mark can be one or more.
Step 240, the corresponding first interface test cases of starting point interface identifier, node interface mark corresponding second are searched
Interface testing case and the corresponding third interface testing case of terminal interface identifier, by first interface test cases, second interface
Test cases and third interface testing case carry out assembling systematic function test cases.
Test terminal searches the corresponding first interface test cases of the starting interface identifier in each test path, node respectively
The corresponding second interface test cases of interface identifier and the corresponding third interface testing case of terminal interface identifier, wherein the
One, second is to, to distinguish, have no other special meanings to the corresponding interface testing case of distinct interface with third.Due to
The quantity of node interface may be multiple, and the quantity of corresponding second interface test cases is also likely to be multiple.Each interface
Interface testing case be write in advance and it is corresponding with interface identifier storage.Terminal is tested by the interface of the total interface found
Test cases carries out assembling systematic function test cases according to the interface arrangement sequence in test path.
Step 250, functional test case is executed.
The functional test case of generation is sent to the corresponding system server of examining system by test terminal, by system service
Device executes functional test case.Specifically, test terminal can obtain system banner, lookup and system from functional test instruction
Corresponding system server is identified, the functional test case of generation is sent to corresponding system server.
It is illustrated below with a specific test case.Referring to Fig. 3, the part that Fig. 3 is an examining system is surveyed
Try path profile, wherein A, B, C, D in figure, registration, log in, exit, modification information and to submit the nodes such as information be that test connects
The interface identifier of mouth.If starting point interface identifier is " registration ", terminal interface identifier is " exiting ", then tests what terminal was found
Including the test path of " registration " and " exiting " shares two, it is " A → registration → is logged in → exited ", and " " A → note respectively
Volume → login → modification information → submission information → is exited ".Test terminal, which is obtained respectively in two test paths, is located at " registration "
Node interface between interface and " exiting " interface, and search " registration " interface, " exiting " interface and node interface respectively and correspond to
Interface testing case, by the interface testing case found according to the sequence of above-mentioned two test paths carry out assembling generate two
Two functional test cases of generation are sent to system server and executed by a functional test case.
In above system test method, test terminal by be previously stored tester drafting test path figure, into
When row System Functional Test, test terminal is after to be tested point interface and terminal interface are thought in acquisition, from test path figure
The test path of point interface and terminal interface is found while having included, the node interface in test path is obtained, road will be tested
The corresponding test cases of each interface on diameter is assembled, you can automatically generates multiple functional test cases corresponding with test path
Example improves the establishment efficiency of case, and carries out the coverage rate that test improves functional test according to a plurality of test path.
In one embodiment, as shown in figure 4, providing a kind of interface testing step of system, include the following steps:
Step 201, receiving interface test instruction, interface testing instruction carry test interface mark.
The test instruction of terminal receiving interface is tested, interface testing is instructed for testing system interface, you can test
Test interface mark is carried in instruction.Test interface mark is used for unique mark test interface.Test interface mark can be to survey
It tries interface name, the interface code etc. of mouth.Terminal obtains test interface mark from interface testing instruction.
Tester can operate in the display interface of test terminal, select test interface that needs to be tested
Mark, the interface testing that response is generated according to the operation of tester instruct.Test terminal can also receive remote equipment transmission
Interface testing instruction, tester can with remote operation carry out system interface testing.
Step 203, search test interface mark it is corresponding enter ginseng and test mode value.
Before carrying out system testing, test terminal is in advance scanned each interface of system, and scanning is respectively connect
Mouthful request path, enter ginseng, the data type that enters ginseng, the interface data such as data type for going out ginseng, going out ginseng, obtain tester couple
The request method of interface and the definition of request type, wherein request method can include but is not limited to http request, tcp requests
Etc. request methods, request type can include but is not limited to the request types such as post, get.It tests terminal and obtains tester couple
The definition of the test mode of interface, test mode include but not limited to allow test response timeout, do not allow test response timeout,
The parallel requests etc. for allowing the parallel requests of test, not allowing test, each test mode is set with its corresponding test shape
State value.In addition, test terminal obtain the interface of definition it is each enter ginseng enter to join and value and enter the data type of ginseng.Test terminal
The above- mentioned information of acquisition is packaged and is stored.
After terminal obtains test interface mark, test terminal searches test interface and identifies corresponding interface data packet, from
Test interface is extracted in interface data packet enters ginseng and test mode value.
Step 205, it obtains and enters to join value into ginseng, and from entering entering to join and being extracted in value into ginseng test value for ginseng.
Test terminal search each enter to join it is corresponding enter to join value, progress is extracted in value from entering to join according to preset rules
Test enters to join test value.Preset rules may include extraction enter to join the quantity of test value, extracting method etc..Also, it is different
The quantity for entering to join test value of parameter can be different, can in advance be set by tester.
Step 207, it will enter to join test value and test mode value carry out permutation and combination and obtains test data set.
The test mode value for entering to join test value and acquisition extracted is carried out permutation and combination by terminal, may according to each
Combining form generate a test data set, multiple test data sets are generated according to permutation and combination result.Each test data
Enter to join test value and a kind of test mode value comprising each enter ginseng one in group.For example, a test interface include parameter a and
Parameter b two enters ginseng, and the test value that enters to join of parameter a has 2, and the test value that enters to join of parameter b has 3, the test shape of test interface
State value has 2, and the difficult test mode value for entering to join test value and interface for entering two ginseng carries out permutation and combination, can give birth in total
At 2*3*2=12 test data set.
Step 209, preset interface case template corresponding with test interface mark is obtained, test data set is connect with default
Mouth case template, which is combined, generates interface testing case set.
It tests terminal and searches preset interface case template corresponding with test interface mark, prestore in interface case template
It is each enter ginseng put in order, enter the information such as the data format of ginseng.Preset interface case template can be the general of total interface
Template can also be set according to interface type, and the test interface of different interface type corresponds to different preset interface cases
Example template can search the interface type belonging to it according to interface identifier, and search corresponding preset interface according to interface type
Case template.The set-up mode of specific preset interface case template can be configured according to the concrete condition of test system.
Test terminal assembles the test value that enters to join in each test data set with preset interface case template, and root
The setting of state value is carried out to generate interface testing case, all test data sets pair according to the test mode value in measured data group
The interface testing case answered forms interface testing case set.Testing terminal can be by interface testing case set and corresponding survey
Examination interface identifier is associated storage.
Test terminal need to only get test interface mark from interface testing instruction, so that it may to search test interface automatically
It identifies corresponding interface data and respectively enter ginseng enters to join test value and test mode value, and test value is subjected to permutation and combination, with
Preset interface case template carries out assembling and generates the interface testing case set for covering various test value conditions, and raising system connects
The efficiency and test coverage of mouth test.
In one embodiment, step 205 may include:It obtains into the value type for entering to join value of ginseng and default value
Quantity;When value type be numberical range when, according to enter ginseng enter to join value and default value quantity calculates value step-length, root
It is extracted from numberical range into ginseng test value according to value step-length;When value type is data type, according to default value quantity
It generates at random into ginseng test value.
Test terminal acquisition respectively enters the value type for entering to join value of ginseng and default value quantity.Wherein, value type can
Think numberical range, scatterplot numerical value, the data type etc. without fixed value, and default value quantity should for pre-set needs
Entering ginseng needs value quantity to be tested.
When the value type for entering ginseng that test terminal is got is a numberical range, test terminal is according to numberical range
Numerical value length and default value quantity calculate value step-length, extracted according to calculated value step-length from numberical range
Corresponding value as entering to join test value, can using the numerical value at concrete regulation numberical range both ends whether as entering to join test value, when
It, need to be after deducting two both ends numerical value in default value quantity in the calculating for carrying out step-length when as entering to join test value.Work as test
When the value type for entering ginseng of terminal acquisition is data type, specific data type such as binary number, character, natural number etc.,
Terminal generates random number corresponding with data type at random, and the quantity of the random number of generation is equal with default value quantity.
When the value type for entering ginseng that test terminal is got is scatterplot numerical value, test terminal is randomly selected from scatterplot numerical value at random
Go out the scatterplot numerical value equal with default value quantity.When test terminal gets other value types, according to preset
Extracting rule extracts, and will not enumerate herein.
In one embodiment, the corresponding first interface test cases of starting point interface identifier, node interface mark pair are searched
The corresponding third interface testing case of second interface test cases and terminal interface identifier answered, by first interface test cases,
Second interface test cases and third interface testing case carry out assembling systematic function test cases, including:Point interface is searched
Identify corresponding first interface test cases set, node interface identifies corresponding second interface test cases set and terminal connects
Mouth identifies corresponding third interface testing case set;By the interface testing case and second in first interface test cases set
Interface testing case in interface testing case, third test cases set in interface testing case set carries out permutation and combination
Obtain functional test case set.
In the present embodiment, it is interface testing case set to be found according to each interface identifier in test path, often
A interface testing case set includes one or more interface testing case, by the interface of each interface in test path
When test cases carries out assembling systematic function test cases, need in view of each interface testing case corresponding to each interface
Example, and each case in each set is tested.Test terminal by the corresponding interface testing case of each interface identifier into
Row permutation and combination generates multiple functional test cases and forms functional test case set.
Such as, if it is desired to it is corresponding to find " registration " interface for the functional test case for testing " registration → login " function
Interface testing case has 2, and there are two the corresponding interface testing cases of " login " interface, to the interface testing case of the two interfaces
Example carries out permutation and combination, then can generate 2*2=4 functional test case, the composed structure of specific functional test case altogether
As shown in following table table 1:
Table 1:
The name of the functional test case of the entitled generation of functional test case in table 1, the entitled each interface of interface case correspond to
Interface testing case title, such as the corresponding interface testing case of " registration " interface have 2, named respectively when being stored
For " registration 1 " and " registration 2 ", interface URL filenames refer to the filename in the corresponding interface IP address of interface, can react interface
Function, case interface step refers to the step position that the interface is located in the corresponding test path of functional test case.
It tests in terminal systematic function test cases set, it can be by the test cases in set according in above-mentioned table 1
Mode is named and stores.Terminal is tested when carrying out functional test, it is also contemplated that respectively being connect included in functional test
It the case where different parameters value and test mode value of mouth, so as to test various test cases, further carries
The coverage rate of height test.
In one embodiment, test data set and preset interface case template are combined and generate interface testing case
After set, including:Execute the interface testing case in interface testing case set;It is extracted from interface testing case to be tested
Enter ginseng and check-in ginseng value to be checked;The interface IP address of interface testing case corresponding interface is obtained, the filename in interface IP address is extracted
As table name to be tested;Test mode verification instruction is generated according to check-in to be checked ginseng, check-in ginseng value to be checked and table name to be tested, it will
Test mode verification instruction is sent to the corresponding server of corresponding interface;Verifying with test mode for server return is received to instruct
Corresponding test mode verification result.
Terminal is tested after generating interface testing case set, the interface testing case in set is sent to system service
Device is executed, and test result can be sent to test terminal by system server after being finished.It is held in interface testing case
After the completion of row, need to detect interface testing result.
Test terminal extracts check-in ginseng to be checked and check-in ginseng value to be checked from each interface testing case, and to be tested enters
Ginseng can be selected by tester, can also carry out the setting of check-in ginseng to be checked to interface in advance, test terminal is according to survey
The selection result or defined parameters of examination personnel is obtained automatically.
It tests terminal and obtains the corresponding interface IP address, that is, addresses interface URL of test interface, and from being extracted in interface IP address
Filename is as table name to be tested.Wherein, table name to be tested is the table of the tables of data stored in the corresponding server of test interface
Name, after interface testing case is finished, the corresponding server of test interface can receive entering for test system transmission and join and enter ginseng
Value, can store into corresponding tables of data the data received, the table when existing in tables of data into ginseng and entering the record of ginseng value
Bright interface testing success, then shows that abnormal conditions occurs in interface testing when it be not present.
Test terminal generates test mode according to the check-in to be checked ginseng, check-in ginseng value to be checked and the table name to be tested that extract and tests
Test mode verification instruction is sent to test interface and identifies corresponding server by card instruction.Server receives test mode
In verification instruction, check-in ginseng, check-in ginseng value to be checked and table name to be tested to be checked are obtained from instruction, and correspond to from table name to be tested
Tables of data in search whether there are check-in to be checked ginseng and check-in ginseng value to be checked, from tables of data search it is corresponding with check-in to be checked ginseng
Parameter value, judge whether the parameter value extracted consistent with check-in ginseng value to be checked, will determine that result return to test eventually
End.
For example, interface testing case needs to test " registration " this interface, after interface testing case is finished, need to look into
The tables of data entitled " user " of inquiry, check enter to join entitled " mobile ", it is " 13934758403 " to enter ginseng value, according to above-mentioned letter
Breath generates inquiry instruction and is sent to the corresponding server of interface, after server receives instruction, therefrom extracts table name " user ",
Find the user tables of data being locally stored, and extract the corresponding parameter value of mobile parameters from table, by the value of extraction with
" 13934758403 " are matched, and matching result is returned to test platform.It is thus possible to check the corresponding server of interface
Whether " registration " function is completed, and whether detection service device, which will test the log-on message that terminal uploads, stores.
In other embodiments, it can also be tested to the return value of interface in such a way that addition is asserted to judge to survey
Whether examination succeeds, but this method can not usually be accurately positioned where abnormal problem, can be more by way of tables of data positioning
Add the parameter for accurately judging whether the corresponding server of test interface receives system transmission.
In one embodiment, functional test case is executed, including:Detection function test cases, which whether there is, makes several marks
Know;When detecting that making number identifies, parameter identification is generated;Parameter identification is marked on intermediate parameters, intermediate parameters are in function
It is generated in test cases implementation procedure.
Before executing functional test case, test terminal detection function test cases is with the presence or absence of several marks are made, specifically
Ground, test terminal can obtain each interface testing case for including in functional test case, judge be in each interface testing case
It is no to make several marks, when in the presence of number mark is made, indicates that the test has carried out the setting that several functions are made in mock simulations as early as possible, give interface
Enter ginseng when entering ginseng value according to Upstream Interface go out ginseng go out what ginseng value was set, enter ginseng value and Upstream Interface goes out ginseng value
Between generally simple logical operation, such as this enters ginseng and is worth=goes out+2 logical operation formula of ginseng value.
When test terminal, which detects, makes number mark, unique parameter identification is generated, parameter identification should for unique mark
The intermediate parameters generated in functional test case implementation procedure.Functional test case is being sent to test system by test terminal
Parameter identification is sent together simultaneously, thus will be in functional test case implementation procedure during executing functional test case
The intermediate parameters of generation carry out the label of parameter identification.
When the parameter value of interface needs to rely on the data of other interfaces, the process of its interface is allocated and transported in progress logical operation
In, since different test cases may include identical interface, may exist when interface parameters value is called and find
Multiple parameter values and the case where repeated collisions.It in the present embodiment, can be in parameter by the way that intermediate parameters are carried out unique mark
Value is rapidly and accurately found when calling in the functional test case goes out ginseng value accordingly.
It should be understood that although each step in the flow chart of Fig. 2 and Fig. 4 is shown successively according to the instruction of arrow,
But these steps are not the inevitable sequence indicated according to arrow to be executed successively.Unless expressly state otherwise herein, these
There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, in Fig. 2 and Fig. 4
At least part step may include that either these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily
Be carry out successively, but can with other steps either the sub-step of other steps or at least part in stage in turn or
Alternately execute.
In one embodiment, as shown in figure 5, providing a kind of opening machine system test device, including:Function command receiving module
510, path searching module 520, node interface acquisition module 530, function case generation module 540 and function case execution module
550, wherein:
Function command receiving module 510, for receiving the functional test instruction for examining system, test instruction carrying
Starting point interface identifier and terminal interface identifier.
Path searching module 520 is searched for obtaining test path figure corresponding with examining system from test path figure
Include the test path of starting point interface identifier and terminal interface identifier.
Node interface acquisition module 530 is located at starting point interface identifier and terminal interface identifier for obtaining in test path
Between node interface mark.
Function case generation module 540, for searching the corresponding first interface test cases of starting point interface identifier, node connects
Mouth identifies corresponding second interface test cases and the corresponding third interface testing case of terminal interface identifier, and first interface is surveyed
Examination case, second interface test cases and third interface testing case carry out assembling systematic function test cases.
Function case execution module 550, for executing functional test case.
In one embodiment, device further includes:
Interface instruction receiving module, for receiving interface test instruction, interface testing instruction carries test interface mark.
Parameter searching module, for search test interface mark it is corresponding enter ginseng and test mode value.
Test value extraction module enters to join value for obtaining into ginseng, and from entering entering to join to extract in value and being surveyed into ginseng for ginseng
Examination value.
Data group obtains module, carries out permutation and combination for that will enter to join test value and test mode value and obtains test data
Group.
Casebook closes generation module, for obtaining preset interface case template corresponding with test interface mark, will test
Data group and preset interface case template, which are combined, generates interface testing case set.
In one embodiment, test value extraction module may include:
Value data obtaining module, for obtaining the value type for entering to join value and default value quantity into ginseng.
Test value acquisition module, for when value type is numberical range, being taken with default according to the value that enters to join for entering ginseng
Value quantity calculates value step-length, is extracted from numberical range into ginseng test value according to value step-length.
Test value generation module, for when value type be data type when, according to default value quantity generate at random into
Join test value.
In one embodiment, function case generation module 540 may include:
Set of interfaces searching module, for searching the corresponding first interface test cases set of starting point interface identifier, node
The corresponding second interface test cases set of interface identifier and the corresponding third interface testing case set of terminal interface identifier.
Function set generation module is used for the interface testing case and second interface in first interface test cases set
Interface testing case in interface testing case, third test cases set in test cases set carries out permutation and combination and obtains
Functional test case set.
In one embodiment, device further includes:
Interface case execution module, for executing the interface testing case in interface testing case set.
Inspection parameter extraction module, for extracting check-in ginseng to be checked and check-in ginseng value to be checked from interface testing case.
Table name extraction module, the interface IP address for obtaining interface testing case corresponding interface is examined to extract interface IP address
In filename as table name to be tested.
Directive generation module is verified, for generating test according to check-in to be checked ginseng, check-in ginseng value to be checked and table name to be tested
State verification instructs, and test mode verification instruction is sent to the corresponding server of corresponding interface.
Verification result receiving module, the test mode corresponding with test mode verification instruction for receiving server return
Verification result.
In one embodiment, function case execution module may include:
Label detection module whether there is for detection function test cases and make several marks.
Parameter identification generation module, for when detecting that making number identifies, generating parameter identification.
Parameter tags module, for parameter identification to be marked on intermediate parameters, intermediate parameters are held in functional test case
What row generated in the process.
Specific about opening machine system test device limits the restriction that may refer to above for system detection method, herein not
It repeats again.Modules in above system test device can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in or independently of in the processor in computer equipment, can also store in a software form in the form of hardware
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure
Figure can be as shown in Figure 6.The computer equipment includes the processor connected by system bus, memory, network interface, display
Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited
Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey
Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The network interface of machine equipment is used to communicate by network connection with external terminal.When the computer program is executed by processor with
Realize a kind of system detection method.The display screen of the computer equipment can be liquid crystal display or electric ink display screen,
The input unit of the computer equipment can be the touch layer covered on display screen, can also be to be arranged on computer equipment shell
Button, trace ball or Trackpad, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 6, is only tied with the relevant part of application scheme
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
May include either combining certain components than more or fewer components as shown in the figure or being arranged with different components.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor realize following steps when executing computer program:The functional test received for examining system refers to
It enables, functional test instruction carries starting point interface identifier and terminal interface identifier;Obtain test path corresponding with examining system
Figure searches the test path for including starting point interface identifier and terminal interface identifier from test path figure;It obtains in test path
Node interface mark between starting point interface identifier and terminal interface identifier;Starting point interface identifier corresponding first is searched to connect
Mouth test cases, node interface identify corresponding second interface test cases and the corresponding third interface testing of terminal interface identifier
First interface test cases, second interface test cases and third interface testing case are carried out assembling systematic function and surveyed by case
Try case;Execute functional test case.
In one embodiment, following steps are also realized when processor executes computer program:Receiving interface test instruction,
Interface testing instruction carries test interface mark;Search test interface mark it is corresponding enter ginseng and test mode value;It obtains
Enter ginseng enters to join value, and from entering entering to join and being extracted in value into ginseng test value for ginseng;To enter to join test value and test mode value into
Row permutation and combination obtains test data set;Preset interface case template corresponding with test interface mark is obtained, by test data
Group and preset interface case template, which are combined, generates interface testing case set.
In one embodiment, processor execute computer program realize from it is described enter ginseng enter to join in value and extract into ginseng
It is additionally operable to when test value:Obtain the value type for entering to join value into ginseng and default value quantity;When value type is numerical value model
When enclosing, according to enter ginseng enter to join value and default value quantity calculates value step-length, according to value step-length from numberical range
It extracts into ginseng test value;When value type is data type, generated at random into ginseng test value according to default value quantity.
In one embodiment, processor executes computer program and realizes the corresponding first interface of lookup starting point interface identifier
Test cases, node interface identify corresponding second interface test cases and the corresponding third interface testing case of terminal interface identifier
First interface test cases, second interface test cases and third interface testing case are carried out assembling systematic function test by example
It is additionally operable to realize when case:Search the corresponding first interface test cases set of starting point interface identifier, node interface mark corresponds to
Second interface test cases set and the corresponding third interface testing case set of terminal interface identifier;First interface is tested
Interface testing case in case set and the interface testing case in second interface test cases set, third test cases collection
Interface testing case in conjunction carries out permutation and combination and obtains functional test case set.
In one embodiment, following steps are also realized when processor executes computer program:Execute interface testing case
Interface testing case in set;Check-in ginseng to be checked and check-in ginseng value to be checked are extracted from interface testing case;Interface is obtained to survey
The interface IP address of case corresponding interface is tried, extracts the filename in interface IP address as table name to be tested;Joined according to check-in to be checked,
Check-in ginseng value to be checked and table name to be tested generate test mode verification instruction, and test mode verification instruction is sent to corresponding interface
Corresponding server;Receive the test mode verification result corresponding with test mode verification instruction that server returns.
In one embodiment, processor executes computer program and realizes that the when of executing the functional test case is additionally operable to reality
It is existing:Detection function test cases, which whether there is, makes several marks;When detecting that making number identifies, parameter identification is generated;By parameter mark
Knowledge is marked on intermediate parameters, and intermediate parameters generate in functional test case implementation procedure.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program realizes following steps when being executed by processor:The functional test received for examining system instructs, functional test instruction
Carry starting point interface identifier and terminal interface identifier;Test path figure corresponding with examining system is obtained, from test path figure
Middle lookup includes the test path of starting point interface identifier and terminal interface identifier;It obtains and is located at starting point interface identifier in test path
Node interface mark between terminal interface identifier;Search the corresponding first interface test cases of starting point interface identifier, node
The corresponding second interface test cases of interface identifier and the corresponding third interface testing case of terminal interface identifier, by first interface
Test cases, second interface test cases and third interface testing case carry out assembling systematic function test cases;Execute function
Test cases.
In one embodiment, following steps are also realized when computer program is executed by processor:Receiving interface test refers to
It enables, interface testing instruction carries test interface mark;Search test interface mark it is corresponding enter ginseng and test mode value;It obtains
Be taken into ginseng enters to join value, and from entering entering to join and being extracted in value into ginseng test value for ginseng;Test value and test mode value will be entered to join
It carries out permutation and combination and obtains test data set;Preset interface case template corresponding with test interface mark is obtained, number will be tested
It is combined according to group and preset interface case template and generates interface testing case set.
In one embodiment, computer program be executed by processor from it is described enter ginseng enter to join extracted in value into ginseng survey
It is additionally operable to when examination value:Obtain the value type for entering to join value into ginseng and default value quantity;When value type is numberical range
When, according to enter ginseng enter to join value and default value quantity calculates value step-length, carried from numberical range according to value step-length
It is taken into ginseng test value;When value type is data type, generated at random into ginseng test value according to default value quantity.
In one embodiment, computer program, which is executed by processor, searches the corresponding first interface survey of starting point interface identifier
Try case, node interface identifies corresponding second interface test cases and the corresponding third interface testing case of terminal interface identifier
First interface test cases, second interface test cases and third interface testing case are carried out assembling systematic function test by example
It is additionally operable to realize when case:Search the corresponding first interface test cases set of starting point interface identifier, node interface mark corresponds to
Second interface test cases set and the corresponding third interface testing case set of terminal interface identifier;First interface is tested
Interface testing case in case set and the interface testing case in second interface test cases set, third test cases collection
Interface testing case in conjunction carries out permutation and combination and obtains functional test case set.
In one embodiment, following steps are also realized when computer program is executed by processor:Execute interface testing case
Interface testing case in example set;Check-in ginseng to be checked and check-in ginseng value to be checked are extracted from interface testing case;Obtain interface
The interface IP address of test cases corresponding interface extracts the filename in interface IP address as table name to be tested;According to check-in to be checked
Ginseng, check-in ginseng value to be checked and table name to be tested generate test mode verification instruction, and test mode verification instruction is sent to correspondence
The corresponding server of interface;Receive the test mode verification result corresponding with test mode verification instruction that server returns.
In one embodiment, it is additionally operable to realize when computer program is executed by processor the functional test case:Inspection
Brake test cases, which whether there is, makes several marks;When detecting that making number identifies, parameter identification is generated;Parameter identification is marked
In intermediate parameters, intermediate parameters generate in functional test case implementation procedure.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein,
Any reference to memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to keep description succinct, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield is all considered to be the range of this specification record.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the protection domain of the application patent should be determined by the appended claims.
Claims (10)
1. a kind of system detection method, the method includes:
The functional test received for examining system instructs, and the functional test instruction carries starting point interface identifier and terminal connects
Mouth mark;
Test path figure corresponding with the examining system is obtained, the point interface from being searched comprising described in the test path figure
The test path of mark and the terminal interface identifier;
Obtain the node interface mark between the starting point interface identifier and the terminal interface identifier in the test path
Know;
Search the corresponding first interface test cases of the starting point interface identifier, the node interface identifies corresponding second interface
Test cases and the corresponding third interface testing case of the terminal interface identifier, by the first interface test cases, described
Second interface test cases and the third interface testing case carry out assembling systematic function test cases;
Execute the functional test case.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Receiving interface test instruction, the interface testing instruction carry test interface mark;
Search test interface mark it is corresponding enter ginseng and test mode value;
Enter ginseng described in acquisition enters to join value, and from it is described enter ginseng enter to join and extracted in value into ginseng test value;
Enter to join test value and the test mode value and carry out permutation and combination and obtain test data set by described;
Preset interface case template corresponding with test interface mark is obtained, the test data set and described preset are connect
Mouth case template, which is combined, generates interface testing case set.
3. according to the method described in claim 2, it is characterized in that, it is described from it is described enter ginseng enter to join extracted in value into ginseng survey
Examination value, including:
Enter the value type for entering to join value of ginseng and default value quantity described in acquisition;
When the value type be numberical range when, according to it is described enter ginseng enter to join value and the default value quantity calculates
Value step-length is extracted from the numberical range into ginseng test value according to the value step-length;
When the value type is data type, generated at random into ginseng test value according to the default value quantity.
4. according to the method described in claim 2, it is characterized in that, the starting point interface identifier corresponding first of searching connects
Mouth test cases, the node interface identify corresponding second interface test cases and the corresponding third of the terminal interface identifier
Interface testing case, by the first interface test cases, the second interface test cases and the third interface testing case
Example carries out assembling systematic function test cases, including:
Search the corresponding first interface test cases set of the starting point interface identifier, node interface mark corresponding second
Interface testing case set and the corresponding third interface testing case set of the terminal interface identifier;
It will be in the interface testing case and the second interface test cases set in the first interface test cases set
Interface testing case in interface testing case, the third test cases set carries out permutation and combination and obtains functional test case
Set.
5. according to the method described in claim 2, it is characterized in that, described by the test data set and the preset interface case
Example template is combined after generation interface testing case set, including:
Execute the interface testing case in the interface testing case set;
Check-in ginseng to be checked and check-in ginseng value to be checked are extracted from the interface testing case;
The interface IP address for obtaining the interface testing case corresponding interface extracts the filename in the interface IP address as to be checked
Test table name;
Test mode verification instruction is generated according to check-in ginseng, the check-in ginseng value to be checked and the table name to be tested to be checked,
Test mode verification instruction is sent to the corresponding server of the corresponding interface;
Receive the test mode verification result corresponding with test mode verification instruction that the server returns.
6. according to the method described in claim 1, it is characterized in that, described execute the functional test case, including:
The functional test case is detected with the presence or absence of making several marks;
When detecting that making number identifies, parameter identification is generated;
The parameter identification is marked on intermediate parameters, the intermediate parameters are produced in the functional test case implementation procedure
Raw.
7. a kind of opening machine system test device, which is characterized in that described device includes:
Function command receiving module, for receiving the functional test instruction for examining system, the test instruction has carried
Point interface identifies and terminal interface identifier;
Path searching module is looked into for obtaining test path figure corresponding with the examining system from the test path figure
Look for the test path for including the starting point interface identifier and the terminal interface identifier;
Node interface acquisition module is located at the starting point interface identifier and the terminal interface for obtaining in the test path
Node interface mark between mark;
Function case generation module, for searching the corresponding first interface test cases of the starting point interface identifier, the node
The corresponding second interface test cases of interface identifier and the corresponding third interface testing case of the terminal interface identifier, will be described
First interface test cases, the second interface test cases and the third interface testing case carry out assembling systematic function and survey
Try case;
Function case execution module, for executing the functional test case.
8. device according to claim 7, which is characterized in that described device further includes:
Interface instruction receiving module, for receiving interface test instruction, the interface testing instruction carries test interface mark;
Parameter searching module, for search test interface mark it is corresponding enter ginseng and test mode value;
Test value extraction module, for obtain it is described enter ginseng enter to join value, and from it is described enter ginseng enter to join extracted in value into
Join test value;
Data group obtains module, for entering to join test value and the test mode value and carry out permutation and combination and obtain test number by described
According to group;
Casebook closes generation module, will be described for obtaining preset interface case template corresponding with test interface mark
Test data set and the preset interface case template, which are combined, generates interface testing case set.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In when the processor executes the computer program the step of any one of realization claim 1 to 6 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method according to any one of claims 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810180101.XA CN108446221A (en) | 2018-03-05 | 2018-03-05 | System detection method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810180101.XA CN108446221A (en) | 2018-03-05 | 2018-03-05 | System detection method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108446221A true CN108446221A (en) | 2018-08-24 |
Family
ID=63193534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810180101.XA Pending CN108446221A (en) | 2018-03-05 | 2018-03-05 | System detection method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108446221A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109583688A (en) * | 2018-10-16 | 2019-04-05 | 深圳壹账通智能科技有限公司 | Performance test methods, device, computer equipment and storage medium |
CN109597762A (en) * | 2018-11-28 | 2019-04-09 | 平安科技(深圳)有限公司 | System transposition method of testing, system, electronic device and computer readable storage medium |
CN110109828A (en) * | 2019-04-15 | 2019-08-09 | 深圳壹账通智能科技有限公司 | Question and answer interface test method, device, computer equipment and storage medium |
CN110347604A (en) * | 2019-07-11 | 2019-10-18 | 中国工商银行股份有限公司 | Programming interface test method and equipment, electronic equipment and readable storage medium storing program for executing |
CN110351161A (en) * | 2019-05-22 | 2019-10-18 | 口碑(上海)信息技术有限公司 | Business end-to-end test method, apparatus, storage medium and computer equipment |
CN110443588A (en) * | 2019-08-20 | 2019-11-12 | 山东浪潮通软信息科技有限公司 | A kind of method and system of workflow test |
CN111078555A (en) * | 2019-12-16 | 2020-04-28 | 深圳市朱墨科技有限公司 | Test file generation method, system, server and storage medium |
CN111104329A (en) * | 2019-12-20 | 2020-05-05 | 光大兴陇信托有限责任公司 | Self-service system docking case guide test method |
CN111651349A (en) * | 2020-05-26 | 2020-09-11 | 泰康保险集团股份有限公司 | Test method and device |
CN112052172A (en) * | 2020-09-04 | 2020-12-08 | 云账户技术(天津)有限公司 | Rapid testing method and device for third-party channel and electronic equipment |
CN112131127A (en) * | 2020-09-28 | 2020-12-25 | 北京同邦卓益科技有限公司 | Interface testing method, device and system and electronic equipment |
CN112416767A (en) * | 2020-11-20 | 2021-02-26 | 建信金融科技有限责任公司 | Distributed system test method, device and equipment |
CN113419964A (en) * | 2021-07-14 | 2021-09-21 | 上海浦东发展银行股份有限公司 | Test case generation method and device, computer equipment and storage medium |
CN113672520A (en) * | 2021-09-08 | 2021-11-19 | 京东科技控股股份有限公司 | Test case generation method and device, electronic equipment and storage medium |
CN115102879A (en) * | 2022-07-21 | 2022-09-23 | 身边云(北京)信息服务有限公司 | Test method of shared service platform, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140040667A1 (en) * | 2012-07-31 | 2014-02-06 | Meidan Zemer | Enhancing test scripts |
CN106354634A (en) * | 2016-08-25 | 2017-01-25 | 青岛海信传媒网络技术有限公司 | Interface testing method and device |
CN107301129A (en) * | 2017-06-28 | 2017-10-27 | 百度在线网络技术(北京)有限公司 | Method and apparatus for generating test case |
-
2018
- 2018-03-05 CN CN201810180101.XA patent/CN108446221A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140040667A1 (en) * | 2012-07-31 | 2014-02-06 | Meidan Zemer | Enhancing test scripts |
CN106354634A (en) * | 2016-08-25 | 2017-01-25 | 青岛海信传媒网络技术有限公司 | Interface testing method and device |
CN107301129A (en) * | 2017-06-28 | 2017-10-27 | 百度在线网络技术(北京)有限公司 | Method and apparatus for generating test case |
Non-Patent Citations (1)
Title |
---|
JACKIEYEAH: "PowerMock介绍", 《HTTPS://MY.OSCHINA.NET/JACKIEYEAH/BLOG/157076》 * |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109583688A (en) * | 2018-10-16 | 2019-04-05 | 深圳壹账通智能科技有限公司 | Performance test methods, device, computer equipment and storage medium |
CN109597762A (en) * | 2018-11-28 | 2019-04-09 | 平安科技(深圳)有限公司 | System transposition method of testing, system, electronic device and computer readable storage medium |
CN110109828A (en) * | 2019-04-15 | 2019-08-09 | 深圳壹账通智能科技有限公司 | Question and answer interface test method, device, computer equipment and storage medium |
CN110351161A (en) * | 2019-05-22 | 2019-10-18 | 口碑(上海)信息技术有限公司 | Business end-to-end test method, apparatus, storage medium and computer equipment |
CN110347604A (en) * | 2019-07-11 | 2019-10-18 | 中国工商银行股份有限公司 | Programming interface test method and equipment, electronic equipment and readable storage medium storing program for executing |
CN110443588A (en) * | 2019-08-20 | 2019-11-12 | 山东浪潮通软信息科技有限公司 | A kind of method and system of workflow test |
CN111078555A (en) * | 2019-12-16 | 2020-04-28 | 深圳市朱墨科技有限公司 | Test file generation method, system, server and storage medium |
CN111078555B (en) * | 2019-12-16 | 2024-04-23 | 深圳市朱墨科技有限公司 | Test file generation method, system, server and storage medium |
CN111104329A (en) * | 2019-12-20 | 2020-05-05 | 光大兴陇信托有限责任公司 | Self-service system docking case guide test method |
CN111104329B (en) * | 2019-12-20 | 2021-03-16 | 光大兴陇信托有限责任公司 | Self-service system docking case guide test method |
CN111651349A (en) * | 2020-05-26 | 2020-09-11 | 泰康保险集团股份有限公司 | Test method and device |
CN112052172A (en) * | 2020-09-04 | 2020-12-08 | 云账户技术(天津)有限公司 | Rapid testing method and device for third-party channel and electronic equipment |
CN112052172B (en) * | 2020-09-04 | 2024-01-30 | 云账户技术(天津)有限公司 | Rapid test method and device for third-party channel and electronic equipment |
CN112131127A (en) * | 2020-09-28 | 2020-12-25 | 北京同邦卓益科技有限公司 | Interface testing method, device and system and electronic equipment |
CN112131127B (en) * | 2020-09-28 | 2024-04-16 | 北京同邦卓益科技有限公司 | Interface testing method, device and system and electronic equipment |
CN112416767A (en) * | 2020-11-20 | 2021-02-26 | 建信金融科技有限责任公司 | Distributed system test method, device and equipment |
CN113419964A (en) * | 2021-07-14 | 2021-09-21 | 上海浦东发展银行股份有限公司 | Test case generation method and device, computer equipment and storage medium |
CN113672520A (en) * | 2021-09-08 | 2021-11-19 | 京东科技控股股份有限公司 | Test case generation method and device, electronic equipment and storage medium |
CN113672520B (en) * | 2021-09-08 | 2024-06-18 | 京东科技控股股份有限公司 | Test case generation method and device, electronic equipment and storage medium |
CN115102879A (en) * | 2022-07-21 | 2022-09-23 | 身边云(北京)信息服务有限公司 | Test method of shared service platform, electronic equipment and storage medium |
CN115102879B (en) * | 2022-07-21 | 2023-11-21 | 身边云(北京)信息服务有限公司 | Test method of shared service platform, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108446221A (en) | System detection method, device, computer equipment and storage medium | |
CN110413506A (en) | Test case recommended method, device, equipment and storage medium | |
CN107992409A (en) | Method for generating test case, device, computer equipment and storage medium | |
CN106294134B (en) | The collapse localization method and device of code | |
CN104077217B (en) | The compiling dissemination method and system of code file | |
CN109302522A (en) | Test method, device and computer system and medium | |
CN106528400A (en) | MOCK testing method and device | |
CN110147320A (en) | Interface test method, device and electronic equipment | |
CN105183630B (en) | Applied program testing method and device | |
CN109634837A (en) | Automated testing method, device, equipment and storage medium | |
CN106326120B (en) | Regression testing method and device for application software and electronic equipment | |
CN109726105A (en) | Test data building method, device, equipment and storage medium | |
CN108459964A (en) | Test cases selection method, apparatus, equipment and computer readable storage medium | |
CN110134795A (en) | Generate method, apparatus, computer equipment and the storage medium of validation problem group | |
CN107622008A (en) | The traversal method and device of a kind of five application page | |
CN103853663B (en) | Applied program testing method and system | |
CN106681921A (en) | Method and device for achieving data parameterization | |
CN107276842A (en) | Interface test method and device and electronic equipment | |
CN110674048B (en) | Buried point test characteristic acquisition method and related device | |
CN112433944A (en) | Service testing method, device, computer equipment and storage medium | |
CN110287104A (en) | Method for generating test case, device, terminal and computer readable storage medium | |
CN109977012A (en) | Joint debugging test method, device, equipment and the computer readable storage medium of system | |
CN105117340B (en) | URL detection methods and device for iOS browser application quality evaluations | |
CN111026647A (en) | Code coverage rate obtaining method and device, computer equipment and storage medium | |
CN110377742A (en) | Text classification evaluating method, device, readable storage medium storing program for executing and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180824 |
|
RJ01 | Rejection of invention patent application after publication |