CN109960653A - Regression testing method, device, equipment and storage medium - Google Patents

Regression testing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109960653A
CN109960653A CN201910120491.6A CN201910120491A CN109960653A CN 109960653 A CN109960653 A CN 109960653A CN 201910120491 A CN201910120491 A CN 201910120491A CN 109960653 A CN109960653 A CN 109960653A
Authority
CN
China
Prior art keywords
test
history
log information
result
history log
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
CN201910120491.6A
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.)
Tianjin 58 Home Technology Co Ltd
Original Assignee
Tianjin 58 Home Technology Co 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 Tianjin 58 Home Technology Co Ltd filed Critical Tianjin 58 Home Technology Co Ltd
Priority to CN201910120491.6A priority Critical patent/CN109960653A/en
Publication of CN109960653A publication Critical patent/CN109960653A/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
    • 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/368Test management for test version control, e.g. updating test cases to a new software version
    • 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/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of regression testing method, device, equipment and storage mediums.The described method includes: obtaining the history log information before current time in preset duration;The history log information includes: input parameter and history output result;The test request generated based on the input parameter;Test macro is treated according to the test request and carries out regression test, obtains test output result;It obtains the history output result and the test output result compares the comparing result of generation.Through the above technical solutions, tester is not necessarily to design test case, but regression test is carried out by treating test macro using history log information, so as to the accuracy rate of regression test, mitigates tester's workload, improve the testing efficiency of regression test.

Description

Regression testing method, device, equipment and storage medium
Technical field
The present embodiments relate to Internet technical fields more particularly to regression testing method, device, equipment and storage to be situated between Matter.
Background technique
In software life-cycle, software developer as needed upgrades software.Complete the upgrading to software Afterwards, it needs to carry out regression test to new version software, to ensure that required function may be implemented in new version software.
In the prior art, when partial function carries out upgrading optimization in software, the usual emphasis of tester is directed to quilt Optimization partial function is tested.In practical applications, the optimization of partial function may influence normally making for other original functions With, therefore also need to carry out regression test to original function.When carrying out regression test to original function, tester is generally required Design test case is taken a long time according to test experience, but may be unreasonable because of test case, lead to acquisition Regression test result inaccuracy.
Based on above scheme, needs one kind that can quickly select reasonable test case, efficiently and accurately returned The scheme of test.
Summary of the invention
To solve the above-mentioned problems, the embodiment of the present invention provides a kind of regression testing method, device, equipment and storage and is situated between Matter efficiently and accurately carries out the scheme of regression test can quickly select reasonable test case.
In a first aspect, the embodiment of the present invention provides a kind of regression testing method, this method comprises:
History log information before acquisition current time in preset duration;The history log information includes: input parameter Result is exported with history;
The test request generated based on the input parameter;
Test macro is treated according to the test request and carries out regression test, obtains test output result;
It obtains the history output result and the test output result compares the comparing result of generation.
Second aspect, the embodiment of the present invention provide a kind of regression test device, which includes:
First obtains module, for obtaining the history log information before current time in preset duration;The history log Information includes: input parameter and history output result;
Generation module, the test request for being generated based on the input parameter;
Second obtains module, carries out regression test for treating test macro according to the test request, it is defeated to obtain test Result out;
Third obtains module, compares generation for obtaining the history output result and test output result Comparing result.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor, memory, and the memory is used In storing one or more computer instruction, wherein real when one or more computer instruction is executed by the processor It is existing:
History log information before acquisition current time in preset duration;The history log information includes: input parameter Result is exported with history;
The test request generated based on the input parameter;
Test macro is treated according to the test request and carries out regression test, obtains test output result;
It obtains the history output result and the test output result compares the comparing result of generation.
Fourth aspect, the embodiment of the invention provides a kind of computer storage mediums, described for storing computer program The regression testing method in above-mentioned first aspect is realized when computer program executes computer.
In embodiments of the present invention, by the history log information in preset duration before acquisition current time, by the history Log information treats test macro and carries out regression test as test case.The test of regression test is exported as a result, and history Include in log information history output result compare, so as to judged according to comparing result test system to be measured upgrading whether Success.Based on the above-mentioned technical proposal, tester is not necessarily to design test case, but by utilizing history log information to be measured Test system carries out regression test, so as to the accuracy rate of regression test, mitigates tester's workload, improves regression test Testing efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of regression testing method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of regression test device provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of electronic equipment corresponding with a kind of regression testing method that embodiment described in Fig. 1 provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning, " a variety of " generally comprise at least two, but not It excludes to include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Include, so that commodity or system including a series of elements not only include those elements, but also including not clear The other element listed, or further include for this commodity or the intrinsic element of system.In the feelings not limited more Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity or system for including the element also There are other identical elements.
Fig. 1 is a kind of flow diagram of regression testing method provided in an embodiment of the present invention, as shown in Figure 1, this method The following steps are included:
101: the history log information before acquisition current time in preset duration;The history log information includes: input Parameter and history export result.
Current time mentioned here, it can be understood as at the time for the treatment of test macro and tested.Preset duration is solid It fixes time length, such as 5 minutes or 10 minutes.History log information before current time in preset duration refers to to be measured Test system carries out the history log information generated in 5 minutes or 10 minutes before the test moment.In the history log information, including Input parameter and corresponding history output result, message identification, information generate the information such as time, need to history log information into Row pretreatment obtains required input parameter and history output result.
102: the test request generated based on the input parameter.
Test request mentioned here is the test request for the test case tested for test system to be measured.Here institute The input parameter said is identical as the parameter inputted into the system before upgrading.For different testing requirements, the survey of required generation The format for trying request may be different, for example, can be the request of HTTP format for the test of the query interface in system.
103: test macro being treated according to the test request and carries out regression test, obtains test output result.
In practical applications, test request is sent to test system to be measured and carries out regression test, and each test request is corresponding At least one test output result.Further, each test request and corresponding each test output result are saved.It needs to illustrate , tested interface (for example, query interface) and input parameter and test export result be all it is corresponding, be in general One-to-one relationship.Therefore, it in storage, needs to be stored according to corresponding relationship to together.
104: obtaining the history output result and the test output result compares the comparing result of generation.
After obtaining test output result, need to compare output result, to determine the recurrence of the test system to be measured It tests whether success, determines whether test system to be measured with the presence or absence of problem.If it is (specific pre- that comparing result meets preset standard Bidding standard is explained in the following embodiments), then it represents that test system to be measured can be used normally;If comparing result is not inconsistent Close preset standard, then it represents that test system to be measured can not normal use.
History log in one or more embodiment of the invention, before the acquisition current time in preset duration Information can specifically include: determining the configuration information of test interface according to the test system middle finger to be measured, obtains and call described specify History log information before test interface current time generated in preset duration.
In practical applications, the interface to be tested for including in test system to be measured is relatively more, for example, for carrying out data query Query interface, calling interface etc..The access of each interface can generate corresponding history log information.These history logs Information will be stored in respective memory space (such as database).In actual storage, it can be carried out according to interface class Individually storage.Corresponding history log information, and the history log that will acquire are obtained for nominative testing interface by above-mentioned Information can reduce the work of tester's nominative testing use-case as the subsequent test case treating test macro and being tested Amount.
In one or more embodiment of the invention, the nominative testing interface is query interface.The acquisition is worked as History log information before the preceding moment in preset duration, can specifically include: according to the inquiry configured in the test system to be measured Interface configuration information, obtained after being inquired by the query interface before current time for generating in preset duration described in go through History log information.
In practical applications, the query interface for including in some systems is relatively more, and query interface output result is opposite It is single and be less likely to occur to change.It therefore, can be through the above technical solutions, being carried out for the query interface in test system to be measured Test.Specifically, query interface configuration information in test system to be measured is obtained, it is known which having, inquiry to be tested is needed to connect Mouthful.It should be noted that (query interface that original system is not present newly adds in the test system to be measured after upgrading for newly-increased Query interface) query interface can not obtain its history log information, it is therefore desirable to tester individually formulates test case. Further, generated history log after each query interface to be tested realizes inquiry operation is obtained according to configuration information to believe Breath.In the system for being applied to data query, often there is more query interface, needle can be obviously improved using the above method To the testing efficiency of query interface in system.
In one or more embodiment of the invention, the acquisition generates after being inquired by the query interface Current time before the history log information in preset duration, can also include: the institute that real-time storage is marked with timestamp History log information is stated into database;Determine the time in each history log information between timestamp and current time Difference;If the time difference is more than the preset duration, the corresponding history log information is deleted from the database;It obtains Take the history log information before current time in preset duration.
In practical applications, the history log information of query interface can generate in real time.Because of the work operation of some systems It is to join with time correlation, it is possible different in different time output result even if identical input.In order to ensure to system to be tested System carries out the accuracy of regression test result, and the newest history log information for needing will acquire is as test case.Specifically For, the history log information newly got is stored in corresponding database in real time, history log information all bands are sometimes Between stab, so as to inquiry log detail.The preset duration that required history log information is obtained due to defining newly is obtained in storage While history log information, also the currently stored history log information timestamp more early obtained is checked.If certain The timestamp of history log information and the time difference between current time are more than preset duration, then delete and correspond to from database History log information, so as to ensure history log information obtained all before current time in preset duration, thus Promote the accuracy rate for treating test macro regression test result.
History log information in one or more embodiment of the invention, before acquisition current time in preset duration Later, can also include: the history log information before parsing current time in preset duration, obtain the input parameter with The corresponding history exports result;Wherein, the input parameter includes: user information, domain name.
In practical applications, it usually contains many information in the original history log information got, for example user name, steps on Land password, domain name, time and other relevant parameters etc..It needs to parse original history log information, so as to obtain Obtain required parameter.Parameter after parsing is divided into input parameter and historical output parameter, it is defeated according to input parameter and history Parameter is treated test macro and is tested out.For example, the user informations such as user name, modification logging and domain name input ginseng can be obtained Number;The historical output parameter inquired by specified query interface.It should be noted that being needed during use and storage Ensure the corresponding relationship inputted between parameter and historical output parameter.For example, being inputted by parsing history log information 1 Parameter 1 and corresponding historical output parameter 1, by parsing, history log information 2 obtains input parameter 2 and corresponding history exports Parameter 2, storage and use process in, need input parameter 1 with historical output parameter 1 and be associated with preservation, will input parameter 2 and The association of historical output parameter 2 saves.
In one or more embodiment of the invention, the test request generated based on the input parameter, tool Body may include: user information, the domain name obtained according to the input parameter is parsed, generate the test for being directed to the query interface Request.
In practical applications, user information (for example, the user related informations such as user name, modification logging) and domain name etc. are obtained After inputting parameter, further progress integration obtains the test request for query interface.In general, the form of test request It can be HTTP request format.Test request is obtained according to actual history log information, test macro is treated and is tested, it can While mitigating tester's workload, promoting regression test is accuracy rate.
It is described to obtain the history output result and test output in one or more embodiment of the invention As a result the comparing result for comparing generation, can specifically include: obtaining parse that the history log information obtains described and goes through History exports result;By the history output result for corresponding to the same query interface and the survey for deleting marking variable Examination output result carries out character string comparison, generates the comparing result.
Marking variable mentioned here, for example can be time identifier etc. can changed parameter.It is exported to history When as a result comparing with test output result, character string comparison can be carried out, therefore, it is necessary to carry out marking variable therein It deletes, interference regression test result can be avoided to avoid the accuracy for influencing comparing result because of marking variable.
In one or more embodiment of the invention, if it includes institute that the comparing result, which exports result for the test, History output is stated as a result, being then identified through the regression test to the test system to be measured.
In practical applications, result is exported for the test obtained of the same query interface by same group of input parameter May have it is multiple, if multiple test result include the history output of the corresponding same query interface as a result, if confirm the inquiry Interface is by treating the regression test of test macro.
Based on same thinking, as shown in Fig. 2, the embodiment of the present invention also provides a kind of regression test device, the device packet It includes:
First obtains module 21, for obtaining the history log information before current time in preset duration;The history day Will information includes: input parameter and history output result;
Generation module 22, the test request for being generated based on the input parameter;
Second obtains module 23, carries out regression test for treating test macro according to the test request, obtains test Export result;
Third obtains module 24, compares generation for obtaining the history output result and test output result Comparing result.
Further, first obtain module 21, for according to the test system middle finger to be measured determine test interface match confidence Breath obtains the history log information before calling the nominative testing interface current time generated in preset duration.
Further, the nominative testing interface is query interface;First obtains module 21, for according to described to be tested The query interface configuration information configured in system, it is pre- before the current time that acquisition generates after being inquired by the query interface If the history log information in duration.
Further, first module 21 is obtained, the history log information for being marked with timestamp for real-time storage arrives In database;
Determine the time difference in each history log information between timestamp and current time;
If the time difference is more than the preset duration, the corresponding history log letter is deleted from the database Breath;
The history log information before acquisition current time in preset duration.
It further, further include parsing module 25, for parsing the history log before current time in preset duration Information, obtains the input parameter and the corresponding history exports result;Wherein, the input parameter include: user information, Domain name.
Further, generation module 22, user information, domain name for obtaining according to the input parameter is parsed, generate For the test request of the query interface.
Further, third obtains module 24, defeated for obtaining the history that the parsing history log information obtains Result out;
By the history output result for corresponding to the same query interface and the test for deleting marking variable It exports result and carries out character string comparison, generate the comparing result.
Further, if the comparing result be the test export result include the history export as a result, if confirm Pass through the regression test to the test system to be measured.
Based on same thinking, as shown in figure 3, the embodiment of the present invention also provides a kind of electronic equipment, including processor 31, Memory 32, the memory 32 is for storing one or more computer instruction, wherein one or more computer refers to It enables and being realized when being executed by the processor 31:
History log information before acquisition current time in preset duration;The history log information includes: input parameter Result is exported with history;
The test request generated based on the input parameter;
Test macro is treated according to the test request and carries out regression test, obtains test output result;
It obtains the history output result and the test output result compares the comparing result of generation.
In addition, the embodiment of the invention provides a kind of computer storage medium, for computer software used in server Instruction, it includes for executing program involved in regression testing method in embodiment of the method shown in above-mentioned Fig. 1.
Based on the various embodiments described above it can be appreciated that passing through the history log letter in preset duration before acquisition current time Breath treats test macro and carries out regression test using the history log information as test case.The test of regression test is exported As a result, being compared with the history output result for including in history log information, to judge system to be tested according to comparing result Whether the upgrading of system succeeds.Based on the above-mentioned technical proposal, tester is not necessarily to design test case, but by utilizing history day Will information treats test macro and carries out regression test, so as to the accuracy rate of regression test, mitigates tester's workload, mentions The testing efficiency of high regression test.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of required general hardware platform is added, naturally it is also possible to which reality is come in conjunction with by way of hardware and software It is existing.Based on this understanding, substantially the part that contributes to existing technology can be to calculate in other words for above-mentioned technical proposal The form of machine product embodies, and it wherein includes the meter of computer usable program code that the present invention, which can be used in one or more, The computer journey implemented in calculation machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of sequence product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable resources more new equipment to produce A raw machine, so that being generated by the instruction that the processor of computer or other programmable resources more new equipment executes for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable resources more new equipment with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions can also be loaded on computer or other programmable resources more new equipment, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (11)

1. a kind of regression testing method, which is characterized in that the described method includes:
History log information before acquisition current time in preset duration;The history log information includes: input parameter and goes through History exports result;
The test request generated based on the input parameter;
Test macro is treated according to the test request and carries out regression test, obtains test output result;
It obtains the history output result and the test output result compares the comparing result of generation.
2. the method according to claim 1, wherein the history day before the acquisition current time in preset duration Will information, comprising:
The configuration information of test interface is determined according to the test system middle finger to be measured, obtains and the nominative testing interface is called to be generated Current time before history log information in preset duration.
3. according to the method described in claim 2, it is characterized in that, the nominative testing interface is query interface;
History log information before the acquisition current time in preset duration, comprising:
According to the query interface configuration information configured in the test system to be measured, after acquisition is inquired by the query interface The history log information before the current time of generation in preset duration.
4. according to the method described in claim 3, it is characterized in that, the acquisition is raw after being inquired by the query interface At current time before the history log information in preset duration, further includes:
Real-time storage is marked with the history log information of timestamp into database;
Determine the time difference in each history log information between timestamp and current time;
If the time difference is more than the preset duration, the corresponding history log information is deleted from the database;
The history log information before acquisition current time in preset duration.
5. according to the method described in claim 4, it is characterized in that, obtaining the history log letter before current time in preset duration After breath, further includes:
The history log information before current time in preset duration is parsed, the input parameter is obtained and corresponding described is gone through History exports result;Wherein, the input parameter includes: user information, domain name.
6. according to the method described in claim 5, it is characterized in that, it is described based on it is described input parameter generate test request, Include:
User information, the domain name obtained according to the input parameter is parsed, generates the test request for being directed to the query interface.
7. according to the method described in claim 5, it is characterized in that, the acquisition history output result and the test are defeated Result compares the comparing result of generation out, comprising:
It obtains and parses the history output result that the history log information obtains;
By the history output result for corresponding to the same query interface and the test output for deleting marking variable As a result character string comparison is carried out, the comparing result is generated.
8. the method according to claim 1, wherein further include:
If the comparing result be the test export result include the history export as a result, if be identified through to described to be measured The regression test of test system.
9. a kind of regression test device, which is characterized in that described device includes:
First obtains module, for obtaining the history log information before current time in preset duration;The history log information It include: input parameter and history output result;
Generation module, the test request for being generated based on the input parameter;
Second obtains module, carries out regression test for treating test macro according to the test request, obtains test output knot Fruit;
Third obtains module, compares the comparison of generation for obtaining the history output result and the test output result As a result.
10. a kind of computer storage medium, for storing computer program, the realization when computer program executes computer The above-mentioned regression testing method as described in right 1 to 8.
11. a kind of electronic equipment, which is characterized in that including processor, memory, the memory is for storing one or more Computer instruction, wherein one or more computer instruction is realized when being executed by the processor:
History log information before acquisition current time in preset duration;The history log information includes: input parameter and goes through History exports result;
The test request generated based on the input parameter;
Test macro is treated according to the test request and carries out regression test, obtains test output result;
It obtains the history output result and the test output result compares the comparing result of generation.
CN201910120491.6A 2019-02-18 2019-02-18 Regression testing method, device, equipment and storage medium Pending CN109960653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910120491.6A CN109960653A (en) 2019-02-18 2019-02-18 Regression testing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910120491.6A CN109960653A (en) 2019-02-18 2019-02-18 Regression testing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109960653A true CN109960653A (en) 2019-07-02

Family

ID=67023837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910120491.6A Pending CN109960653A (en) 2019-02-18 2019-02-18 Regression testing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109960653A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569189A (en) * 2019-08-22 2019-12-13 浙江数链科技有限公司 Regression testing method, device, computer equipment and storage medium
CN110659210A (en) * 2019-09-20 2020-01-07 深圳创维-Rgb电子有限公司 Information acquisition method and device, electronic equipment and storage medium
CN111177222A (en) * 2019-12-26 2020-05-19 腾讯云计算(北京)有限责任公司 Model testing method and device, computing equipment and storage medium
CN111240928A (en) * 2020-01-06 2020-06-05 上海闻泰信息技术有限公司 Automatic detection method, device and equipment for equipment drive and storage medium
CN111782546A (en) * 2020-07-23 2020-10-16 北京斗米优聘科技发展有限公司 Automatic interface testing method and device based on machine learning
CN112084114A (en) * 2020-09-16 2020-12-15 京东数字科技控股股份有限公司 Method and apparatus for testing an interface
CN112395151A (en) * 2019-08-19 2021-02-23 无锡飞翎电子有限公司 Clothes dryer, method and device for detecting installation state of filter screen of clothes dryer and storage medium
CN112631919A (en) * 2020-12-25 2021-04-09 广州品唯软件有限公司 Comparison test method and device, computer equipment and storage medium
CN112799953A (en) * 2021-02-08 2021-05-14 北京字节跳动网络技术有限公司 Interface testing method and device, computer equipment and storage medium
CN112860538A (en) * 2019-11-27 2021-05-28 北京沃东天骏信息技术有限公司 Method and device for performing interface regression test based on online log
CN112965910A (en) * 2021-03-19 2021-06-15 携程旅游信息技术(上海)有限公司 Automatic regression testing method and device, electronic equipment and storage medium
CN112994976A (en) * 2021-02-23 2021-06-18 北京百度网讯科技有限公司 Gateway testing method and device, electronic equipment and storage medium
CN113778777A (en) * 2020-06-28 2021-12-10 北京沃东天骏信息技术有限公司 Log playback method and device
CN114020608A (en) * 2021-10-27 2022-02-08 中国铁道科学研究院集团有限公司通信信号研究所 Railway CTC system background program regression test implementation method
TWI755702B (en) * 2020-04-06 2022-02-21 中華電信股份有限公司 Method for testing real data and computer-readable medium
CN114168565A (en) * 2021-12-10 2022-03-11 北京宇信科技集团股份有限公司 Backtracking test method, device and system of business rule model and decision engine
CN115061932A (en) * 2022-06-29 2022-09-16 中国联合网络通信集团有限公司 Regression testing method, device and equipment
CN117724989A (en) * 2024-02-18 2024-03-19 粤港澳大湾区数字经济研究院(福田) Regression testing method and device for interface, terminal and storage medium
CN117724989B (en) * 2024-02-18 2024-06-11 粤港澳大湾区数字经济研究院(福田) Regression testing method and device for interface, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6192108B1 (en) * 1997-09-19 2001-02-20 Mci Communications Corporation Performing automated testing using automatically generated logs
JP2011086083A (en) * 2009-10-15 2011-04-28 Hitachi Ltd Test device and test method
CN106445815A (en) * 2016-09-06 2017-02-22 合网络技术(北京)有限公司 Automated testing method and device
CN107908544A (en) * 2017-08-21 2018-04-13 中国平安人寿保险股份有限公司 A kind of use-case test method and terminal device
CN107908549A (en) * 2017-10-24 2018-04-13 北京小米移动软件有限公司 Method for generating test case, device and computer-readable recording medium
CN108304309A (en) * 2018-02-24 2018-07-20 中国农业银行股份有限公司 A kind of method and device of automation contrast test data
CN108319547A (en) * 2017-01-17 2018-07-24 阿里巴巴集团控股有限公司 Method for generating test case, device and system
CN108427882A (en) * 2018-03-13 2018-08-21 南京邮电大学 The Android software dynamic analysis detection method of Behavior-based control feature extraction
CN109344056A (en) * 2018-09-07 2019-02-15 武汉达梦数据库有限公司 A kind of test method and test device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6192108B1 (en) * 1997-09-19 2001-02-20 Mci Communications Corporation Performing automated testing using automatically generated logs
JP2011086083A (en) * 2009-10-15 2011-04-28 Hitachi Ltd Test device and test method
CN106445815A (en) * 2016-09-06 2017-02-22 合网络技术(北京)有限公司 Automated testing method and device
CN108319547A (en) * 2017-01-17 2018-07-24 阿里巴巴集团控股有限公司 Method for generating test case, device and system
CN107908544A (en) * 2017-08-21 2018-04-13 中国平安人寿保险股份有限公司 A kind of use-case test method and terminal device
CN107908549A (en) * 2017-10-24 2018-04-13 北京小米移动软件有限公司 Method for generating test case, device and computer-readable recording medium
CN108304309A (en) * 2018-02-24 2018-07-20 中国农业银行股份有限公司 A kind of method and device of automation contrast test data
CN108427882A (en) * 2018-03-13 2018-08-21 南京邮电大学 The Android software dynamic analysis detection method of Behavior-based control feature extraction
CN109344056A (en) * 2018-09-07 2019-02-15 武汉达梦数据库有限公司 A kind of test method and test device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董路迪: "基于用户日志分析的测试用例生成系统的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395151A (en) * 2019-08-19 2021-02-23 无锡飞翎电子有限公司 Clothes dryer, method and device for detecting installation state of filter screen of clothes dryer and storage medium
CN110569189A (en) * 2019-08-22 2019-12-13 浙江数链科技有限公司 Regression testing method, device, computer equipment and storage medium
CN110659210A (en) * 2019-09-20 2020-01-07 深圳创维-Rgb电子有限公司 Information acquisition method and device, electronic equipment and storage medium
CN112860538A (en) * 2019-11-27 2021-05-28 北京沃东天骏信息技术有限公司 Method and device for performing interface regression test based on online log
CN111177222A (en) * 2019-12-26 2020-05-19 腾讯云计算(北京)有限责任公司 Model testing method and device, computing equipment and storage medium
CN111177222B (en) * 2019-12-26 2023-03-03 腾讯云计算(北京)有限责任公司 Model testing method and device, computing equipment and storage medium
CN111240928A (en) * 2020-01-06 2020-06-05 上海闻泰信息技术有限公司 Automatic detection method, device and equipment for equipment drive and storage medium
CN111240928B (en) * 2020-01-06 2024-04-09 上海闻泰信息技术有限公司 Automatic detection method, device, equipment and storage medium for equipment drive
TWI755702B (en) * 2020-04-06 2022-02-21 中華電信股份有限公司 Method for testing real data and computer-readable medium
CN113778777A (en) * 2020-06-28 2021-12-10 北京沃东天骏信息技术有限公司 Log playback method and device
CN111782546B (en) * 2020-07-23 2021-10-01 北京斗米优聘科技发展有限公司 Automatic interface testing method and device based on machine learning
CN111782546A (en) * 2020-07-23 2020-10-16 北京斗米优聘科技发展有限公司 Automatic interface testing method and device based on machine learning
CN112084114A (en) * 2020-09-16 2020-12-15 京东数字科技控股股份有限公司 Method and apparatus for testing an interface
CN112631919A (en) * 2020-12-25 2021-04-09 广州品唯软件有限公司 Comparison test method and device, computer equipment and storage medium
CN112799953A (en) * 2021-02-08 2021-05-14 北京字节跳动网络技术有限公司 Interface testing method and device, computer equipment and storage medium
CN112994976A (en) * 2021-02-23 2021-06-18 北京百度网讯科技有限公司 Gateway testing method and device, electronic equipment and storage medium
CN112965910A (en) * 2021-03-19 2021-06-15 携程旅游信息技术(上海)有限公司 Automatic regression testing method and device, electronic equipment and storage medium
CN114020608A (en) * 2021-10-27 2022-02-08 中国铁道科学研究院集团有限公司通信信号研究所 Railway CTC system background program regression test implementation method
CN114168565A (en) * 2021-12-10 2022-03-11 北京宇信科技集团股份有限公司 Backtracking test method, device and system of business rule model and decision engine
CN115061932A (en) * 2022-06-29 2022-09-16 中国联合网络通信集团有限公司 Regression testing method, device and equipment
CN117724989A (en) * 2024-02-18 2024-03-19 粤港澳大湾区数字经济研究院(福田) Regression testing method and device for interface, terminal and storage medium
CN117724989B (en) * 2024-02-18 2024-06-11 粤港澳大湾区数字经济研究院(福田) Regression testing method and device for interface, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109960653A (en) Regression testing method, device, equipment and storage medium
CN104360920B (en) A kind of automatic interface testing method and device
CN106294120B (en) Method, apparatus and computer program product for testing code
US11640349B2 (en) Real time application error identification and mitigation
US10185650B1 (en) Testing service with control testing
US10678673B2 (en) Software program fault localization
CN107832216A (en) One kind buries a method of testing and device
KR101904436B1 (en) Machine learning based identification of broken network connections
US10067860B2 (en) Defining test bed requirements
CN109240755A (en) A kind of configuration file comparison method and configuration file Compare System
CN110177079A (en) The calling system and call method of intelligent contract
US10382353B1 (en) Enhancing incomplete cloud templates for infrastructure deployment
CN108595313A (en) Daily record generation method, device, electronic equipment and the storage medium of application program
CN110458412A (en) The generation method and device of risk monitoring and control data
CN113535399A (en) NFV resource scheduling method, device and system
CN110019298A (en) Data processing method and device
CN109284115A (en) A kind of method and device generating tracker script
CN106909454B (en) Rule processing method and equipment
CN110020236A (en) Web analysis method, apparatus, storage medium, processor and equipment
US9002847B2 (en) Identifying an auto-complete communication pattern
CN112905451B (en) Automatic testing method and device for application program
CN110928636A (en) Virtual machine live migration method, device and equipment
CN111090401B (en) Storage device performance prediction method and device
US20170220449A1 (en) Infrastructure rule generation
US20140310070A1 (en) Coordinated business rules management and mixed integer programming

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: 20190702