CN109783384A - Log use-case test method, log use-case test device and electronic equipment - Google Patents

Log use-case test method, log use-case test device and electronic equipment Download PDF

Info

Publication number
CN109783384A
CN109783384A CN201910023161.5A CN201910023161A CN109783384A CN 109783384 A CN109783384 A CN 109783384A CN 201910023161 A CN201910023161 A CN 201910023161A CN 109783384 A CN109783384 A CN 109783384A
Authority
CN
China
Prior art keywords
journal file
case
log use
file
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
CN201910023161.5A
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.)
FUTURE TV Co Ltd
Original Assignee
FUTURE TV 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 FUTURE TV Co Ltd filed Critical FUTURE TV Co Ltd
Priority to CN201910023161.5A priority Critical patent/CN109783384A/en
Publication of CN109783384A publication Critical patent/CN109783384A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Log use-case test method, log use-case test device and electronic equipment provided by the present application, are related to use-case the field of test technology.Wherein, log use-case test method includes: that analog subscriber operation behavior operates application program, so that the application program is run;The operation data for monitoring the application program and obtaining is obtained, by log use-case to be tested to generate the journal file that record has the operation data;The journal file is compared with default file, to judge whether the log use-case can normally generate journal file.By the above method, can improve in the prior art log use-case test there are the higher problems of human cost.

Description

Log use-case test method, log use-case test device and electronic equipment
Technical field
This application involves use-case the field of test technology, in particular to a kind of log use-case test method, log use-case Test device and electronic equipment.
Background technique
Use-case test refers to, detects to use-case to be tested, to judge whether the use-case can normally run.Its In, log is the data generated in the operational process under user's operation behavior for records application program, to complete user behaviour Make the monitoring of behavior.
Therefore, effectively to be monitored to user's operation behavior, the test of log use-case is log use-case specifically used A before indispensable committed step.In the prior art, it needs to operate application program by tester, so that Application program operation, and then realize the purpose of log use-case test.Thus, there is the higher problems of human cost.
Summary of the invention
In view of this, the application be designed to provide a kind of log use-case test method, log use-case test device and Electronic equipment, to improve, there are the higher problems of human cost for the test of log use-case in the prior art.
To achieve the above object, the embodiment of the present application adopts the following technical scheme that
A kind of log use-case test method, comprising:
Analog subscriber operation behavior operates application program, so that the application program is run;
The operation data for monitoring the application program and obtaining is obtained, by log use-case to be tested to have generated record State the journal file of operation data;
The journal file is compared with default file, to judge whether the log use-case can normally generate Journal file.
It is described by the log text in above-mentioned log use-case test method in the embodiment of the present application preferably selects The step of part is compared with default file, comprising:
Judge whether the user's operation behavior simulates completion;
If the user's operation Behavior modeling is completed, current journal file is compared with default file.
It is described by current log in above-mentioned log use-case test method in the embodiment of the present application preferably selects The step of file is compared with default file, comprising:
Judge current journal file with the presence or absence of abnormal data;
Abnormal data if it exists then deletes the abnormal data, and by the journal file after suppressing exception data and in advance If file is compared.
In the embodiment of the present application preferably selects, in above-mentioned log use-case test method, the analog subscriber operation The step of behavior operates application program, comprising:
One automated test frame of default building;
Application program is operated by the automated test frame analog subscriber operation behavior.
In the embodiment of the present application preferably selects, in above-mentioned log use-case test method, this method further include:
It will judge whether the log use-case can normally generate the judging result that journal file obtains, visualized It is exported after processing.
The embodiment of the present application also provides a kind of log use-case test devices, comprising:
Operation behavior analog module operates application program for analog subscriber operation behavior, so that this applies journey Sort run;
Journal file generation module, for obtaining the fortune for monitoring the application program and obtaining by log use-case to be tested Row data, to generate the journal file that record has the operation data;
Log use-case judgment module, for the journal file to be compared with default file, to judge the log Whether use-case can normally generate journal file.
In the embodiment of the present application preferably selects, in above-mentioned log use-case test device, the log use-case judgement Module includes:
Operation behavior judging submodule, for judging whether the user's operation behavior simulates completion;
Journal file Comparative sub-module is used for when the user's operation Behavior modeling is completed, by current journal file It is compared with default file.
In the embodiment of the present application preferably selects, in above-mentioned log use-case test device, the journal file compares Submodule includes:
Abnormal data judging unit, for judging current journal file with the presence or absence of abnormal data;
Journal file comparing unit, for, there are when abnormal data, which being deleted in current journal file, And the journal file after suppressing exception data is compared with default file.
In the embodiment of the present application preferably selects, in above-mentioned log use-case test device, the device further include:
Visualization processing module, for that will judge whether the log use-case can normally generate what journal file obtained Judging result exports after carrying out visualization processing.
On the basis of the above, the embodiment of the present application also provides a kind of electronic equipment, including memory, processor and storage In the memory and the computer program that can run on the processor, when which runs on the processor Realize above-mentioned log use-case test method.
Log use-case test method, log use-case test device and electronic equipment provided by the present application, by being grasped to user It is simulated as behavior, so that the operation data that log use-case to be tested can be obtained according to monitoring application program, to generate Record has the journal file of the operation data, so that a series of operation behavior of tester in the prior art is substituted, into And improve log use-case in the prior art and test there are the higher problem of human cost, there is high practical value.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Fig. 1 is the block diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is the flow diagram of log use-case test method provided by the embodiments of the present application.
Fig. 3 is the flow diagram of step S110 in Fig. 2.
Fig. 4 is the flow diagram of step S150 in Fig. 2.
Fig. 5 is the flow diagram of step S153 in Fig. 4.
Fig. 6 is another flow diagram of log use-case test method provided by the embodiments of the present application.
Fig. 7 is the block diagram for the functional module that log use-case test device provided by the embodiments of the present application includes.
Fig. 8 is the block diagram for the sub-function module that log use-case judgment module provided by the embodiments of the present application includes.
Fig. 9 is the block diagram for the functional unit that journal file Comparative sub-module provided by the embodiments of the present application includes.
Icon: 10- electronic equipment;12- memory;14- processor;100- log use-case test device;110- operation row For analog module;130- journal file generation module;150- log use-case judgment module;151- operation behavior judging submodule; 153- journal file Comparative sub-module;153a- abnormal data judging unit;153b- journal file comparing unit.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment only It is a part of the embodiment of the application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings The component of embodiment can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.In the description of the present application In, term " first ", " second ", " third ", " the 4th " etc. are only used for distinguishing description, and should not be understood as only or imply opposite Importance.
In the description of the present application unless specifically defined or limited otherwise, term " setting ", " connected ", " connection " are answered It is interpreted broadly, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be mechanical connect It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary The connection in portion.For the ordinary skill in the art, the tool of above-mentioned term in this application can be understood with concrete condition Body meaning.
As shown in Figure 1, the embodiment of the present application provides a kind of electronic equipment 10, it may include memory 12 and processor 14 With log use-case test device 100.
It is directly or indirectly electrically connected between the memory 12 and processor 14, to realize the transmission or friendship of data Mutually.It is electrically connected for example, can be realized between each other by one or more communication bus or signal wire.The log use-case test Device 100 includes that at least one can be stored in the software function in the memory 12 in the form of software or firmware (firmware) It can module.The processor 14 is for executing the executable computer program stored in the memory 12, for example, the day Software function module and computer program etc. included by will use-case test device 100, to realize log use-case test method.
Wherein, the memory 12 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 12 is for storing program, and the processor 14 executes described program after receiving and executing instruction.
The processor 14 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 14 It can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP), system on chip (System on Chip, SoC) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate Or transistor logic, discrete hardware components.May be implemented or execute disclosed each method in the embodiment of the present application, Step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
It is appreciated that structure shown in FIG. 1 is only to illustrate, the electronic equipment 10 may also include more than shown in Fig. 1 Perhaps less component or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software Or combinations thereof realize.
Optionally, the type of the electronic equipment 10 is unrestricted, for example, may include, but is not limited to web (website) clothes The equipment that business device, data server etc. have data-handling capacity.
In conjunction with Fig. 2, the embodiment of the present application also provides a kind of log use-case test side that can be applied to above-mentioned electronic equipment 10 Method.Wherein, method and step defined in the related process of the log use-case test method can be real by the electronic equipment 10 It is existing.Detailed process shown in Fig. 2 will be described in detail below.
Step S110, analog subscriber operation behavior operate application program, so that the application program is run.
It in the present embodiment, is the convenience for improving the test of log use-case, it can be by carrying out mould to user's operation behavior It is quasi-, corresponding operation behavior is carried out to substitute operator.Wherein, the user's operation behavior of simulation may include, but be not limited to Mouse or keyboard are clicked to open the application program, and clicks mouse or keyboard so that currently playing video pause etc..
Therefore, different according to the concrete type of the application program, the user's operation behavior of simulation can have different choosings It selects, also, multiple and different user's operation behaviors can also be simulated for same application.
Step S130 obtains the operation data for monitoring the application program and obtaining, by log use-case to be tested with life There is the journal file of the operation data at record.
It in the present embodiment, can be by cmd order to the application program during application program is run Operational process be monitored, to obtain corresponding operation data, used it is then possible to which the operation data is written to the log In example, to generate and keep records of the journal file of the operation data of the application program, to realize to user's operation behavior Acquisition.
For example, the journal file can recorde following information, at a time user opens a certain video playing journey Sequence, and pause processing has been carried out to currently playing video in another moment user.
It should be noted that it is real-time perfoming that the cmd order, which is monitored the operational process of the application program, Also, also obtained operation data can be written in log use-case to generate journal file in real time, that is to say, that at each After user's operation behavior occurs, log is immediately generated the journal file for recording the event with regular meeting.
The journal file is compared by step S150 with default file, to judge that the log use-case whether can Normally generate journal file.
In the present embodiment, user's operation behavior to be simulated can be needed to pre-generate corresponding default text based on determining Part.Then, after obtaining the journal file, which can be compared with default file, described in judgement Whether log use-case can normally generate journal file.
That is, in the journal file and the default file difference, it is possible to determine that the log use-case cannot It is enough normally to generate journal file;When the journal file is identical as the default file, it is possible to determine that the log use-case Journal file can normally be generated.
For example, in a specific application example, if in the default file record have user to the video of broadcasting into Row suspends the operation of processing twice, but the behaviour that only record has user to carry out primary pause processing to the video of broadcasting in journal file Make, it is possible to determine that the log use-case cannot normally generate journal file.
Optionally, the concrete mode for carrying out user's operation Behavior modeling by step S110 is unrestricted, can be according to reality Border application demand is selected.In the present embodiment, the simulation of user's operation behavior can be carried out based on automated test frame, It specifically, may include S111 and step S113 in conjunction with Fig. 3, step S110, particular content is as described below.
Step S111 presets one automated test frame of building.
In the present embodiment, an automated test frame can be constructed based on needing user's operation behavior to be simulated to preset, So that the automated test frame at runtime can automatic imitation user's operation behavior, to be grasped accordingly to application program Make.
Wherein, the automated test frame may include, but be not limited to provide reusable basic automatization test Module, such as: selenium, watir, they mainly provide most basic automatic test function, for example open a program, Mouse and keyboard are simulated to click or operate tested object.
Step S113 operates application program by the automated test frame analog subscriber operation behavior.
In the present embodiment, it after constructing the automation framework in advance by step S111, can need to treat When the log use-case of test is tested, call the automation framework with analog subscriber operation behavior, to realize to using journey The operation of sequence.
Optionally, the particular content that step S150 includes is also unrestricted, can be selected according to practical application request. For example, the mode based on starting comparison mechanism is different, there can be different selections.It in the present embodiment, is realization automatic trigger To be compared, and the log use-case can on the basis of being recorded in real time to application program, user's operation behavior, Completion whether can be simulated based on user's operation behavior to determine whether to start comparison mechanism.Specifically, in conjunction with Fig. 4, step S150 may include step S151 and step S153, and particular content is as described below.
Step S151, judges whether the user's operation behavior simulates completion.
In the present embodiment, it is contemplated that after the user's operation Behavior modeling is completed, the journal file also corresponding life At completion.Therefore, can judge whether the user's operation behavior simulates completion, and it is possible in user's operation row After completing for simulation, step S153 is executed.
Current journal file is compared by step S153 with default file.
In the present embodiment, judging the user's operation Behavior modeling completion, i.e., after log file generated is completed, The journal file can be compared with default file, to judge whether the log use-case can normally generate log text Part.
Optionally, the concrete mode for executing step S153 is also unrestricted, can be selected according to practical application request. For example, in the example that can substitute of one kind, in conjunction with Fig. 5, step S153 may include step S153a and step S153b, specifically Content is as described below.
Step S153a judges current journal file with the presence or absence of abnormal data.
In view of there may be abnormal datas in journal file under partial picture, and the presence of the abnormal data will affect day The comparison result of will file and default file, so that there is error to the test of log use-case.Therefore, in this reality It applies in example, needs to be judged with the presence or absence of abnormal data in journal file, and by executing step when there are abnormal data Rapid S153b, to complete the comparison of file.
For example, log use-case can collect before analog subscriber operation behavior a kind of specifically using in example The corresponding data of some events, and the data that the data and analog subscriber operation behavior obtain are generated into the log text together Part.Therefore, if being directly compared the journal file with default file, even if can normally generate log in log use-case File, also resulting in judging result is that can not normally generate journal file.
Step S153b deletes the abnormal data, and by after suppressing exception data journal file and default file into Row compares.
In the present embodiment, judged in journal file by step S153a there are after abnormal data, it can be different by this Regular data is deleted, to avoid the influence of the abnormal data compared result.
For example, in the examples described above, it can be first by this in journal file based on the initial time of analog subscriber operation behavior Begin the moment before generate data deleted, can also first behavior based on analog subscriber operation behavior, by the behavior it Previous existence at data deleted.
It further, in the present embodiment, is that can quickly be used log when log use-case normally cannot generate log Example there are the problem of positioned, to simplify the process of manual analysis, improve the convenience of maintenance, in conjunction with Fig. 6, the log is used Example test method can also include step S170, and particular content is as described below.
Step S170 will judge whether the log use-case can normally generate the judging result that journal file obtains, It is exported after carrying out visualization processing.
In the present embodiment, journal file and default file are compared by step S150, to judge that log use-case is It is not no when can normally generate journal file, judging result can be carried out to visualization processing and be exported.For example, in journal file When being had differences with default file, the corresponding data of the difference are converted into image data by visualization processing and are shown, So that tester can quickly and intuitively determine abnormal place, and then it is convenient for safeguarding accordingly.
In conjunction with Fig. 7, the embodiment of the present application also provides a kind of log use-case test dress that can be applied to above-mentioned electronic equipment 10 Set 100.Wherein, the log use-case test device 100 may include operation behavior analog module 110, journal file generation mould Block 130 and log use-case judgment module 150.
The operation behavior analog module 110, operates application program for analog subscriber operation behavior, so that should Application program operation.In the present embodiment, the operation behavior analog module 110 can be used for executing step S110 shown in Fig. 2, Related content about the operation behavior analog module 110 is referred to the description to step S110 above.
The journal file generation module 130 monitors the application program for obtaining by log use-case to be tested Obtained operation data, to generate the journal file that record has the operation data.In the present embodiment, the journal file is raw It can be used for executing step S130 shown in Fig. 2 at module 130, the related content about the journal file generation module 130 can Referring to the description to step S130 above.
The log use-case judgment module 150, for the journal file to be compared with default file, to judge State whether log use-case can normally generate journal file.In the present embodiment, the log use-case judgment module 150 can be used In executing step S150 shown in Fig. 2, the related content about the log use-case judgment module 150 is referred to above to step The description of rapid S150.
In conjunction with Fig. 8, in the present embodiment, the log use-case judgment module 150 may include that operation behavior judges submodule Block 151 and journal file Comparative sub-module 153.
The operation behavior judging submodule 151, for judging whether the user's operation behavior simulates completion.In this reality It applies in example, the operation behavior judging submodule 151 can be used for executing step S151 shown in Fig. 4, about the operation behavior The related content of judging submodule 151 is referred to the description to step S151 above.
The journal file Comparative sub-module 153 is used for when the user's operation Behavior modeling is completed, by current day Will file is compared with default file.In the present embodiment, the journal file Comparative sub-module 153 can be used for executing Fig. 4 Shown step S153, the related content about the journal file Comparative sub-module 153 are referred to above to step S153 Description.
In conjunction with Fig. 9, in the present embodiment, the journal file Comparative sub-module 153 may include that abnormal data judgement is single First 153a and journal file comparing unit 153b.
The abnormal data judging unit 153a, for judging current journal file with the presence or absence of abnormal data.At this In embodiment, the abnormal data judging unit 153a can be used for executing step S153a shown in fig. 5, about the abnormal number It is judged that the related content of unit 153a is referred to the description to step S153a above.
The journal file comparing unit 153b, in current journal file there are when abnormal data, by the exception Data are deleted, and the journal file after suppressing exception data is compared with default file.In the present embodiment, the day Will Documents Comparison unit 153b can be used for executing step S153b shown in fig. 5, about the journal file comparing unit 153b's Related content is referred to the description to step S153b above.
Further, in the present embodiment, the log use-case test device 100 can also include visualization processing mould Block.Wherein, the visualization processing module is obtained for that will judge whether the log use-case can normally generate journal file The judging result arrived exports after carrying out visualization processing.In the present embodiment, the visualization processing module can be used for executing figure Step S170 shown in 6, the related content about the visualization processing module are referred to the description to step S170 above.
In conclusion log use-case test method provided by the present application, log use-case test device 100 and electronic equipment 10, by being simulated to user's operation behavior, so that log use-case to be tested can be obtained according to monitoring application program Operation data, to generate the journal file that record has the operation data, to substitute the system of tester in the prior art The operation behavior of column, and then improve log use-case in the prior art and test there are the higher problem of human cost, have high Practical value.Secondly, judgement and deleting mechanism by setting abnormal data, can make test result more accurate effectively. Finally, can fast and effeciently navigate to abnormal institute in order to tester by judging result progress visualization processing is compared It in position, is quickly and efficiently safeguarded with realizing, reduces human cost, further increase the reality of log use-case test method With value.
In several embodiments provided by the embodiment of the present application, it should be understood that disclosed device and method, it can also To realize by another way.Device and method embodiment described above is only schematical, for example, in attached drawing Flow chart and block diagram show that the devices of multiple embodiments according to the application, method and computer program product are able to achieve Architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a program A part of section or code, a part of the module, section or code include that one or more is patrolled for realizing defined Collect the executable instruction of function.It should also be noted that in some implementations as replacement, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, electronic equipment or network equipment etc.) execute all or part of step of each embodiment the method for the application Suddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk. It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.

Claims (10)

1. a kind of log use-case test method characterized by comprising
Analog subscriber operation behavior operates application program, so that the application program is run;
The operation data for monitoring the application program and obtaining is obtained by log use-case to be tested, has the fortune to generate record The journal file of row data;
The journal file is compared with default file, to judge whether the log use-case can normally generate log File.
2. log use-case test method according to claim 1, which is characterized in that described by the journal file and default The step of file is compared, comprising:
Judge whether the user's operation behavior simulates completion;
If the user's operation Behavior modeling is completed, current journal file is compared with default file.
3. log use-case test method according to claim 2, which is characterized in that described by current journal file and pre- If the step of file is compared, comprising:
Judge current journal file with the presence or absence of abnormal data;
Abnormal data if it exists then deletes the abnormal data, and by the journal file after suppressing exception data and presets text Part is compared.
4. log use-case test method according to claim 1 to 3, which is characterized in that the analog subscriber behaviour Make the step of behavior operates application program, comprising:
One automated test frame of default building;
Application program is operated by the automated test frame analog subscriber operation behavior.
5. log use-case test method according to claim 1 to 3, which is characterized in that this method further include:
It will judge whether the log use-case can normally generate the judging result that journal file obtains, carry out visualization processing After export.
6. a kind of log use-case test device characterized by comprising
Operation behavior analog module operates application program for analog subscriber operation behavior, so that the application program is transported Row;
Journal file generation module, for obtaining the operation number for monitoring the application program and obtaining by log use-case to be tested According to generate the journal file that record has the operation data;
Log use-case judgment module, for the journal file to be compared with default file, to judge the log use-case Whether journal file can be generated normally.
7. log use-case test device according to claim 6, which is characterized in that the log use-case judgment module packet It includes:
Operation behavior judging submodule, for judging whether the user's operation behavior simulates completion;
Journal file Comparative sub-module is used for when the user's operation Behavior modeling is completed, by current journal file and in advance If file is compared.
8. log use-case test device according to claim 7, which is characterized in that the journal file Comparative sub-module packet It includes:
Abnormal data judging unit, for judging current journal file with the presence or absence of abnormal data;
Journal file comparing unit, for, there are when abnormal data, which being deleted in current journal file, and will Journal file after suppressing exception data is compared with default file.
9. according to log use-case test device described in claim 6-8 any one, which is characterized in that the device further include:
Visualization processing module, for that will judge whether the log use-case can normally generate the judgement that journal file obtains As a result, being exported after carrying out visualization processing.
10. a kind of electronic equipment, which is characterized in that including memory, processor and be stored in the memory and can be at this The computer program run on reason device realizes that claim 1-5 is any one when the computer program is run on the processor Log use-case test method described in.
CN201910023161.5A 2019-01-10 2019-01-10 Log use-case test method, log use-case test device and electronic equipment Pending CN109783384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910023161.5A CN109783384A (en) 2019-01-10 2019-01-10 Log use-case test method, log use-case test device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910023161.5A CN109783384A (en) 2019-01-10 2019-01-10 Log use-case test method, log use-case test device and electronic equipment

Publications (1)

Publication Number Publication Date
CN109783384A true CN109783384A (en) 2019-05-21

Family

ID=66499334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910023161.5A Pending CN109783384A (en) 2019-01-10 2019-01-10 Log use-case test method, log use-case test device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109783384A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569177A (en) * 2019-09-26 2019-12-13 苏州浪潮智能科技有限公司 Method and device for testing log coverage mechanism
CN110879783A (en) * 2019-11-21 2020-03-13 上海达梦数据库有限公司 Program testing method, device, equipment and storage medium
CN111240974A (en) * 2020-01-06 2020-06-05 支付宝实验室(新加坡)有限公司 Log output method and device, electronic equipment and medium
CN111949551A (en) * 2020-09-01 2020-11-17 网易(杭州)网络有限公司 Application program testing method, device, equipment and storage medium
CN117332412A (en) * 2023-12-01 2024-01-02 北京知其安科技有限公司 Detection method and device for data security system and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005114441A2 (en) * 2004-05-19 2005-12-01 Arc International (Uk) Limited Microprocessor architecture
CN105335278A (en) * 2014-06-16 2016-02-17 阿里巴巴集团控股有限公司 Testing method and device
CN106021004A (en) * 2016-05-10 2016-10-12 上海传英信息技术有限公司 User behavior simulation unit, test system and test method
CN106294151A (en) * 2016-08-09 2017-01-04 合智能科技(深圳)有限公司 Daily record method of testing and device
CN107678940A (en) * 2017-08-30 2018-02-09 苏州朗动网络科技有限公司 Automation exploratory testing method and system based on Android APP
CN108255688A (en) * 2018-01-05 2018-07-06 武汉斗鱼网络科技有限公司 Display methods, storage medium, electronic equipment and the system of application log
CN108804300A (en) * 2017-04-27 2018-11-13 龙芯中科技术有限公司 Automated testing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005114441A2 (en) * 2004-05-19 2005-12-01 Arc International (Uk) Limited Microprocessor architecture
CN105335278A (en) * 2014-06-16 2016-02-17 阿里巴巴集团控股有限公司 Testing method and device
CN106021004A (en) * 2016-05-10 2016-10-12 上海传英信息技术有限公司 User behavior simulation unit, test system and test method
CN106294151A (en) * 2016-08-09 2017-01-04 合智能科技(深圳)有限公司 Daily record method of testing and device
CN108804300A (en) * 2017-04-27 2018-11-13 龙芯中科技术有限公司 Automated testing method and system
CN107678940A (en) * 2017-08-30 2018-02-09 苏州朗动网络科技有限公司 Automation exploratory testing method and system based on Android APP
CN108255688A (en) * 2018-01-05 2018-07-06 武汉斗鱼网络科技有限公司 Display methods, storage medium, electronic equipment and the system of application log

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569177A (en) * 2019-09-26 2019-12-13 苏州浪潮智能科技有限公司 Method and device for testing log coverage mechanism
CN110569177B (en) * 2019-09-26 2022-08-19 苏州浪潮智能科技有限公司 Method and device for testing log coverage mechanism
CN110879783A (en) * 2019-11-21 2020-03-13 上海达梦数据库有限公司 Program testing method, device, equipment and storage medium
CN110879783B (en) * 2019-11-21 2023-09-08 上海达梦数据库有限公司 Program testing method, device, equipment and storage medium
CN111240974A (en) * 2020-01-06 2020-06-05 支付宝实验室(新加坡)有限公司 Log output method and device, electronic equipment and medium
CN111240974B (en) * 2020-01-06 2024-04-26 先进新星技术(新加坡)控股有限公司 Log output method and device, electronic equipment and medium
CN111949551A (en) * 2020-09-01 2020-11-17 网易(杭州)网络有限公司 Application program testing method, device, equipment and storage medium
CN117332412A (en) * 2023-12-01 2024-01-02 北京知其安科技有限公司 Detection method and device for data security system and electronic equipment
CN117332412B (en) * 2023-12-01 2024-03-15 北京知其安科技有限公司 Detection method and device for data security system and electronic equipment

Similar Documents

Publication Publication Date Title
CN109783384A (en) Log use-case test method, log use-case test device and electronic equipment
US20190228296A1 (en) Significant events identifier for outlier root cause investigation
US9448908B2 (en) System and method for model based session management
CN109739739A (en) Prediction technique, equipment and the storage medium of disk failure
US9311176B1 (en) Evaluating a set of storage devices and providing recommended activities
US9904517B2 (en) System and method for automatic modeling of an application
US20230129123A1 (en) Monitoring and Management System for Automatically Generating an Issue Prediction for a Trouble Ticket
CN111459700A (en) Method and apparatus for diagnosing device failure, diagnostic device, and storage medium
CN113238930B (en) Method and device for testing software system, terminal equipment and storage medium
CN112183990A (en) Self-adaptive inspection monitoring management platform and method based on big data machine learning
WO2019061364A1 (en) Failure analyzing method and related device
CN112433948A (en) Simulation test system and method based on network data analysis
WO2017023299A1 (en) Composing future tests
CN107430590B (en) System and method for data comparison
JPWO2020202433A1 (en) Information processing device and API usage history display program
CN111931323B (en) Memory, hydrocracking equipment fault prediction method, device and equipment
JP2009277110A (en) Software test/development support device, and program for device
CN115794545A (en) Automatic processing method of operation and maintenance data and related equipment thereof
CN106250401A (en) A kind of apparatus and method playing back original communication data
CN115392802A (en) Method, system, medium, and apparatus for detecting defects of industrial products
CN104317859B (en) LED display intelligent classification system and method
CN111488284A (en) Simulation operation active detection method for OpenStack cloud platform
CN108959006A (en) A kind of hardware detection method and its tool
RU2809254C1 (en) Method and system for monitoring automated systems
CN117312174B (en) Program error path detection method, device, equipment and readable 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: 20190521