CN106201846A - Method for monitoring performance in automatic test and device - Google Patents

Method for monitoring performance in automatic test and device Download PDF

Info

Publication number
CN106201846A
CN106201846A CN201610509533.1A CN201610509533A CN106201846A CN 106201846 A CN106201846 A CN 106201846A CN 201610509533 A CN201610509533 A CN 201610509533A CN 106201846 A CN106201846 A CN 106201846A
Authority
CN
China
Prior art keywords
test
test case
performance
module
case
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.)
Granted
Application number
CN201610509533.1A
Other languages
Chinese (zh)
Other versions
CN106201846B (en
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.)
Weimeng Chuangke Network Technology China Co Ltd
Original Assignee
Weimeng Chuangke Network Technology China 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 Weimeng Chuangke Network Technology China Co Ltd filed Critical Weimeng Chuangke Network Technology China Co Ltd
Priority to CN201610509533.1A priority Critical patent/CN106201846B/en
Publication of CN106201846A publication Critical patent/CN106201846A/en
Application granted granted Critical
Publication of CN106201846B publication Critical patent/CN106201846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment

Abstract

The embodiment of the present invention provides the method for monitoring performance in a kind of automatic test and device, and this device includes: performance test control module, for starting the automated performance testing to equipment under test, obtains required test case from test case library;Test case performs module, for setting up test assignment according to the test case obtained, and test case described in automated execution;Performance information acquisition module, for realizing the performance state information of equipment under test during collecting test use-case performs by Java reflection technology and Java unit testing calls application interface;Network service module, the performance state information for collecting carries out visualization and represents process, and exports to performance information display module;Performance information display module, for the performance state information of real-time exhibition equipment under test to user.Can realize automatic test and performance monitoring by a set of framework, compatible good, efficiency is high.

Description

Method for monitoring performance in automatic test and device
Technical field
The present invention relates to automatization testing technique field, the method for monitoring performance in a kind of automatic test and dress Put.
Background technology
In product development process, automatic test is requisite link, such as, carries out true on the terminal device The simulation test of environment, wherein, the properties of terminal unit when running on the terminal device including detection application program.
The most conventional automatic test implementation, is typically utilized on equipment under test building two set frameworks, a set of Being automated test frame, another set of is performance monitoring framework.Article two, framework composition uses, it is achieved the automatization to terminal unit Test and performance monitoring.This mode has the following disadvantages: two set framework couplings are low, mutual complicated between framework, makes Becoming system compatibility poor, system is unstable;Multiple equipment under test cannot be realized and carry out automatization's performance collection simultaneously;Which needs Manually participate in, automaticity is low, and testing efficiency also ratio is relatively low.
The most conventional automatic test implementation also has the implementation of automatic test+performance logs, is also two Set framework, a part is automated test frame, and another part is performance logs analysis and processing module, by automatic test Framework adds performance logs function.To being devices under carrying out performance collection log, by daily record in the form of a file It is saved in and is devices under.It is analyzed daily record processing, to obtain performance information after automatic test completes.This side Formula is also required to two set framework couplings, mutual complicated between framework, causes system compatibility poor, and system is unstable;And the place of daily record Reason analyzes very complicated, and performance information is shown the most directly perceived, it is impossible to the performance information of real-time exhibition equipment.
Summary of the invention
The embodiment of the present invention provides the method for monitoring performance in a kind of automatic test and device, in order to solve prior art Present in two set frameworks the most complicated, poor compatibility, affect system stability, and analyzes complexity, automaticity is poor, tests The problems such as efficiency is low.
On the one hand, embodiments provide the performance monitoring apparatus in a kind of automatic test, including:
Performance test control module, test case perform module, performance information acquisition module, network service module and performance Information display module;
Performance test control module, for starting the automated performance testing to equipment under test, obtains from test case library Take required test case;
Test case performs module, for setting up test assignment according to the test case obtained, surveys described in automated execution Example on probation;
Performance information acquisition module, for real by Java reflection technology and Java unit testing calls application interface The performance state information of equipment under test during existing collecting test use-case execution;
Network service module, the performance state information for collecting carries out visualization and represents process, and exports to performance Information display module;
Performance information display module, for the performance state information of real-time exhibition equipment under test to user.
In some optional embodiments, in described test case library, the test case of storage includes in following test case At least one: screen taps test case, physical button presses test case, screen slip test case, cell phone system shape State arranges test case, constructs initial testing state verification use-case, resets test mode test case;
Accordingly, described test case performs module, specifically for:
The test case script that automated execution obtains from test case library, it is achieved analog subscriber operates in following operation At least one: screen taps, physical button presses, and screen slides, and cell phone system state is arranged, and constructs initial testing state, Reset test mode.
In some optional embodiments, described performance test control module, specifically for:
Realize allowing user to perform at least one in following operation by management of webpage interface: start, suspend, stop, Restart the automated performance testing to equipment under test.
In some optional embodiments, said apparatus, also include:
Test case management module, the test case write in management of test cases storehouse, test case is entered Edlin, revise, delete or update operation.
In some optional embodiments, described test case management module, it is additionally operable to:
When test case library does not exist required test case, required test is not found to use to user feedback Example also is pointed out user's Selection and call test case to write module to write required test case;The test case write is deposited Store up in test case library.
The embodiment of the present invention additionally provides the method for monitoring performance in a kind of automatic test, including:
Start the automated performance testing to equipment under test, from test case library, obtain required test case;
Test case according to obtaining sets up test assignment, test case described in automated execution;
Realize collecting test use-case by Java reflection technology and Java unit testing calls application interface to perform The performance state information of equipment under test in journey;
The performance state information collected carries out visualization and represents process, and the performance state letter of real-time exhibition equipment under test Breath is to user.
In some optional embodiments, in described test case library, the test case of storage includes in following test case At least one: screen taps test case, physical button presses test case, screen slip test case, cell phone system shape State arranges test case, constructs initial testing state verification use-case, resets test mode test case;
Accordingly, test case described in described automated execution, specifically include:
The test case script that automated execution obtains from test case library, it is achieved analog subscriber operates in following operation At least one: screen taps, physical button presses, and screen slides, and cell phone system state is arranged, and constructs initial testing state, Reset test mode.
In some optional embodiments, realize allowing user to perform in following operation at least by management of webpage interface One: start, suspend, stop, restarting the automated performance testing to equipment under test.
In some optional embodiments, said method also includes:
The test case write in management of test cases storehouse, edits test case, revises, deletes or updates Operation.
In some optional embodiments, said method also includes:
When test case library does not exist required test case, required test is not found to use to user feedback Example also is pointed out user's Selection and call test case to write module to write required test case;
The test case write is stored in test case library.
Technique scheme has the advantages that by building the performance monitoring apparatus in an automatic test, Realize the performance monitoring in automatic test, real by Java reflection technology and Java unit testing calls application interface Existing collecting test use-case perform during the performance state information of equipment under test, it is not necessary to build two set frameworks, it is to avoid framework Between mutual, make performance monitoring to realize process more simple and convenient, improve system compatibility and stability, improve test During the automaticity of performance monitoring and testing efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the performance monitoring apparatus in the embodiment of the present invention in automatic test;
Fig. 2 is a kind of concrete structure schematic diagram of the performance monitoring apparatus in the embodiment of the present invention in automatic test;
Fig. 3 is the flow chart of the method for monitoring performance in the embodiment of the present invention one in automatic test;
Fig. 4 is the principle schematic of the method for monitoring performance in the embodiment of the present invention two in automatic test;
Fig. 5 is the flow chart of the method for monitoring performance in the embodiment of the present invention two in automatic test.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
The most complicated in order to solve two set frameworks present in prior art, poor compatibility, affect system stability, and divide Analysis complexity, automaticity is poor, and testing efficiency is low waits some problem, and the embodiment of the present invention provides the property in a kind of automatic test Energy supervising device and method, it is possible to use a set of framework to realize the performance monitoring in automatic test, decrease the mutual of complexity Flow process, improves compatibility and stability.
The embodiment of the present invention provides the performance monitoring apparatus in a kind of automatic test, and its structure is as it is shown in figure 1, include: Performance test control module 101, test case perform module 102, performance information acquisition module 103, network service module 104 and Performance information display module 105.
Performance test control module 101, for starting the automated performance testing to equipment under test, from test case library Test case required for acquisition.
Test case performs module 102, for setting up test assignment, described in automated execution according to the test case obtained Test case.
Performance information acquisition module 103, connects for calling application program by Java reflection technology and Java unit testing The performance state information of equipment under test during cause for gossip existing collecting test use-case execution.
Network service module 104, the performance state information for collecting carries out visualization and represents process, and exports to property Can information display module.
Performance information display module 105, for the performance state information of real-time exhibition equipment under test to user.
Preferably, in above-mentioned test case library, the test case of storage includes at least one in following test case: screen Curtain hit testing use-case, physical button presses test case, screen slip test case, and cell phone system state arranges test and uses Example, constructs initial testing state verification use-case, resets test mode test case.
Accordingly, above-mentioned test case performs module 102, obtains from test case library specifically for automated execution Test case script, it is achieved analog subscriber operates at least one in following operation: screen taps, physical button is pressed, screen Sliding, cell phone system state is arranged, and constructs initial testing state, resets test mode.
Preferably, above-mentioned performance test control module 101, specifically for realizing allowing user to hold by management of webpage interface At least one in the following operation of row: start, suspend, stop, restarting the automated performance testing to equipment under test.
Preferably, the performance monitoring apparatus in above-mentioned automatic test also includes:
Test case management module 106, the test case write in management of test cases storehouse, to test case Carry out editing, revise, delete or update operation.
Preferably, above-mentioned test case management module 106, it is additionally operable to when test case library does not exist required test During use-case, do not find required test case to user feedback and point out user's Selection and call test case to write module to write Required test case;The test case write is stored in test case library.
Performance monitoring apparatus in the automatic test that the embodiment of the present invention provides, its a kind of concrete structure such as Fig. 2 institute Show, including automatic test module group 200, be provided with performance test control module 201, test case management module 202, Test case performs module 203, performance information acquisition module 204, web server module 210 and performance information display module 220 With data server 230.
Wherein, Web server module 210 is mainly responsible for communication and connects automated performance testing module group 200, performance Information display module 220 and data server 230, control the execution of test case and check performance test report etc..
Performance test control module 201 is responsible for controlling service logics such as the startup stopping of functional performance test and functional The logics such as the communication between energy test process.After test to be launched, choose test case and can be submitted to test case execution Module 203.
Test case management module 202 is responsible for the test and management write in test case library, edits Delete the operation such as renewal so that maintenance test use-case storehouse.
Test case performs module 203 and is responsible for performing test case according to script, with reach to simulate artificial from Dynamicization operates.After test case execution module 203 receives the test case that user selects execution, set up test assignment, and Carry out the operation of automatization, and send test case to performance information acquisition module 204 and perform notice.
Performance information acquisition module 204 is mainly responsible for the CPU of acquisition system, physical memory, virtual memory, disk, network, The application startup time, the information such as battery electric quantity.Performance information acquisition module 204 receives test case and performs notice Time, start acquisition performance status information, and send current device performance state to web server in real time to show test to use Family.
Automatic test module group 200 is by the system information obtained in performance information acquisition module 204 and web server mould Api interface information in block 210 is transferred in the performance information display module 220 of Web server represent for real-time visual; Real-time performance information in test shows user, final test result to be saved in number by performance information display module 220 According on server 230.
After test case performs to terminate, test case perform module 203 and send logical to performance testing control module 201 Knowing, inform that test completes, do as one likes energy testing control module 201 sends end performance collection to performance information acquisition module 204 and leads to Knowing, performance information acquisition module 204 terminates performance collection and test result is saved on data server 230, shows simultaneously To user, user equally carries out the operations such as data preservation, contrast derivation with other test equipment, simplifies monitoring test stream Journey, improves efficiency and the accuracy rate of performance test.
Embodiment one
The embodiment of the present invention one provide automatic test in method for monitoring performance, its flow process as it is shown on figure 3, include as Lower step:
Step S101: start the automated performance testing to equipment under test.
Terminal unit application test in, can by the subscriber equipmenies such as personal computer build automated test frame with Test script, carries out automatic test to application.The execution of management of test cases can be realized by performance test control module In proper order and creative management test plan etc., having dependence etc. between different test cases, these are all by performance test control Molding block is responsible for.
Step S102: obtain required test case from test case library.
Test case (Test Case) be work out for certain special objective one group test input, execution condition and Expected results, in order to test certain Program path or examine whether meet certain particular demands.By simulating some artificial points Hit the operations such as slip, to reach the purpose replacing manually carrying out automatic test.The test case write can leave survey in In example storehouse on probation, test case is the set script of sequence of operations, and this set includes screen taps, physical button point Pressing, screen slides, and cell phone system state is arranged, and constructs initial testing state, resets the operations such as test mode, a series of by this The various combination of operational set simulate some user operations to reach the purpose of automatic test.
It is to say, the test case of storage includes at least one in following test case in test case library: screen Hit testing use-case, physical button presses test case, screen slip test case, and cell phone system state arranges test case, Structure initial testing state verification use-case, resets test mode test case.
Step S103: set up test assignment according to the test case obtained, the test case that automated execution obtains.
Perform the test case write, test case is operated the basic operation phase of script and terminal unit bottom Convert, to reach the purpose of automatic test.
During automated execution institute test case, the test case script that automated execution obtains from test case library, real Existing analog subscriber operates at least one in following operation: screen taps, and physical button is pressed, and screen slides, cell phone system shape State is arranged, and constructs initial testing state, resets test mode.
Step S104: realize collecting test by Java reflection technology and Java unit testing calls application interface and use The performance state information of equipment under test during example execution.
Performance monitoring can realize the performances such as the CPU to terminal unit (CPU), internal memory, network and be acquired And monitoring.The performance state information data collected can give data server preserved in case the generation of test report with And the later stage check playback etc..
Step S105: the performance state information collected carries out visualization and represents process, and exports.
The performance state information collected can show user by performance information display module or say tester, makes It can be real-time the visual performance information checking mobile phone.
Step S106: the performance state information of real-time exhibition equipment under test is to user.
In said method, optionally, during automatic test, under can realizing allowing user to perform by management of webpage interface At least one in row operation: start, suspend, stop, restarting the automated performance testing to equipment under test.
Embodiment two
The embodiment of the present invention two provides the method for monitoring performance in above-mentioned automatic test, its principle as shown in Figure 4, in fact Existing flow process is as it is shown in figure 5, comprise the steps:
Step S201: start the automated performance testing to equipment under test.
By user or say that tester starts the automatic testing process that terminal is started to write.
Step S202: search in test case library whether there is required test case.
If so, perform step S205, perform step S203 if not.
Which which, after determining needs or test case, go test case library is searched required test case, root Subsequent operation is performed according to Query Result.As shown in Figure 4, select existing test case or write new test case.
Step S203: do not find required test case to user feedback and point out user's Selection and call test case to compile Writing module writes required test case.
When test case library does not exist required test case, required test is not found to use to user feedback Example also is pointed out user's Selection and call test case to write module to write required test case;Even test case library is not deposited In required specific test case, then user can write module by test case and writes new test case and be saved in In test case library.
Step S204: the test case write is stored in test case library.
Optionally, it is also possible to the test case write in management of test cases storehouse, test case is edited, repaiies Change, delete or update operation.
Step S205: obtain required test case from test case library.
Step S206: set up test assignment according to the test case obtained, the test case that automated execution obtains.
Implementation of test cases as shown in Figure 4.
Step S207: realize collecting test by Java reflection technology and Java unit testing calls application interface and use The performance state information of equipment under test during example execution.
Step S208: the performance state information collected carries out visualization and represents process, and exports.
As shown in Figure 4 real-time exhibition, additionally the performance state information collected can be carried out data preserve with And generation test report.
Step S209: the performance state information of real-time exhibition equipment under test is to user.
User can be suspended by web management interface, stops, and restarts the operations such as monitoring.
Said method starts monitoring thread while starting automatic test, obtains system performance information, is pushed to web The page carries out real-time exhibition, and test carries out report and shows and preserve data after terminating.The data collected are with based on name/value pair Data interchange format (JSON form) issue represent end by web socket (WebSocket).Test performance after terminating On information is uploaded onto the server.
The said method of the embodiment of the present invention and device can be based on Android (Android) automated test frames (Robotium) realize the application of Android platform being carried out black box automatic test, by simulation various gesture operations (point Hit, long by, slip etc.), search and assert application programming interface (the Application Programming of mechanism Interface, API) various controls can be operated, reach application program is carried out the purpose of the test of automatization.
Said method and device, integrated performance test module in automated test frame, in automated test frame Call Android application program by the Java unit testing (Android JUnit Test) of iava reflection technology and Android to connect Mouth (Android API), to obtain performance information, while performing automatic test cases, carries out performance to equipment under test and adopts Collection is so that real-time performance monitoring and representing that performance evaluating is reported, and automatic test gathers high integration, seamless reality with performance The automatization having showed performance test is carried out.
Said method and device, dispose and install simply, owing to performance test has been integrated into automated test frame, only has A set of test frame, carries out performance collection the most in real time when performing automatic test cases, it is not necessary to carry out extra setting;Merit Can test high with the performance monitoring degree of coupling, the real-time performance monitoring of automatization can be carried out, can generate after having tested Whole performance test report, real-time;Test period is short, can realize automatization, and the performance test of customization improves performance The efficiency of test and accuracy rate;The program can realize real-time exhibition monitored results, by a network service module by system Monitor state is shown in webpage or browser window, no matter on being devices under or on other personal computers, as long as Can real-time exhibition system information by browser access webpage;The program can be to the CPU of system, physical memory, virtual interior Depositing, disk, network, apply the startup time, api interface data volume, the information such as electricity is shown, collects abundant test Data are so that more conducively performance evaluation;The program is possible not only to the monitoring of the information such as the CPU internal memory to whole system, equally To information process collections such as the CPU internal memories that specific tested application program is used.
Those skilled in the art are it will also be appreciated that the various illustrative components, blocks listed of the embodiment of the present invention (illustrative logical block), unit, and step can pass through electronic hardware, computer software, or both knots Conjunction realizes.For clearly showing that the replaceability (interchangeability) of hardware and software, above-mentioned various explanations Property parts (illustrative components), unit and step the most universally describe their function.Such merit Can be to realize depending on specifically applying the design requirement with whole system by hardware or software.Those skilled in the art Can be for every kind of specific application, it is possible to use the function described in the realization of various methods, but this realization is understood not to Scope beyond embodiment of the present invention protection.
Various illustrative logical block described in the embodiment of the present invention, or unit can pass through general processor, Digital signal processor, special IC (ASIC), field programmable gate array or other programmable logic device, discrete gate Or transistor logic, discrete hardware components, or the design of any of the above described combination realize or operate described function.General place Reason device can be microprocessor, and alternatively, this general processor can also be any traditional processor, controller, microcontroller Device or state machine.Processor can also realize by calculating the combination of device, such as digital signal processor and microprocessor, Multi-microprocessor, one or more microprocessors one Digital Signal Processor Core of associating, or any other like configuration Realize.
It is soft that method described in the embodiment of the present invention or the step of algorithm can be directly embedded into hardware, processor performs Part module or the combination of both.Software module can be stored in RAM memory, flash memory, ROM memory, EPROM storage Other any form of storage medium in device, eeprom memory, depositor, hard disk, moveable magnetic disc, CD-ROM or this area In.Exemplarily, storage medium can be connected with processor, so that processor can read information from storage medium, and Write information can be deposited to storage medium.Alternatively, storage medium can also be integrated in processor.Processor and storage medium can To be arranged in ASIC, ASIC can be arranged in user terminal.Alternatively, processor and storage medium can also be arranged at use In different parts in the terminal of family.
In one or more exemplary designs, the above-mentioned functions described by the embodiment of the present invention can be at hardware, soft The combination in any of part, firmware or this three realizes.If realized in software, these functions can store and computer-readable On medium, or it is transmitted on the medium of computer-readable with one or more instructions or code form.Computer readable medium includes electricity Brain stores medium and is easy to so that allowing computer program transfer to the telecommunication media in other place from a place.Storage medium is permissible It is that any general or special computer can be with the useable medium of access.Such as, such computer readable media can include but It is not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage device, or other What may be used for carrying or storage can be by general or special computer or general or special handling with other with instruction or data structure Device reads the medium of the program code of form.Additionally, any connection can be properly termed computer readable medium, example As, if software is by coaxial cable, fiber optic cables, double from a web-site, server or other remote resource Twisted wire, Digital Subscriber Line (DSL) or with the wireless way for transmittings such as the most infrared, wireless and microwave be also contained in defined In computer readable medium.Described video disc (disk) and disk (disc) include Zip disk, radium-shine dish, CD, DVD, floppy disk And Blu-ray Disc, disk is generally with magnetic duplication data, and video disc generally carries out optical reproduction data with laser.Combinations of the above Can also be included in computer readable medium.
Above-described detailed description of the invention, has been carried out the purpose of the present invention, technical scheme and beneficial effect further Describe in detail, be it should be understood that the detailed description of the invention that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, all should comprise Within protection scope of the present invention.

Claims (10)

1. the performance monitoring apparatus in an automatic test, it is characterised in that including: performance test control module, test are used Example performs module, performance information acquisition module, network service module and performance information display module;
Performance test control module, for starting the automated performance testing to equipment under test, obtains institute from test case library The test case needed;
Test case performs module, and for setting up test assignment according to the test case obtained, test described in automated execution is used Example;
Performance information acquisition module, for realizing adopting by Java reflection technology and Java unit testing calls application interface The performance state information of equipment under test during collection test case execution;
Network service module, the performance state information for collecting carries out visualization and represents process, and exports to performance information Display module;
Performance information display module, for the performance state information of real-time exhibition equipment under test to user.
2. device as claimed in claim 1, it is characterised in that in described test case library, the test case of storage includes following At least one in test case: screen taps test case, physical button presses test case, screen slip test case, Cell phone system state arranges test case, constructs initial testing state verification use-case, resets test mode test case;
Accordingly, described test case performs module, specifically for:
The test case script that automated execution obtains from test case library, it is achieved in the analog subscriber following operation of operation extremely Few one: screen taps, physical button is pressed, and screen slides, and cell phone system state is arranged, and constructs initial testing state, resets Test mode.
3. device as claimed in claim 1, it is characterised in that described performance test control module, specifically for:
Realize allowing user to perform at least one in following operation by management of webpage interface: start, suspend, stop, again Start the automated performance testing to equipment under test.
4. the device as described in claim 1-3 is arbitrary, it is characterised in that also include:
Test case management module, the test case write in management of test cases storehouse, test case is compiled Collect, revise, delete or update operation.
5. device as claimed in claim 4, it is characterised in that described test case management module, is additionally operable to:
When test case library does not exist required test case, do not find required test case also to user feedback Prompting user's Selection and call test case is write module and is write required test case;The test case write is stored In test case library.
6. the method for monitoring performance in an automatic test, it is characterised in that including:
Start the automated performance testing to equipment under test, from test case library, obtain required test case;
Test case according to obtaining sets up test assignment, test case described in automated execution;
During realizing the execution of collecting test use-case by Java reflection technology and Java unit testing calls application interface The performance state information of equipment under test;
The performance state information collected carries out visualization and represents process, and the performance state information of real-time exhibition equipment under test is given User.
7. method as claimed in claim 6, it is characterised in that in described test case library, the test case of storage includes following At least one in test case: screen taps test case, physical button presses test case, screen slip test case, Cell phone system state arranges test case, constructs initial testing state verification use-case, resets test mode test case;
Accordingly, test case described in described automated execution, specifically include:
The test case script that automated execution obtains from test case library, it is achieved in the analog subscriber following operation of operation extremely Few one: screen taps, physical button is pressed, and screen slides, and cell phone system state is arranged, and constructs initial testing state, resets Test mode.
8. method as claimed in claim 6, it is characterised in that realize allowing user to perform following behaviour by management of webpage interface At least one in work: start, suspend, stop, restarting the automated performance testing to equipment under test.
9. method as claimed in claim 6, it is characterised in that also include:
The test case write in management of test cases storehouse, edits test case, revises, deletes or update behaviour Make.
10. the method as described in claim 6-9 is arbitrary, it is characterised in that also include:
When test case library does not exist required test case, do not find required test case also to user feedback Prompting user's Selection and call test case is write module and is write required test case;
The test case write is stored in test case library.
CN201610509533.1A 2016-06-30 2016-06-30 Method for monitoring performance and device in automatic test Active CN106201846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610509533.1A CN106201846B (en) 2016-06-30 2016-06-30 Method for monitoring performance and device in automatic test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610509533.1A CN106201846B (en) 2016-06-30 2016-06-30 Method for monitoring performance and device in automatic test

Publications (2)

Publication Number Publication Date
CN106201846A true CN106201846A (en) 2016-12-07
CN106201846B CN106201846B (en) 2019-07-12

Family

ID=57464000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610509533.1A Active CN106201846B (en) 2016-06-30 2016-06-30 Method for monitoring performance and device in automatic test

Country Status (1)

Country Link
CN (1) CN106201846B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106972983A (en) * 2017-03-24 2017-07-21 上海携程国际旅行社有限公司 The automatic test device and method of network interface
CN107274933A (en) * 2017-06-14 2017-10-20 湖南国科微电子股份有限公司 A kind of method and device for testing solid state hard disc
CN107832226A (en) * 2017-11-23 2018-03-23 中国平安人寿保险股份有限公司 Report-generating method, device, equipment and computer media based on performance test
CN107948640A (en) * 2017-12-19 2018-04-20 百度在线网络技术(北京)有限公司 Video playing test method, device, electronic equipment and storage medium
CN108156223A (en) * 2017-12-06 2018-06-12 深圳市猫投鹰信息科技有限公司 A kind of accurate supplying system of message based on websocket and method
CN108595312A (en) * 2017-12-29 2018-09-28 瑞庭网络技术(上海)有限公司 A kind of automatic performance method and device of modelling customer behavior
CN109144834A (en) * 2017-06-27 2019-01-04 深圳市Tcl高新技术开发有限公司 Acquisition method and device, the Android system and terminal device of user behavior data
CN109739754A (en) * 2018-12-25 2019-05-10 北京仁科互动网络技术有限公司 Application program automated testing method and system based on wechat exploitation
CN110381108A (en) * 2019-05-31 2019-10-25 凯迈(洛阳)机电有限公司 A method of based on terminal device control system and information system integrated communication
CN110704326A (en) * 2019-10-10 2020-01-17 浙江中控技术股份有限公司 Test analysis method and device
CN111143189A (en) * 2018-11-02 2020-05-12 易保网络技术(上海)有限公司 Method and apparatus for application program interface API testing
CN113535228A (en) * 2020-04-14 2021-10-22 深圳富桂精密工业有限公司 Method, apparatus and computer readable storage medium for monitoring data link
CN113838397A (en) * 2021-09-08 2021-12-24 深圳创维-Rgb电子有限公司 Display performance testing method and device, testing equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277295A1 (en) * 2005-06-03 2006-12-07 Mineyoshi Masuda Monitoring system and monitoring method
CN101436274A (en) * 2008-11-14 2009-05-20 山东浪潮齐鲁软件产业股份有限公司 Method for across-platform monitoring enterprise application system performance
CN105426278A (en) * 2015-11-20 2016-03-23 北京畅游天下网络技术有限公司 Client equipment performance test method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277295A1 (en) * 2005-06-03 2006-12-07 Mineyoshi Masuda Monitoring system and monitoring method
CN101436274A (en) * 2008-11-14 2009-05-20 山东浪潮齐鲁软件产业股份有限公司 Method for across-platform monitoring enterprise application system performance
CN105426278A (en) * 2015-11-20 2016-03-23 北京畅游天下网络技术有限公司 Client equipment performance test method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
心在蜀山: "Java怎么建接口让Android调用", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/1383581765904680500.HTML》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106972983A (en) * 2017-03-24 2017-07-21 上海携程国际旅行社有限公司 The automatic test device and method of network interface
CN106972983B (en) * 2017-03-24 2020-03-17 上海携程国际旅行社有限公司 Automatic testing device and method for network interface
CN107274933A (en) * 2017-06-14 2017-10-20 湖南国科微电子股份有限公司 A kind of method and device for testing solid state hard disc
CN109144834B (en) * 2017-06-27 2021-11-23 深圳市Tcl高新技术开发有限公司 User behavior data acquisition method and device, android system and terminal equipment
CN109144834A (en) * 2017-06-27 2019-01-04 深圳市Tcl高新技术开发有限公司 Acquisition method and device, the Android system and terminal device of user behavior data
CN107832226A (en) * 2017-11-23 2018-03-23 中国平安人寿保险股份有限公司 Report-generating method, device, equipment and computer media based on performance test
CN108156223A (en) * 2017-12-06 2018-06-12 深圳市猫投鹰信息科技有限公司 A kind of accurate supplying system of message based on websocket and method
CN107948640A (en) * 2017-12-19 2018-04-20 百度在线网络技术(北京)有限公司 Video playing test method, device, electronic equipment and storage medium
CN108595312A (en) * 2017-12-29 2018-09-28 瑞庭网络技术(上海)有限公司 A kind of automatic performance method and device of modelling customer behavior
CN111143189A (en) * 2018-11-02 2020-05-12 易保网络技术(上海)有限公司 Method and apparatus for application program interface API testing
CN109739754A (en) * 2018-12-25 2019-05-10 北京仁科互动网络技术有限公司 Application program automated testing method and system based on wechat exploitation
CN109739754B (en) * 2018-12-25 2022-03-11 北京仁科互动网络技术有限公司 Automatic testing method and system for application program based on WeChat development
CN110381108A (en) * 2019-05-31 2019-10-25 凯迈(洛阳)机电有限公司 A method of based on terminal device control system and information system integrated communication
CN110381108B (en) * 2019-05-31 2021-11-05 凯迈(洛阳)机电有限公司 Method for integrated communication based on terminal equipment control system and informatization system
CN110704326A (en) * 2019-10-10 2020-01-17 浙江中控技术股份有限公司 Test analysis method and device
CN113535228A (en) * 2020-04-14 2021-10-22 深圳富桂精密工业有限公司 Method, apparatus and computer readable storage medium for monitoring data link
CN113535228B (en) * 2020-04-14 2024-04-09 深圳富桂精密工业有限公司 Method, apparatus and computer readable storage medium for monitoring data link
CN113838397A (en) * 2021-09-08 2021-12-24 深圳创维-Rgb电子有限公司 Display performance testing method and device, testing equipment and storage medium

Also Published As

Publication number Publication date
CN106201846B (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN106201846A (en) Method for monitoring performance in automatic test and device
CN103793324B (en) The test device and test method and test scene combined method of embedded software
CN106021095B (en) A kind of Android application automated testing method based on push-mechanism
CN105446846B (en) Performance test methods based on cloud desktop
CN103812726B (en) Automated testing method and device for data communication equipment
CN105608258B (en) A kind of Model-based diagnosis and information flow visual simulation system and method
US9161238B2 (en) Mobile device monitoring and testing
CN107786000B (en) Intelligent generation method for configuration file of digital relay protection tester
CN106126424B (en) A kind of visual automated testing method of script, device and mobile terminal
CN107025165A (en) Game automated testing method and relevant apparatus
CN109408105A (en) Acquisition method, device, computing device and the storage medium of user behavior data
CN106649024A (en) Method and device for real-time monitoring of application performance
CN110013672B (en) Method, device, apparatus and computer-readable storage medium for automated testing of machine-run games
CN103605604B (en) A kind of method of batch testing set-top box software stability
CN105187608B (en) The method and apparatus of application program power consumption on a kind of acquisition mobile terminal
CN105335277A (en) Fault information processing method and device as well as terminal
CN105740144A (en) Automated testing method and system for Android mobile Terminal
CN109525841A (en) TV method for testing pressure, platform and computer readable storage medium
CN103268289A (en) Method and system for transcribing and applying test script on mobile terminal
CN107066377A (en) Page elements acquisition methods and terminal device based on android system
CN101030160B (en) Tester and method for testing unified series interface command
CN107807869A (en) A kind of test system and method for testing
CN109032864A (en) A kind of method and system of NVMe SSD hot plug test
CN110502414A (en) Terminal device performance test methods, device, terminal device and storage medium
CN116560985B (en) Chip equipment test control method, upper computer, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant