[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107894952A - Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case - Google Patents

Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case Download PDF

Info

Publication number
CN107894952A
CN107894952A CN201711094137.8A CN201711094137A CN107894952A CN 107894952 A CN107894952 A CN 107894952A CN 201711094137 A CN201711094137 A CN 201711094137A CN 107894952 A CN107894952 A CN 107894952A
Authority
CN
China
Prior art keywords
interface
case
test
generation
testing use
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
Application number
CN201711094137.8A
Other languages
Chinese (zh)
Inventor
何新荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201711094137.8A priority Critical patent/CN107894952A/en
Publication of CN107894952A publication Critical patent/CN107894952A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

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 discloses a kind of generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case, and the generation method of the interface testing use-case includes:When receiving generation instruction, the interface parameters document for the interface to be tested for being stored in terminal is obtained;According to the multiple test cases of interface parameters document structure tree, and judge to whether there is duplicate keys in multiple test cases;When duplicate keys being present in multiple test cases, the test case repeated being rejected, forms target detection use-case.This programme automatically generates test case according to interface parameters document, and the test scene that the test case of generation is covered is comprehensive, prevents from omitting and avoids tester from writing test case manually, while reducing tester's workload;By by the repetition entry deletion in test case, it is ensured that the uniqueness of each test scene test case, avoid retest, improve testing efficiency.

Description

Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case
Technical field
The invention mainly relates to communication technical field, specifically, is related to a kind of generation method of interface testing use-case, dress Put, equipment and readable storage medium storing program for executing.
Background technology
The equipment such as computer, mobile phone and server communication can realize multiple functions, and various functions are then adjusted by program code Realized with multiple interfaces, strictly according to the facts the login interface of existing network page or APP login features.Each function before use is introduced to the market, Need to carry out interface testing, to ensure the normal use of function.Multiple usage scenarios in view of function are needed during interface testing, The scene with login failure is such as logined successfully, and login failure also includes as the failure caused by account and/or code error. Interface testing writes test case realization by tester, it is necessary to be directed to each scene composition test case manually at present, In the case that usage scenario is a lot, tester's workload is big, and testing efficiency is low, and tester may be considered test scene Not comprehensively, easily omit.
The content of the invention
The main object of the present invention is to provide a kind of generation method, device, equipment and the readable storage of interface testing use-case Medium, it is intended to solve write manually in the prior art interface testing use-case workload it is big, testing efficiency is low, test is incomplete Problem.
To achieve the above object, the present invention provides a kind of generation method of interface testing use-case, the interface testing use-case Generation method comprise the following steps:
When receiving generation instruction, the interface parameters document for the interface to be tested for being stored in terminal is obtained;
According to the multiple test cases of interface parameters document structure tree, and judge to whether there is duplicate keys in multiple test cases;
When duplicate keys being present in multiple test cases, the test case repeated being rejected, forms target detection use-case.
Preferably, the step of test case multiple according to interface parameters document structure tree includes:
Each variate-value of each parametric variable in interface parameters document is obtained, each variate-value of each parametric variable is arranged Row, generate multiple test cases.
Preferably, it is described to judge to include the step of whether there is duplicate keys in multiple test cases:
Obtain each individual event parameter of each test case, and the numerical value by each individual event Parameter Switch for preset format;
The numerical value of each individual event parameter after conversion is integrated into sequence of values, and judged in the sequence of values of each test case With the presence or absence of identical sequence of values, when identical sequence of values be present, judge duplicate keys be present in multiple test cases.
Preferably, include after the step of formation target detection use-case:
Target detection use-case is transferred under predetermined directory and stored, and when receiving test instruction, reads target detection Each individual event parameter in use-case is tested.
Preferably, it is described when receiving generation instruction, obtain the interface parameters text for the interface to be tested for being stored in terminal Include before the step of shelves:
Receiving interface parameter document, and judge whether the form of parameter in interface parameters document is correct, when interface parameters text When the form of parameter is correct in shelves, by the storage of interface parameters document in the terminal.
Preferably, the test case by duplicate keys is deleted, and is included after the step of forming target detection use-case:
Interface management platform is uploaded to using target detection use-case as the interface message of interface to be tested, for interface management The interface message that platform treats test interface is managed.
Preferably, it is described to upload to interface management platform using target detection use-case as the interface message of its corresponding interface Include after step:
When the modification for receiving docking port parameter document instructs, new target is formed according to the interface parameters document of modification Test case;
By new target detection use-case synchronized upload to interface management platform, with the interface message in docking port management platform It is updated.
In addition, to achieve the above object, the present invention also proposes a kind of generating means of interface testing use-case, the interface is surveyed The generating means of example on probation include:
Acquisition module, for when receiving generation instruction, obtaining the interface parameters for the interface to be tested for being stored in terminal Document;
Generation module, for according to the multiple test cases of interface parameters document structure tree, and judge be in multiple test cases It is no duplicate keys to be present;
Module being rejected, for when duplicate keys be present in multiple test cases, the test case of duplicate keys to be rejected, being formed Target detection use-case.
In addition, to achieve the above object, the present invention also proposes a kind of generation equipment of interface testing use-case, the interface is surveyed The generation equipment of example on probation includes:Memory, processor, communication bus and the interface testing use being stored on the memory The generation program of example;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used for the generation program for performing the interface testing use-case, to realize following steps:
When receiving generation instruction, the interface parameters document for the interface to be tested for being stored in terminal is obtained;
According to the multiple test cases of interface parameters document structure tree, and judge to whether there is duplicate keys in multiple test cases;
When duplicate keys being present in multiple test cases, the test case repeated being rejected, forms target detection use-case.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing storage There are one or more than one program, one either more than one program can be held by one or more than one processor Row for:
When receiving generation instruction, the interface parameters document for the interface to be tested for being stored in terminal is obtained;
According to the multiple test cases of interface parameters document structure tree, and judge to whether there is duplicate keys in multiple test cases;
When duplicate keys being present in multiple test cases, the test case repeated being rejected, forms target detection use-case.
The generation method of the interface testing use-case of the present embodiment, when receiving generation instruction, acquisition is stored in terminal The interface parameters document of interface to be tested, and according to the multiple test cases of interface parameters document structure tree, judge the multiple of this generation With the presence or absence of the test case repeated in test case, when the test case repeated be present, this test case repeated is picked Remove, form target detection use-case.This programme automatically generates test case according to interface parameters document, and the test case of generation is covered The test scene of lid is comprehensive, prevents from omitting and avoids tester from writing test case manually, reduces tester's workload While;By by the repetition entry deletion in test case, it is ensured that the uniqueness of each test scene test case, avoid repeating Test, improves testing efficiency.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the generation method first embodiment of the interface testing use-case of the present invention;
Fig. 2 is the schematic flow sheet of the generation method second embodiment of the interface testing use-case of the present invention;
Fig. 3 is the schematic flow sheet of the generation method 3rd embodiment of the interface testing use-case of the present invention;
Fig. 4 is the schematic flow sheet of the generation method fourth embodiment of the interface testing use-case of the present invention;
Fig. 5 is the high-level schematic functional block diagram of the generating means first embodiment of the interface testing use-case of the present invention;
Fig. 6 is the device structure schematic diagram for the hardware running environment that present invention method is related to;
Fig. 7 is the data processing schematic diagram of the generation method of the interface testing use-case of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of generation method of interface testing use-case.
Fig. 1 is refer to, Fig. 1 is the schematic flow sheet of the generation method first embodiment of interface testing use-case of the present invention. In the present embodiment, the generation method of the interface testing use-case includes:
Step S10, when receiving generation instruction, obtain the interface parameters document for the interface to be tested for being stored in terminal.
With the development of the communication technology, the application function of types of applications software is more and more, is such as arranged on mobile phone or computer On wechat, the payment software such as instant communication software, Alipay, Baidu's wallet such as QQ, safety bank, safety such as easily borrow at the financing class Software etc..Each function is realized by program code, and in order to facilitate the maintenance of program, multiple API are provided with code (Application Programming Interface, application programming interface) interface, its essence is some for api interface Pre-defined function, this API program is set for being accessed to application program or application developer so that application program Or application developer need not access the source code of program, or understand that its internal work mechanism can be achieved or understand the work(of code Energy.Each function before introducing to the market for users to use, in order to ensure its function normal realization, it is necessary to which docking port is surveyed Examination, test can be realized by test case.
The generation of the interface testing use-case of the present embodiment is then used to generate the test case that docking port is tested, wherein needing The interface tested is interface to be tested, and when receiving generation instruction, acquisition is stored in the interface to be tested of terminal Interface parameters document.Understandably, for realizing the interface of a certain function, including at least successfully realizing this function and do not succeed Two kinds of scenes of this function are realized, the mode that success is realized may be unique, and the mode realized without success may be a variety of.Such as it is used for The interface logged in is realized, including is logined successfully and two kinds of scenes of login failure.When account name and correct password, then log in into Work(, i.e., successfully realize that the sole mode of login is correct for account name and password.When account name and password at least one not just When true, then login failure, i.e., do not realize successfully login mode have it is a variety of.This is logined successfully is required to carry out with login failure Test, and the test of login failure also needs to be related to login failure caused by different reasons, that is, is divided into account name mistake, password Correctly, account name is correct, code error, three kinds of account name mistake, code error scenes, to ensure in account name and/or password During mistake, it can not log in.Unique scene that this is logined successfully and the various scenes of login failure are needed into test parameter It is edited into document, forms the storage of interface parameters document and arrive terminal.The wherein ginseng of account name and password as interface parameters document Number variable, the wrong or correct value of parametric variable is variate-value, and terminal can be tablet personal computer, removable computer etc..Pass through this The interface parameters document of storage, when generating interface testing use-case according to it, it can be ensured that the interface testing use-case of generation can be comprehensive Covering test in need scene.
Step S20, according to the multiple test cases of interface parameters document structure tree, and judge to whether there is in multiple test cases Duplicate keys;
Further, after the interface parameters document of interface to be tested of storage is obtained, given birth to according to this interface parameters document Into multiple test cases.Wherein generating multiple test cases can be by PICT instruments ((Pairwise Independent Combinatorial Testing tool)) realize, program code realization can be also write by developer.Specifically, according to connecing The step of mouthful parameter document structure tree multiple test cases, includes:
Step S21, each variate-value of each parametric variable in interface parameters document is obtained, to each variate-value of each parametric variable Arranged, generate multiple test cases.
Interface parameters document includes the parametric variable for characterization parameter number, and multiple values of parameters, That is multiple variate-values of parametric variable.Supplemented by assistant solution, be illustrated with a specific embodiment, refer to Fig. 7, parametric variable bag Account name and password are included, corresponding two variate-values of account name, are respectively correct and mistake, that is, characterize the correctness and mistake of account name Property by mistake;Password also corresponds to two variable names, is respectively correct and mistake, to characterize the correctness of password and error resistance.To each ginseng Each variate-value of number variable is arranged, and generates multiple test cases.I.e. by correct, mistake the variate-value and password of account name Correct, mistake variate-value arranged, obtain 4 kinds of different combinations, this 4 kinds of different combinations are 4 groups of test cases. And the 1st group of test case is used to represent the test scene that account name and password correctly login successfully, the 2nd~4 group of test is used Example is used for the test scene for representing the login failure of account name and/or code error.In addition, it is contemplated that in docking port parameter document In each parametric variable each variate-value carry out permutation and combination generation test case when, in fact it could happen that repeat test case feelings Condition, such as two groups of account names of appearance are correct, the test case of code error.And for account name is correct, situation of code error, survey One group of correct account name of input and the password of mistake, system feedback login failure, you can determine that interface can be real are only needed during examination The scene of correct, code error the login failure of existing account name, it is not necessary to tested by two groups.Two groups of weights of this generation Workload when multiple test case increase is tested, can be to this multiple survey so as to which the present embodiment is after multiple test cases are generated Judged in example on probation with the presence or absence of duplicate keys, to avoid carrying out retest.
Step S30, when duplicate keys be present in multiple test cases, the test case repeated being rejected, target is formed and surveying Example on probation.
Further, when duplicate keys be present in the multiple test cases for judging generation, then by the test of this repetition Use-case is rejected from multiple test cases of generation, only retains one in the test case repeated, to ensure its uniqueness.This Remaining test case is that can cover the test case of interface testing scene comprehensively after deleting the test case repeated, will It carries out interface testing as target detection use-case.And when duplicate keys are not present in the multiple test cases for judging generation, Illustrate the test case of generation to be unique and interface testing scene can be covered comprehensively, it is not necessary to carry out rejecting operation, can directly by Multiple test cases of generation carry out interface testing as target detection use-case.By the way that the duplicate keys in test case are rejected, Form target detection use-case, it is ensured that the uniqueness of test case, avoid the retest to Same Scene, improve test effect Rate.
The generation method of the interface testing use-case of the present embodiment, when receiving generation instruction, acquisition is stored in terminal The interface parameters document of interface to be tested, and according to the multiple test cases of interface parameters document structure tree, judge the multiple of this generation With the presence or absence of the test case repeated in test case, when the test case repeated be present, this test case repeated is picked Remove, form target detection use-case.This programme automatically generates test case according to interface parameters document, and the test case of generation is covered The test scene of lid is comprehensive, prevents from omitting and avoids tester from writing test case manually, reduces tester's workload While;By by the repetition entry deletion in test case, it is ensured that the uniqueness of each test scene test case, avoid repeating Test, improves testing efficiency.
Further, it is described to judge multiple surveys in another embodiment of the generation method of interface testing use-case of the present invention The step of whether there is duplicate keys in example on probation includes:
Step S22, each individual event parameter of each test case is obtained, and be preset format by each individual event Parameter Switch Numerical value;
Further, multiple parameters item is included in each test case, each parameter item is an individual event parameter, each survey There may be identical individual event parameter between example on probation may also be not present identical individual event parameter, but the institute between test case The set being made up of individual event parameter should differ, and to avoid the occurrence of duplicate keys, characterize different test scenes.The present embodiment For to judging with the presence or absence of duplicate keys, obtaining each individual event parameter of each test case, and be by each individual event Parameter Switch The numerical value of preset format, preset format are binary format or hexadecimal format pre-set etc..Specifically, each individual event Parameter setting has the reference value for judging this parameter correctness, and each individual event parameter of acquisition and this reference value are compared, judge two Whether person is identical.When both are identical, then illustrate that this individual event parameter is correct, be as preset format using this individual event Parameter Switch The numerical value 1 of binary format.When both differ, then illustrate that this individual event parameter is incorrect, be work by this individual event Parameter Switch For the numerical value 0 of the binary format of preset format.
Step S23, the numerical value of each individual event parameter after conversion is integrated into sequence of values, and judges the number of each test case Whether there is identical sequence of values in value sequence, when identical sequence of values be present, judging exist in multiple test cases Duplicate keys.
Because each test case includes multiple individual event parameters, so as to which all individual event parameters of this test case be converted into After the numerical value of binary format, the numerical value of this converted obtained all binary format is integrally formed sequence of values.Please With further reference to Fig. 7, integration can be arranged the numerical value of conversion according to putting in order for individual event parameter, arrange obtained numerical value As sequence of values.The sequence of values of each test case is compared and judges whether identical sequence of values, when depositing In identical sequence of values, by each individual event Parameter Switch, the identical then explanation of sequence of values is each to be surveyed factor value sequence Each individual event all same of example on probation, i.e. test scene is identical, duplicate keys be present in discriminating test use-case.Accordingly, when in the absence of During identical sequence of values, then it can determine that and duplicate keys be not present in test case.
Further, Fig. 2 is refer to, on the basis of the first embodiment of the generation method of interface testing use-case of the present invention, The second embodiment of the generation method of interface testing use-case of the present invention is proposed, in a second embodiment, the formation target detection Include after the step of use-case:
Step S40, target detection use-case is transferred under predetermined directory and stored, and when receiving test instruction, read Each individual event parameter in target detection use-case is tested.
Further, after target detection use-case is formed, the target detection use-case of this formation is transferred to predetermined directory Lower storage, predetermined directory are the storage location pre-set, and can be stored in a manner of EXCEL tables.When there is testing requirement, connect Acceptance Tests are instructed, and the target detection use-case for being stored storage location by program code instruction is opened, and in program code The start read position of EXCEL tables is set, is tested with the target detection use-case in the reading table since original position, is simplified Test process.
Further, Fig. 3 is refer to, on the basis of the second embodiment of the generation method of interface testing use-case of the present invention, The 3rd embodiment of the generation method of interface testing use-case of the present invention is proposed, it is in the third embodiment, described to receive generation During instruction, obtain be stored in terminal interface to be tested interface parameters document the step of before include:
Step S50, receiving interface parameter document, and judge whether the form of parameter in interface parameters document is correct, when connecing When the form of parameter is correct in mouth parameter document, by the storage of interface parameters document in the terminal.
Understandably, the function achieved by interface is designed by developer, needs work(possessed by docking port during test It can carry out, tester determines to need the scene tested, to test scene edition interface parameter document.When receiving tester During the interface parameters document of editor, judge whether the form of interface parameters document is correct, because being surveyed according to interface parameters document structure tree During example on probation, the parameter format in docking port parameter document is required, and generation test is not met when existing in interface parameters document During the parameter of use-case call format, when generating test case, it is impossible to identify this parameter, make the test case of generation wrong, lead Cause the test of docking port effective.So as to the present embodiment, the form of parameter is correct only in interface parameters document is judged, meets and turns When being changed to the call format of test case, just by the storage of interface parameters document in the terminal;Otherwise join when in interface parameters document When several forms is incorrect, then not by the storage of interface parameters document in the terminal;To ensure according to the interface obtained from terminal The correctness for the test case that parameter document is generated.
Further, it is described to receive life in another embodiment of the generation method of interface testing use-case of the present invention Into instruction when, obtain be stored in terminal interface to be tested interface parameters document the step of include:
Step S11, when receiving generation instruction, judge the default storage region of terminal with the presence or absence of interface to be tested Interface parameters document;
Further, when receiving the generation instruction of generation test case, illustrate that with good grounds interface parameters document is treated Test interface generates the demand of test case, because interface parameters document is stored in the default storage region of terminal, so as to judge The default storage region of terminal whether there is the interface parameters document of interface to be tested, and it is according to user's request to preset storage region Storage region set in advance for memory interface parameter document.
Step S12, when default storage region has the interface parameters document of interface to be tested, obtain the interface parameters Document;
Specifically, go to search interface parameters document to default storage region, interface can be found when presetting storage region herein During parameter document, then it can determine that default storage region has the interface parameters document for being used for generating interface testing use-case to be tested, This interface parameters document is obtained, with according to this interface parameters document structure tree test case.
Step S13, when the interface parameters document of interface to be tested is not present in default storage region, export prompt message.
When interface parameters document can not be found in default storage region, then judge in default storage region in the absence of to be measured Try the interface parameters document of mouth, prompt message is exported, to prompt to lack interface parameters document, Wu Fasheng in default storage region Into test case, wherein the mode prompted can also can not done in a manner of text importing in a manner of voice broadcast to this Limitation.
Further, Fig. 4 is refer to, on the basis of the 3rd embodiment of the generation method of interface testing use-case of the present invention, It is proposed the fourth embodiment of the generation method of interface testing use-case of the present invention, in the fourth embodiment, the survey by duplicate keys The step of trying out example to delete, forming target detection use-case includes afterwards:
Step S60, interface management platform is uploaded to using target detection use-case as the interface message of interface to be tested, for The interface message that interface management platform treats test interface is managed.
Further, the interface management platform for being managed to total interface is provided with the present embodiment, is connect herein In mouth management platform pipe can be carried out to interface messages such as the type of total interface, the function of being realized, required parameter, call types Reason.So as to which after target detection use-case is generated, the target detection use-case that this is generated is as in the interface message of interface to be tested Pass to interface management platform.Explained by using swagger interface and receive information is uploaded into interface server, interface service Device docks with interface management platform, to realize the management of interface management platform docking port information.In order to embody target detection use-case Source, interface parameters document can be also served as to interface message and upload to interface management platform, so as to subsequent query.In addition, connect Mouth management platform also supports the synchronizing function that docking port information is changed, in the interface using target detection use-case as its corresponding interface Information includes after uploading to the step of interface management platform:
Step S70, when the modification for receiving docking port parameter document instructs, formed according to the interface parameters document of modification New target detection use-case;
Understandably, each application function may need that existing function is repaired or increased during use Adding New function, such reparation or increase function is needed to realizing that the interface of this function is modified, and after docking port is modified, Need docking port to re-start test, that is, need to generate new target detection use-case and tested.When receiving docking port parameter During the modification instruction of document, docking port document is modified, and according to the new multiple tests of the interface parameters document structure tree of modification Use-case, same when duplicate keys be present in this new multiple test case, the test case that will be repeated is rejected, and obtains next year Target detection use-case.
Step S80, by new target detection use-case synchronized upload to interface management platform, with docking port management platform Interface message is updated.
After new target detection use-case is formed, by this new target detection use-case synchronized upload to interface management platform. This new target detection use-case is updated as interface message in interface management platform.Meanwhile it can be patted in mouthpiece The temporal information for uploading renewal is preserved in platform, so as to user when in use, the target detection of easy-to-look-up different time generation is used Example.
In addition, refer to Fig. 5, the present invention provides a kind of generating means of interface testing use-case, in interface testing of the present invention In the generation first embodiment of use-case, the generating means of the interface testing use-case include:
Acquisition module 10, for when receiving generation instruction, obtaining the interface ginseng for the interface to be tested for being stored in terminal Number document;
With the development of the communication technology, the application function of types of applications software is more and more, is such as arranged on mobile phone or computer On wechat, the payment software such as instant communication software, Alipay, Baidu's wallet such as QQ, safety bank, safety such as easily borrow at the financing class Software etc..Each function is realized by program code, and in order to facilitate the maintenance of program, multiple API are provided with code (Application Programming Interface, application programming interface) interface, its essence is some for api interface Pre-defined function, this API program is set for being accessed to application program or application developer so that application program Or application developer need not access the source code of program, or understand that its internal work mechanism can be achieved or understand the work(of code Energy.Each function before introducing to the market for users to use, in order to ensure its function normal realization, it is necessary to which docking port is surveyed Examination, test can be realized by test case.
The generation of the interface testing use-case of the present embodiment is then used to generate the test case that docking port is tested, wherein needing The interface tested is interface to be tested, and when receiving generation instruction, acquisition module 10 obtains and is stored in treating for terminal The interface parameters document of test interface.Understandably, for realizing the interface of a certain function, including at least successfully realizing this function Two kinds of scenes of this function are not realized successfully, and the mode that success is realized may be unique, and the mode realized without success may It is a variety of.Such as it is used to realize the interface logged in, including logins successfully and two kinds of scenes of login failure.When account name and password are correct When, then login successfully, i.e., successfully realize that the sole mode of login is correct for account name and password.When account name and password at least Have one it is incorrect when, then login failure, i.e., do not realize successfully login mode have it is a variety of.This is logined successfully and login failure Be required to be tested, and the test of login failure also need to be related to different reasons caused by login failure, that is, be divided into account Name mistake, password are correct, and account name is correct, code error, three kinds of account name mistake, code error scenes, to ensure in account When name and/or code error, it can not log in.The unique scene and the need of the various scenes of login failure that this is logined successfully Want test parameter to be edited into document, form the storage of interface parameters document and arrive terminal.Wherein account name and password are joined as interface The parametric variable of number document, the wrong or correct value of parametric variable is variate-value, and terminal can be tablet personal computer, removable computer Deng.By the interface parameters document of this storage, when generating interface testing use-case according to it, it can be ensured that the interface testing of generation is used Example can cover comprehensively test in need scene.
Generation module 20, for according to the multiple test cases of interface parameters document structure tree, and judge in multiple test cases With the presence or absence of duplicate keys;
Further, after the interface parameters document of interface to be tested of storage is obtained, generation module 20 is according to this interface The multiple test cases of parameter document structure tree.Wherein generating multiple test cases can be by PICT instruments ((Pairwise Independent Combinatorial Testing tool)) realize, program code realization can be also write by developer. Specifically, interface parameters document includes the parametric variable for characterization parameter number, and multiple values of parameters, i.e., Multiple variate-values of parametric variable.Supplemented by assistant solution, be illustrated with a specific embodiment, refer to Fig. 7, parametric variable includes Account name and password, corresponding two variate-values of account name, are respectively correct and mistake, that is, characterize the correctness and mistake of account name Property;Password also corresponds to two variable names, is respectively correct and mistake, to characterize the correctness of password and error resistance.To each parameter Each variate-value of variable is arranged, and generates multiple test cases.I.e. by correct, mistake the variate-value and password of account name Correctly, the variate-value of mistake is arranged, and obtains 4 kinds of different combinations, and this 4 kinds of different combinations are 4 groups of test cases.And 1st group of test case is used to represent the test scene that account name and password correctly login successfully, the 2nd~4 group of test case For the test scene for the login failure for representing account name and/or code error.In addition, it is contemplated that in docking port parameter document When each variate-value of each parametric variable carries out permutation and combination generation test case, in fact it could happen that the situation of the test case repeated, Such as occur that two groups of account names are correct, the test case of code error.And for account name is correct, situation of code error, test When only need one group of correct account name of input and the password of mistake, system feedback login failure, you can determine that interface can be realized Account name is correct, the scene of the login failure of code error, it is not necessary to is tested by two groups.Two groups of repetitions of this generation Test case increase test when workload, can be to this multiple test so as to which the present embodiment is after multiple test cases are generated Judged in use-case with the presence or absence of duplicate keys, to avoid carrying out retest.
Module 30 is rejected, for when duplicate keys be present in multiple test cases, the test case of duplicate keys being rejected, shape Into target detection use-case.
Further, when duplicate keys be present in the multiple test cases for judging generation, module 30 is rejected then by this The test case repeated is rejected from multiple test cases of generation, only retains one in the test case repeated, to ensure Its uniqueness.This remaining test case after deleting the test case repeated is that can cover interface testing scene comprehensively Test case, interface testing is carried out as target detection use-case.And do not deposited when in the multiple test cases for judging generation In duplicate keys, illustrate the test case of generation to be unique and interface testing scene can be covered comprehensively, it is not necessary to carry out rejecting behaviour Make, directly can carry out interface testing using multiple test cases of generation as target detection use-case.By by test case Duplicate keys are rejected, and form target detection use-case, it is ensured that the uniqueness of test case, avoid the retest to Same Scene, carry High testing efficiency.
The generating means of the interface testing use-case of the present embodiment, when receiving generation instruction, acquisition module 10 is obtained and deposited The interface parameters document in the interface to be tested of terminal is stored up, while generation module 20 is according to the multiple tests of interface parameters document structure tree Use-case, judge to whether there is the test case repeated in multiple test cases of this generation, when the test case repeated be present, Reject the test case that module 30 repeats this to reject, form target detection use-case.This programme is automatic according to interface parameters document Test case is generated, the test scene that the test case of generation is covered is comprehensive, prevents from omitting and avoids tester from compiling manually Test case is write, while reducing tester's workload;By by the repetition entry deletion in test case, it is ensured that each survey The uniqueness of examination hall scape test case, avoids retest, improves testing efficiency.
Reference picture 6, Fig. 6 are the device structure schematic diagrams for the hardware running environment that present invention method is related to.
The generation equipment of interface testing use-case of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, The terminal devices such as E-book reader, pocket computer.
As shown in fig. 6, the generation equipment of the interface testing use-case can include:Processor 1001, such as CPU, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize that the connection between processor 1001 and memory 1005 is led to Letter.Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), example Such as magnetic disk storage.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Alternatively, the generation equipment of the interface testing use-case can also include user interface, network interface, camera, RF (Radio Frequency, radio frequency) circuit, sensor, voicefrequency circuit, WiFi module etc..User interface can include display Shield (Display), input block such as keyboard (Keyboard), optional user interface can also include standard wireline interface, Wave point.Network interface can optionally include wireline interface, the wave point (such as WI-FI interfaces) of standard.
It will be understood by those skilled in the art that the generation device structure of the interface testing use-case shown in Fig. 6 is not formed The restriction of the generation equipment of docking port test case, it can include than illustrating more or less parts, or some portions of combination Part, or different parts arrangement.
As shown in fig. 6, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network Believe module and the generation program of interface testing use-case.Operating system is that management and the generation equipment of control interface test case are hard The program of part and software resource, the operation of the generation program and other softwares and/or program of supporting interface test case.Network Communication module is used to realizing the communication between each component in the inside of memory 1005, and with the generation equipment of interface testing use-case Communicated between other hardware and softwares.
In the generation equipment of the interface testing use-case shown in Fig. 6, processor 1001 is used to perform to deposit in memory 1005 The generation program of the interface testing use-case of storage, realizes following steps:
When receiving generation instruction, the interface parameters document for the interface to be tested for being stored in terminal is obtained;
According to the multiple test cases of interface parameters document structure tree, and judge to whether there is duplicate keys in multiple test cases;
When duplicate keys being present in multiple test cases, the test case repeated being rejected, forms target detection use-case.
Further, the step of test case multiple according to interface parameters document structure tree includes:
Each variate-value of each parametric variable in interface parameters document is obtained, each variate-value of each parametric variable is arranged Row, generate multiple test cases.
Further, it is described to judge to include the step of whether there is duplicate keys in multiple test cases:
Obtain each individual event parameter of each test case, and the numerical value by each individual event Parameter Switch for preset format;
The numerical value of each individual event parameter after conversion is integrated into sequence of values, and judged in the sequence of values of each test case With the presence or absence of identical sequence of values, when identical sequence of values be present, judge duplicate keys be present in multiple test cases.
Further, after the step of formation target detection use-case, processor 1001 is used to perform memory 1005 The generation program of the interface testing use-case of middle storage, realizes following steps:
Target detection use-case is transferred under predetermined directory and stored, and when receiving test instruction, reads target detection Each individual event parameter in use-case is tested.
Further, it is described when receiving generation instruction, obtain the interface parameters for the interface to be tested for being stored in terminal Before the step of document, processor 1001 is used for the generation program for performing the interface testing use-case stored in memory 1005, real Existing following steps:
Receiving interface parameter document, and judge whether the form of parameter in interface parameters document is correct, when interface parameters text When the form of parameter is correct in shelves, by the storage of interface parameters document in the terminal.
Further, the test case by duplicate keys is deleted, after the step of forming target detection use-case, processor The 1001 generation program for performing the interface testing use-case stored in memory 1005, realize following steps:
Interface management platform is uploaded to using target detection use-case as the interface message of interface to be tested, for interface management The interface message that platform treats test interface is managed.
Further, it is described to upload to interface management platform using target detection use-case as the interface message of its corresponding interface The step of after, processor 1001 is used to perform the generation program of the interface testing use-case stored in memory 1005, realize with Lower step:
When the modification for receiving docking port parameter document instructs, new target is formed according to the interface parameters document of modification Test case;
By new target detection use-case synchronized upload to interface management platform, with the interface message in docking port management platform It is updated.
The generation equipment embodiment of interface testing use-case of the present invention and the generation method of above-mentioned interface testing use-case Each embodiment is essentially identical, will not be repeated here.
The invention provides a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing is stored with one or more than one journey Sequence, one either more than one program can also by one or more than one computing device for:
When receiving generation instruction, the interface parameters document for the interface to be tested for being stored in terminal is obtained;
According to the multiple test cases of interface parameters document structure tree, and judge to whether there is duplicate keys in multiple test cases;
When duplicate keys being present in multiple test cases, the test case repeated being rejected, forms target detection use-case.
Further, the step of test case multiple according to interface parameters document structure tree includes:
Each variate-value of each parametric variable in interface parameters document is obtained, each variate-value of each parametric variable is arranged Row, generate multiple test cases.
Further, it is described to judge to include the step of whether there is duplicate keys in multiple test cases:
Obtain each individual event parameter of each test case, and the numerical value by each individual event Parameter Switch for preset format;
The numerical value of each individual event parameter after conversion is integrated into sequence of values, and judged in the sequence of values of each test case With the presence or absence of identical sequence of values, when identical sequence of values be present, judge duplicate keys be present in multiple test cases.
Further, after the step of formation target detection use-case, one or more than one program may be used also By one or more than one computing device for:
Target detection use-case is transferred under predetermined directory and stored, and when receiving test instruction, reads target detection Each individual event parameter in use-case is tested.
Further, it is described when receiving generation instruction, obtain the interface parameters for the interface to be tested for being stored in terminal Before the step of document, one either more than one program can also by one or more than one computing device with In:
Receiving interface parameter document, and judge whether the form of parameter in interface parameters document is correct, when interface parameters text When the form of parameter is correct in shelves, by the storage of interface parameters document in the terminal.
Further, the test case by duplicate keys is deleted, after the step of forming target detection use-case, described one Individual either more than one program can also by one or more than one computing device for:
Interface management platform is uploaded to using target detection use-case as the interface message of interface to be tested, for interface management The interface message that platform treats test interface is managed.
Further, it is described to upload to interface management platform using target detection use-case as the interface message of its corresponding interface The step of after, one either more than one program can also by one or more than one computing device for:
When the modification for receiving docking port parameter document instructs, new target is formed according to the interface parameters document of modification Test case;
By new target detection use-case synchronized upload to interface management platform, with the interface message in docking port management platform It is updated.
Readable storage medium storing program for executing embodiment of the present invention and each embodiment base of generation method of above-mentioned interface testing use-case This is identical, will not be repeated here.
It should also be noted that, herein, term " comprising ", "comprising" or its any other variant are intended to non- It is exclusive to include, so that process, method, article or device including a series of elements not only include those key elements, But also the other element including being not expressly set out, or also include solid by this process, method, article or device Some key elements.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including Other identical element also be present in the process of the key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every at this Under the design of invention, the equivalent structure transformation made using description of the invention and accompanying drawing content, or directly/it is used in indirectly He is included in the scope of patent protection of the present invention related technical field.

Claims (10)

  1. A kind of 1. generation method of interface testing use-case, it is characterised in that the generation method of the interface testing use-case include with Lower step:
    When receiving generation instruction, the interface parameters document for the interface to be tested for being stored in terminal is obtained;
    According to the multiple test cases of interface parameters document structure tree, and judge to whether there is duplicate keys in multiple test cases;
    When duplicate keys being present in multiple test cases, the test case repeated being rejected, forms target detection use-case.
  2. 2. the generation method of interface testing use-case as claimed in claim 1, it is characterised in that described according to interface parameters document The step of generating multiple test cases includes:
    Each variate-value of each parametric variable in interface parameters document is obtained, each variate-value of each parametric variable is arranged, it is raw Into multiple test cases.
  3. 3. the generation method of interface testing use-case as claimed in claim 1, it is characterised in that described to judge multiple test cases In the step of whether there is duplicate keys include:
    Obtain each individual event parameter of each test case, and the numerical value by each individual event Parameter Switch for preset format;
    The numerical value of each individual event parameter after conversion is integrated into sequence of values, and judge in the sequence of values of each test case whether Identical sequence of values being present, when identical sequence of values be present, judging duplicate keys be present in multiple test cases.
  4. 4. the generation method of interface testing use-case as claimed in claim 1, it is characterised in that the formation target detection use-case The step of after include:
    Target detection use-case is transferred under predetermined directory and stored, and when receiving test instruction, reads target detection use-case In each individual event parameter tested.
  5. 5. the generation method of the interface testing use-case as described in claim any one of 1-4, it is characterised in that described to receive Generation instruction when, obtain be stored in terminal interface to be tested interface parameters document the step of before include:
    Receiving interface parameter document, and judge whether the form of parameter in interface parameters document is correct, when in interface parameters document When the form of parameter is correct, by the storage of interface parameters document in the terminal.
  6. 6. the generation method of the interface testing use-case as described in claim any one of 1-4, it is characterised in that described by duplicate keys Test case delete, formed target detection use-case the step of after include:
    Interface management platform is uploaded to using target detection use-case as the interface message of interface to be tested, for interface management platform The interface message for treating test interface is managed.
  7. 7. the generation method of interface testing use-case as claimed in claim 6, it is characterised in that described to make target detection use-case Include after the step of uploading to interface management platform for the interface message of its corresponding interface:
    When the modification for receiving docking port parameter document instructs, new target detection is formed according to the interface parameters document of modification Use-case;
    By new target detection use-case synchronized upload to interface management platform, carried out with the interface message in docking port management platform Renewal.
  8. 8. a kind of generating means of interface testing use-case, it is characterised in that the generating means of the interface testing use-case include:
    Acquisition module, for when receiving generation instruction, obtaining the interface parameters document for the interface to be tested for being stored in terminal;
    Generation module, for according to the multiple test cases of interface parameters document structure tree, and judge whether deposited in multiple test cases In duplicate keys;
    Module being rejected, for when duplicate keys be present in multiple test cases, the test case of duplicate keys to be rejected, forming target Test case.
  9. 9. a kind of generation equipment of interface testing use-case, it is characterised in that the generation equipment of the interface testing use-case includes:Deposit Reservoir, processor, the generation program of communication bus and the interface testing use-case being stored on the memory;
    The communication bus is used to realize the connection communication between processor and memory;
    The processor is used for the generation program for performing the interface testing use-case, to realize such as any one of claim 1-7 The step of generation method of described interface testing use-case.
  10. 10. a kind of readable storage medium storing program for executing, it is characterised in that the computer class is read to be stored with interface testing use-case in storage medium Generation program, any one of realized when the generation program of the interface testing use-case is executed by processor such as claim 1-7 The step of generation method of described interface testing use-case.
CN201711094137.8A 2017-11-08 2017-11-08 Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case Pending CN107894952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711094137.8A CN107894952A (en) 2017-11-08 2017-11-08 Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711094137.8A CN107894952A (en) 2017-11-08 2017-11-08 Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case

Publications (1)

Publication Number Publication Date
CN107894952A true CN107894952A (en) 2018-04-10

Family

ID=61804670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711094137.8A Pending CN107894952A (en) 2017-11-08 2017-11-08 Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case

Country Status (1)

Country Link
CN (1) CN107894952A (en)

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829601A (en) * 2018-06-21 2018-11-16 北京五八信息技术有限公司 Generate method, apparatus, equipment and the readable storage medium storing program for executing of test case structure
CN109254920A (en) * 2018-09-06 2019-01-22 上海精数信息科技有限公司 Interface testing case generation method, device, electronic equipment, storage medium
CN109388561A (en) * 2018-09-18 2019-02-26 深圳壹账通智能科技有限公司 Interface testing case generation method, device, computer equipment and storage medium
CN109408309A (en) * 2018-10-18 2019-03-01 北京海泰方圆科技股份有限公司 The test method and device of multiple terminals
CN109446060A (en) * 2018-09-13 2019-03-08 百富计算机技术(深圳)有限公司 A kind of generation method, terminal device and the storage medium of server-side test use cases
CN109522210A (en) * 2018-09-29 2019-03-26 中国平安人寿保险股份有限公司 Interface testing parameters analysis method, device, electronic device and storage medium
CN109522220A (en) * 2018-10-23 2019-03-26 中国银行股份有限公司 A kind of text test method and device
CN109634841A (en) * 2018-10-26 2019-04-16 平安科技(深圳)有限公司 Electronic device, automatic interface testing method and storage medium
CN109815121A (en) * 2018-12-15 2019-05-28 中国平安人寿保险股份有限公司 Interface automatic test cases generation method and relevant device
CN109828902A (en) * 2018-12-15 2019-05-31 中国平安人寿保险股份有限公司 Interface parameters determines method, apparatus, electronic equipment and storage medium
CN109902026A (en) * 2019-03-27 2019-06-18 北京奇艺世纪科技有限公司 A kind of processing method and test platform of interface testing information
CN110059011A (en) * 2019-04-22 2019-07-26 泰康保险集团股份有限公司 Interface test method, device, medium and electronic equipment
CN110083527A (en) * 2019-03-18 2019-08-02 平安普惠企业管理有限公司 A kind of generation method and device, electronic equipment of test case
CN110618903A (en) * 2018-06-19 2019-12-27 北京忆恒创源科技有限公司 Electronic equipment testing method and device
CN110647471A (en) * 2019-09-26 2020-01-03 招商局金融科技有限公司 Interface test case generation method, electronic device and storage medium
CN110874318A (en) * 2018-08-31 2020-03-10 浙江宇视科技有限公司 Software testing method and device and computer readable storage medium
CN110879785A (en) * 2019-11-25 2020-03-13 斑马网络技术有限公司 Method for generating interface test scene set
CN110955416A (en) * 2019-10-12 2020-04-03 平安普惠企业管理有限公司 Interface document generation method, device, equipment and computer storage medium
CN111221721A (en) * 2018-11-27 2020-06-02 中国移动通信集团上海有限公司 Automatic recording and executing method and device for unit test cases
CN111221742A (en) * 2020-01-19 2020-06-02 中国平安人寿保险股份有限公司 Test case updating method and device, storage medium and server
CN111221718A (en) * 2018-11-23 2020-06-02 鸿合科技股份有限公司 Interface testing method and device
CN111221743A (en) * 2020-03-18 2020-06-02 时时同云科技(成都)有限责任公司 Automatic testing method and system
CN111258907A (en) * 2020-01-20 2020-06-09 黑龙江连特科技有限公司 Automobile instrument testing method, device and equipment
CN111459812A (en) * 2020-03-30 2020-07-28 招商局金融科技有限公司 Interface test case generation method, electronic device and storage medium
CN111475402A (en) * 2020-03-17 2020-07-31 中国平安人寿保险股份有限公司 Program function testing method and related device
CN111506498A (en) * 2020-03-16 2020-08-07 平安科技(深圳)有限公司 Automatic generation method and device of test case, computer equipment and storage medium
CN111737137A (en) * 2020-06-24 2020-10-02 重庆紫光华山智安科技有限公司 Interface test data generation method and device, host and storage medium
CN111858288A (en) * 2019-04-25 2020-10-30 深圳兆日科技股份有限公司 Test case optimization method, device and equipment and computer readable storage medium
CN111881022A (en) * 2020-07-07 2020-11-03 上海中通吉网络技术有限公司 Method, device and equipment for generating test case based on test scene
CN111897712A (en) * 2020-06-20 2020-11-06 中国建设银行股份有限公司 Test case generation method and device, electronic equipment and readable storage medium
CN112131091A (en) * 2019-06-24 2020-12-25 百度在线网络技术(北京)有限公司 Test method and device and electronic equipment
WO2021003818A1 (en) * 2019-07-08 2021-01-14 平安科技(深圳)有限公司 Interface test case generating method and apparatus, computer device, and storage medium
CN113419970A (en) * 2021-08-24 2021-09-21 卡斯柯信号(北京)有限公司 Interface fault testing method and device
CN113704095A (en) * 2021-08-08 2021-11-26 中国航空工业集团公司沈阳飞机设计研究所 Automatic generation method and device for automatic interface test case
CN113934618A (en) * 2020-07-14 2022-01-14 深圳兆日科技股份有限公司 Interface test case generation method, device, generator and readable storage medium
CN115687140A (en) * 2022-11-10 2023-02-03 江苏衫数科技集团有限公司 Test case compiling method and system based on automatic test

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055522A (en) * 2007-05-31 2007-10-17 杭州华三通信技术有限公司 Method and device for automatically generating unit test sample
CN106354634A (en) * 2016-08-25 2017-01-25 青岛海信传媒网络技术有限公司 Interface testing method and device
US20170052884A1 (en) * 2015-08-20 2017-02-23 Ca, Inc. Generic test automation for restful web services applications
CN107102941A (en) * 2017-03-30 2017-08-29 腾讯科技(深圳)有限公司 The generation method and device of a kind of test case

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055522A (en) * 2007-05-31 2007-10-17 杭州华三通信技术有限公司 Method and device for automatically generating unit test sample
US20170052884A1 (en) * 2015-08-20 2017-02-23 Ca, Inc. Generic test automation for restful web services applications
CN106354634A (en) * 2016-08-25 2017-01-25 青岛海信传媒网络技术有限公司 Interface testing method and device
CN107102941A (en) * 2017-03-30 2017-08-29 腾讯科技(深圳)有限公司 The generation method and device of a kind of test case

Cited By (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618903A (en) * 2018-06-19 2019-12-27 北京忆恒创源科技有限公司 Electronic equipment testing method and device
CN108829601A (en) * 2018-06-21 2018-11-16 北京五八信息技术有限公司 Generate method, apparatus, equipment and the readable storage medium storing program for executing of test case structure
CN110874318A (en) * 2018-08-31 2020-03-10 浙江宇视科技有限公司 Software testing method and device and computer readable storage medium
CN110874318B (en) * 2018-08-31 2023-10-24 浙江宇视科技有限公司 Software testing method and device and computer readable storage medium
CN109254920A (en) * 2018-09-06 2019-01-22 上海精数信息科技有限公司 Interface testing case generation method, device, electronic equipment, storage medium
CN109446060A (en) * 2018-09-13 2019-03-08 百富计算机技术(深圳)有限公司 A kind of generation method, terminal device and the storage medium of server-side test use cases
CN109446060B (en) * 2018-09-13 2021-09-24 百富计算机技术(深圳)有限公司 Method for generating server side test case suite, terminal device and storage medium
CN109388561A (en) * 2018-09-18 2019-02-26 深圳壹账通智能科技有限公司 Interface testing case generation method, device, computer equipment and storage medium
CN109522210A (en) * 2018-09-29 2019-03-26 中国平安人寿保险股份有限公司 Interface testing parameters analysis method, device, electronic device and storage medium
CN109408309A (en) * 2018-10-18 2019-03-01 北京海泰方圆科技股份有限公司 The test method and device of multiple terminals
CN109522220A (en) * 2018-10-23 2019-03-26 中国银行股份有限公司 A kind of text test method and device
CN109634841A (en) * 2018-10-26 2019-04-16 平安科技(深圳)有限公司 Electronic device, automatic interface testing method and storage medium
CN109634841B (en) * 2018-10-26 2024-03-12 平安科技(深圳)有限公司 Electronic device, interface automatic test method and storage medium
CN111221718A (en) * 2018-11-23 2020-06-02 鸿合科技股份有限公司 Interface testing method and device
CN111221721B (en) * 2018-11-27 2023-09-05 中国移动通信集团上海有限公司 Automatic recording and executing method and device for unit test cases
CN111221721A (en) * 2018-11-27 2020-06-02 中国移动通信集团上海有限公司 Automatic recording and executing method and device for unit test cases
CN109815121A (en) * 2018-12-15 2019-05-28 中国平安人寿保险股份有限公司 Interface automatic test cases generation method and relevant device
CN109828902A (en) * 2018-12-15 2019-05-31 中国平安人寿保险股份有限公司 Interface parameters determines method, apparatus, electronic equipment and storage medium
CN109828902B (en) * 2018-12-15 2023-05-26 中国平安人寿保险股份有限公司 Interface parameter determining method and device, electronic equipment and storage medium
CN109815121B (en) * 2018-12-15 2023-07-18 中国平安人寿保险股份有限公司 Interface automation test case generation method and related equipment
CN110083527A (en) * 2019-03-18 2019-08-02 平安普惠企业管理有限公司 A kind of generation method and device, electronic equipment of test case
CN109902026A (en) * 2019-03-27 2019-06-18 北京奇艺世纪科技有限公司 A kind of processing method and test platform of interface testing information
CN110059011A (en) * 2019-04-22 2019-07-26 泰康保险集团股份有限公司 Interface test method, device, medium and electronic equipment
CN111858288A (en) * 2019-04-25 2020-10-30 深圳兆日科技股份有限公司 Test case optimization method, device and equipment and computer readable storage medium
CN112131091A (en) * 2019-06-24 2020-12-25 百度在线网络技术(北京)有限公司 Test method and device and electronic equipment
CN112131091B (en) * 2019-06-24 2024-04-16 百度在线网络技术(北京)有限公司 Test method and device and electronic equipment
WO2021003818A1 (en) * 2019-07-08 2021-01-14 平安科技(深圳)有限公司 Interface test case generating method and apparatus, computer device, and storage medium
CN110647471A (en) * 2019-09-26 2020-01-03 招商局金融科技有限公司 Interface test case generation method, electronic device and storage medium
CN110955416A (en) * 2019-10-12 2020-04-03 平安普惠企业管理有限公司 Interface document generation method, device, equipment and computer storage medium
CN110879785B (en) * 2019-11-25 2023-05-30 斑马网络技术有限公司 Method for generating interface test scene set
CN110879785A (en) * 2019-11-25 2020-03-13 斑马网络技术有限公司 Method for generating interface test scene set
CN111221742B (en) * 2020-01-19 2024-06-07 中国平安人寿保险股份有限公司 Test case updating method and device, storage medium and server
CN111221742A (en) * 2020-01-19 2020-06-02 中国平安人寿保险股份有限公司 Test case updating method and device, storage medium and server
CN111258907A (en) * 2020-01-20 2020-06-09 黑龙江连特科技有限公司 Automobile instrument testing method, device and equipment
CN111506498B (en) * 2020-03-16 2022-06-21 平安科技(深圳)有限公司 Automatic generation method and device of test case, computer equipment and storage medium
CN111506498A (en) * 2020-03-16 2020-08-07 平安科技(深圳)有限公司 Automatic generation method and device of test case, computer equipment and storage medium
CN111475402B (en) * 2020-03-17 2024-09-06 中国平安人寿保险股份有限公司 Program function testing method and related device
CN111475402A (en) * 2020-03-17 2020-07-31 中国平安人寿保险股份有限公司 Program function testing method and related device
CN111221743A (en) * 2020-03-18 2020-06-02 时时同云科技(成都)有限责任公司 Automatic testing method and system
CN111459812A (en) * 2020-03-30 2020-07-28 招商局金融科技有限公司 Interface test case generation method, electronic device and storage medium
CN111897712A (en) * 2020-06-20 2020-11-06 中国建设银行股份有限公司 Test case generation method and device, electronic equipment and readable storage medium
CN111737137B (en) * 2020-06-24 2023-04-07 重庆紫光华山智安科技有限公司 Interface test data generation method and device, host and storage medium
CN111737137A (en) * 2020-06-24 2020-10-02 重庆紫光华山智安科技有限公司 Interface test data generation method and device, host and storage medium
CN111881022A (en) * 2020-07-07 2020-11-03 上海中通吉网络技术有限公司 Method, device and equipment for generating test case based on test scene
CN113934618A (en) * 2020-07-14 2022-01-14 深圳兆日科技股份有限公司 Interface test case generation method, device, generator and readable storage medium
CN113704095A (en) * 2021-08-08 2021-11-26 中国航空工业集团公司沈阳飞机设计研究所 Automatic generation method and device for automatic interface test case
CN113419970A (en) * 2021-08-24 2021-09-21 卡斯柯信号(北京)有限公司 Interface fault testing method and device
CN115687140B (en) * 2022-11-10 2024-01-30 江苏衫数科技集团有限公司 Test case writing method and system based on automatic test
CN115687140A (en) * 2022-11-10 2023-02-03 江苏衫数科技集团有限公司 Test case compiling method and system based on automatic test

Similar Documents

Publication Publication Date Title
CN107894952A (en) Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case
CN113688006B (en) Log data verification method and device
CN102750486B (en) Method and device for updating login information by login control
CN109509021A (en) Abnormality recognition method, device, server and the storage medium of Behavior-based control track
CN109308285A (en) Database script management method, device, computer equipment and storage medium
CN105045602B (en) Method and device for constructing Hadoop application development framework and electronic device
CN109726105A (en) Test data building method, device, equipment and storage medium
CN113268336B (en) Service acquisition method, device, equipment and readable medium
CN110083526A (en) Applied program testing method, device, computer installation and storage medium
CN106960143A (en) The recognition methods of user account and device, storage medium, electronic equipment
CN109783357A (en) The method and device of test application program, computer equipment, storage medium
CN110022315A (en) Weight management method, device and equipment in a kind of piece of chain type account book
CN105095207A (en) Methods for retrieving and obtaining contents of application software, and devices for retrieving and obtaining contents of application software
CN107632827A (en) The generation method and device of the installation kit of application
CN110502514A (en) Collecting method, device, equipment and computer readable storage medium
CN110515755A (en) Interface function verification method, device, equipment and computer readable storage medium
CN110457312A (en) Acquisition method, device, equipment and the readable storage medium storing program for executing of diversiform data
CN105993156A (en) Server access authentication method and device
CN106066802A (en) A kind of method and apparatus loading MBN file
CN110019533A (en) Synchronous scenario generation method, device, equipment and computer readable storage medium
CN111475402B (en) Program function testing method and related device
CN107341645A (en) Demand of human resources information processing method, device, computer equipment and storage medium
CN110569416A (en) APP control processing method based on data crawling and related product
CN110502513A (en) Collecting method, device, equipment and computer readable storage medium
CN115391188A (en) Scene test case generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180410