CN108804320A - Automated testing method, device, computer equipment and storage medium - Google Patents

Automated testing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN108804320A
CN108804320A CN201810540161.8A CN201810540161A CN108804320A CN 108804320 A CN108804320 A CN 108804320A CN 201810540161 A CN201810540161 A CN 201810540161A CN 108804320 A CN108804320 A CN 108804320A
Authority
CN
China
Prior art keywords
test
platform
several tasks
sub
test 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.)
Pending
Application number
CN201810540161.8A
Other languages
Chinese (zh)
Inventor
吕三
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201810540161.8A priority Critical patent/CN108804320A/en
Publication of CN108804320A publication Critical patent/CN108804320A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Abstract

The embodiment of the present application discloses a kind of automated testing method, device, computer equipment and storage medium.This method includes:The log-on message of typing is verified, if log-on message by verification, obtains selected operating platform and correspondence logs into selected operating platform;If selected operating platform is automatic test platform, test case to be tested and the corresponding test result of each test case are obtained, and show to the test result of each test case;Prepare automation cloud platform if selected operating platform is test data, acquisition makes several tasks and makes number parallel according to several task progress are made, and obtains test data.The method achieve the high-volume of test data to automatically generate, and can carry out the test assignment of test data automatically, improves the efficiency of automatic test.

Description

Automated testing method, device, computer equipment and storage medium
Technical field
This application involves automatization testing technique fields more particularly to a kind of automated testing method, device, computer to set Standby and storage medium.
Background technology
Currently, when testing during the test test case, it is usually enterprising in the local terminal of tester The test of row manually or automatically, this results in split it in large-scale test event, be split as multiple small-sized It is redistributed to each tester after test assignment to test, this, which is resulted in, is difficult centralized and unified and obtains each test assignment automatically Testing progress.And required test data is also that distribution carries out making number manually to each tester in test case, is led Several inefficiency are made in cause, so that the testing efficiency of entire test process is low.
Invention content
This application provides a kind of automated testing method, device, computer equipment and storage mediums, it is intended to solve existing All it is to split task to divide when being tested during the test test case in technology or when carrying out test data preparation Match, each test assignment of Centralized Monitoring or the progresses of several tasks can not be made, lead to the problem that testing efficiency is low.
In a first aspect, this application provides a kind of automated testing methods comprising:
The log-on message of typing is verified, if log-on message obtains selected operating platform and right by verification Selected operating platform should be logged into;
If selected operating platform is automatic test platform, test case to be tested and each test case are obtained Corresponding test result, and the test result of each test case is shown;
If selected operating platform, which is test data, prepares automation cloud platform, acquisition makes several tasks and according to making several Business carries out making number parallel, obtains test data.
Second aspect, this application provides a kind of automatic test devices comprising:
Login authentication unit is verified for the log-on message to typing, if log-on message by verification, selected by acquisition Fixed operating platform and correspondence logs into selected operating platform;
First platform feedback unit obtains to be tested if being automatic test platform for selected operating platform Test case and the corresponding test result of each test case, and the test result of each test case is shown;
Second platform feedback unit obtains if being that test data prepares automation cloud platform for selected operating platform It takes and makes several tasks and make number parallel according to several task progress are made, obtain test data.
The third aspect, the application provide a kind of computer equipment again, including memory, processor and are stored in described deposit On reservoir and the computer program that can run on the processor, the processor realize this when executing the computer program Any one of them automated testing method provided is provided.
Fourth aspect, present invention also provides a kind of storage mediums, wherein the storage medium is stored with computer program, The computer program includes program instruction, and described program instruction makes the processor execute the application when being executed by a processor Any one of them automated testing method of offer.
A kind of automated testing method of the application offer, device, computer equipment and storage medium.This method passes through to record The log-on message entered is verified, if log-on message by verification, obtains selected operating platform and correspondence logs into institute Selected operating platform;If selected operating platform is automatic test platform, test case to be tested, and each survey are obtained The corresponding test result of example on probation, and the test result of each test case is shown;If selected operating platform is to survey It tries data preparation and automates cloud platform, acquisition makes several tasks and makes number parallel according to several task progress are made, and obtains test data.It should The high-volume that method realizes test data automatically generates, and can carry out the test assignment of test data automatically, improves certainly The efficiency of dynamicization test.
Description of the drawings
It, below will be to needed in embodiment description in order to illustrate more clearly of the embodiment of the present application technical solution Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of schematic flow diagram of automated testing method provided by the embodiments of the present application;
Fig. 2 is a kind of sub-process schematic diagram of automated testing method provided by the embodiments of the present application;
Fig. 3 is a kind of another sub-process schematic diagram of automated testing method provided by the embodiments of the present application;
Fig. 4 is a kind of another sub-process schematic diagram of automated testing method provided by the embodiments of the present application;
Fig. 5 is a kind of another sub-process schematic diagram of automated testing method provided by the embodiments of the present application;
Fig. 6 is a kind of schematic block diagram of automatic test device provided by the embodiments of the present application;
Fig. 7 is a kind of subelement schematic block diagram of automatic test device provided by the embodiments of the present application;
Fig. 8 is a kind of another subelement schematic block diagram of automatic test device provided by the embodiments of the present application;
Fig. 9 is a kind of another subelement schematic block diagram of automatic test device provided by the embodiments of the present application;
Figure 10 is a kind of another subelement schematic block diagram of automatic test device provided by the embodiments of the present application;
Figure 11 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow diagram of automated testing method provided by the embodiments of the present application.The party Method is applied in the terminals such as desktop computer, laptop computer, tablet computer.As shown in Figure 1, the method comprising the steps of S101~ S103。
S101, the log-on message of typing is verified, if log-on message obtains selected operating platform by verification And correspondence logs into selected operating platform.
In the present embodiment, quality technology cloud platform need to be first built, test data is integrated in the quality technology cloud platform Prepare the sub-platforms such as automation cloud platform, automatic test platform;On the interfaces UI of quality technology cloud platform, it is provided with test Data preparation automate cloud platform, the corresponding virtual push button of automatic test platform (effect of virtual push button be similar to hyperlink, One click virtual push button then automatic jumps to corresponding sub-platform, this layout is similar to InterURL, clicks in InterURL A certain web site name, you can rapidly enter the homepage of the website).User (mainly tester) is passing through log-on message (login account and password) has logged in quality technology cloud platform, you can sub-platform is corresponded to one of on the interfaces selection UI Operation.
In one embodiment, as shown in Fig. 2, the step S101 includes:
S1011, log-on message is sent to Redis databases;
If S1012, the selected instruction for detecting operating platform, the log-on message in Redis databases is obtained, according to login Information correspondence logs into selected operating platform.
In the present embodiment, the log-on message of user is obtained, and by log-on message and pre-stored user account information (pre-stored user account information is to be stored in quality technology server of cloud platform database after multiple user's registrations In data) be compared, sentence in user account information whether there is information identical with the log-on message of user;If user's account There is the information with the log-on message of user, the prompt logined successfully in the information of family, and the log-on message of user is sent To Redis databases;If detecting the selected instruction of the sub-platform of user, corresponding log-on message in Redis databases is obtained, and The corresponding operating platform of the selected instruction of sub-platform is logged according to log-on message.Wherein, the log-on message of the user of verification will be passed through Redis databases are sent to, are directly directly to pull this from Redis databases in order to facilitate when user enters sub-platform The log-on message of user repeats log-on message of typing again with quick registration sub-platform, without user.
If S102, selected operating platform are automatic test platform, test case to be tested, and each test are obtained The corresponding test result of use-case, and the test result of each test case is shown.
In the present embodiment, if user has selected automatic test platform, then on the interfaces UI of quality technology cloud platform Enter selected automatic test platform according to log-on message.User need to upload test case to be tested at this time.It is uploading After the completion, need to wait for testing the test result fed back after the completion automatically, obtain being shown after test result complete it is automatic The process of test.
In one embodiment, as shown in figure 3, the step S102 includes:
S1021, test case to be tested is obtained, and is synchronized to Mission Monitor platform;
S1022, obtain Mission Monitor platform and feed back test result corresponding with each test case, and to test result into Row display.
In the present embodiment, used Mission Monitor platform is Jenkins platforms.Jenkins is developed based on Java A kind of continuous integrating tool, for monitor continue repeat work, can be used for the execution state of observing and controlling test case.User exists On the interface for the automatic test platform built in advance, test case can be uploaded.User is obtained by automatic test platform After the test case of upload, you can on the corresponding background server of automatic test platform, or and automatic test platform Implementation of test cases, the implementation procedure of test case are supervised in real time by Mission Monitor platform on the load testing end of connection Control.
In the present embodiment, on the interface of automatic test platform, have it is newly-increased, delete, editor's test case etc. some Pseudo operation button then obtains completion operation when user clicks any one in above-mentioned pseudo operation button on interface The test case of last state afterwards.
For example, user on the interface of automatic test platform, clicks newly-increased pseudo operation button, that is, pops up one and compile Frame is collected, the information filled in is needed to include at least task names (i.e. the corresponding task names of test case), test in the edit box Type (being specifically exactly to be tested in the frames such as TestNG frames or Jmeter frames), (i.e. test is used in the paths SVN The store path of example), scheduling frequency (i.e. the frequency of the scheduled execution of test case), organizational structure (the i.e. volume of the test case The department that the personnel of writing are belonged to), system (i.e. the operating system of the writer institute using terminal of the test case), task description Information such as the task of test case (i.e. briefly describe) complete pair after completing the editor of above- mentioned information in edit box The newly-increased operation of test case is the test case uploaded on automatic test platform after preservation.
When the user clicks after the pseudo operation button of editor's test case, then the editor of editor's test case is popped up Frame, the fill message in the edit box is identical as the information of the edit box of newly-increased test case, only each letter in the edit box Breath item has been edited before being, this time operation needs part modification or all changes information therein.
When user has selected a certain test case in the task list on the interface of automatic test platform, and corresponding points The pseudo operation button deleted is hit, then corresponding to will be on automatic test platform and Mission Monitor platform is related to the test case Data deleted.
The action type of test case is directed on the interface of automatic test platform by detection user, it can timely more The last state of new each test case, the test case that each tester uploads to automatic test platform can timely carry out shape State updates, it is ensured that the real-time update of automatic test.
In the present embodiment, multiple test cases are to show in the form of a list on the interface of automatic test platform, Each test case is a line in list, and correspondence all shows test case after the completion of test per a line test case Test result.
Since during entire automatic test, Mission Monitor platform carries out the implementation procedure of each test case Implementing monitoring, automatic test platform can be by pre-set synchronizing cycles (such as according to the period of 30s) from Mission Monitor platform Know the execution state of test case.When the test result for having known test case, then the test result of the test case is existed Corresponding row is shown.In this way, tester, which has logged in automatic test platform, can check the test result of each test case, Convenient for being monitored to the test case included by entire test event.Moreover, for the implementation procedure of each test case, also It can check its execution journal, its specific implementation procedure is analyzed according to execution journal convenient for tester.
In the present embodiment, when tester be uploaded to automatic test platform test case test after the completion of, will The test result of test case is filled into pre-set test report template, and test report is obtained.In test report both It can show the test result for the state of running succeeded, can also show the test result for executing status of fail, be also based on survey Test result is counted, and by statistical result column diagram, line chart or pie chart are shown, such as the failure that will execute status of fail Case sum, the failure case ratio for executing status of fail are shown.
In the present embodiment, the test of corresponding test case can also be counted according to timing statistics section set by user As a result, and generating test report corresponding with timing statistics section set by user.For example, can be automated with statistically one month The sum of the test case of test, the corresponding test case sum of test result for the state that runs succeeded, executes status of fail Corresponding test case sum of test result etc..
In the present embodiment, it is obtained from Mission Monitor platform by quartz timings frame corresponding with each test case Test result, there are two types of the Job Trigger devices of quartz timing frames, is respectively:
org.springframework.scheduling.quartz.SimpleTriggerBean;
org.springframework.scheduling.quartz.CronTriggerBean;
The first SimpleTriggerBean only supports, according to certain frequency calling task, such as to run one every 10 minutes It is secondary;
Second of CronTriggerBean is supported to specified time operation once, such as daily 12:00 operation one is inferior.
After obtaining test result corresponding with each test case from Mission Monitor platform, existed according to the test case It is uploaded to the posting address set by automatic test platform, test result is sent to the posting address (such as tester Mailbox).In such a way that timing frame sets out, instead of the mode manually monitored, realizes test result and reported automatically to monitoring The terminal (i.e. specified tester) of personnel, reduces human cost.
If S103, selected operating platform, which are test data, prepares automation cloud platform, several tasks and basis are made in acquisition It makes several task progress and makes number parallel, obtain test data.
In one embodiment, as shown in figure 4, the step S103 includes:
S1031, multiple make in several tasks of parsing make exponential model;
S1032, the sub-line journey that respective numbers are selected in thread pool make several tasks correspondence distribution to each sub-line journey by multiple In carry out data generation parallel, obtain multiple test datas;
S1033, multiple test datas are sent to test lead.
In the present embodiment, exponential model is made provided with a variety of in data preparation automation cloud platform, the data preparation Automation cloud platform is additionally provided with one and uploads the interfaces UI for making several tasks towards tester.Tester creates on the interfaces UI When making several tasks, it need to select and make exponential model, as made number provided with generation identification card number in data preparation automation cloud platform Model, the simple functions such as exponential model of making for generating cell-phone number make exponential model, and it includes customer name, cell-phone number that generation, which can also be arranged, The compound of integrated datas such as identification card number, test product title, cooperative institution, channel type make exponential model.When user is testing Data preparation automates on the interfaces UI of the cloud platform towards tester, and selected one makes exponential model, and start completion makes exponential model Selected when making several tasks, this, which makes several tasks, can be uploaded to the thread pool that test data prepares automation cloud platform, by thread pool Several tasks will be made to be allocated to carry out making number.Since tester only need to be corresponding selected according to the application scenarios of test data Exponential model is made, then thread pool will be uploaded to including the several tasks of making for making exponential model, the configuration operation without carrying out complicated can be sent out It rises and makes several requests.In the present embodiment, when have it is multiple make several tasks be uploaded to test data prepare automation cloud platform when, be Number is faster made parallel to it, can be prepared in automation cloud platform using task pool to making in deployment test data Number task carries out queue management.
In one embodiment, as shown in figure 5, the step S1032 includes:
S10321, initialization thread pond;
If S10322, detecting that making several tasks increases request, makes several tasks by described and increase that request is corresponding to make several tasks point The sub-line journey being assigned in thread pool;
S10323, by sub-line journey make several tasks by be added sub-line journey queue sequencing be sequentially distributed to it is corresponding Load end;
The test data corresponding with several tasks are made that S10324, reception are fed back by load end.
In the present embodiment, thread pool effect is exactly the quantity of execution thread in limitation system.According to the environment feelings of system Number of threads can be arranged with automatic or manual in condition, reach operation optimum efficiency (because thread has lacked and wastes system resource, Thread causes system crowded inefficient), number of threads is controlled by thread pool.Several task executions are made for one to finish, then Taken since queue foremost make several tasks execute.If without waiting for process, this resource in sub-line journey pond in queue In waiting.When a new task needs operation, if there is the sub-line journey of waiting in thread pool, so that it may no to bring into operation Then enter waiting list.
When initialization thread pond, can thread pool be first divided by multiple regions according to pre-set sub-line journey number, Each region corresponds to a sub-line journey, and each sub-line journey corresponds to communication connection one for executing the load machine for making several tasks.If It detects that making several tasks increases request, several tasks will be made and one of distribute into thread pool sub-line journey, then will by sub-line journey It makes several tasks and is sent to corresponding load machine and carry out making number.By thread pool, the automatic distribution for making several tasks is realized so that more A to make several tasks and parallel be carried out by multiple load machines, several efficiency are made in raising.
In the present embodiment, thread pool is first divided by multiple regions according to pre-set sub-line journey number, this is pre- If thread pool sub-line journey number, be determined according to the performance of thread pool, if the thread pool can bear to be divided into it is more A child partition, so that it may thread pool be marked off into some child partitions more, the general number that divides is 5-20.
Each sub-line journey in thread pool is all corresponded into one linkedlist queues of Initialize installation later.linkedlist Essence be doubly linked list, linkedList includes two important members:Header and size.Header is doubly linked list Gauge outfit, it is the example of the class Entry corresponding to doubly linked list node.It include member variable in Entry:previous,next, element.Wherein, previous is a upper node for the node, and next is the next node of the node, and element is The value that the node is included.Size is the number of doubly linked list interior joint.A wherein node of linkedlist most ends Next node is the first node of linkedlist, and the previous node of the first node of linkedlist is linkedlist most ends Tail node.
Meanwhile it also needing with number and changeable number can be allowed to be configured the permission of each sub-line journey, wherein sub-line journey Allow to define that the node total number in linkedlist queues, sub-line journey allow changeable number to define with several The expansible number of nodes of linkedlist queues.
When the setting and sub-line journey for completing linkedlist queues allow with number and changeable number can be allowed Then the wherein a certain sub-line journey of thread pool is added according to pre-set rule in setting, the then request for respectively making several tasks.By to line The initialization of Cheng Chi can effectively promote the allocative efficiency to making several tasks.
In the present embodiment, data preparation automation cloud platform (data preparation automation cloud platform can also be denoted as server) When detecting that single or multiple request ends increase request by the several tasks of making of initiating of the interfaces UI, cloud platform is automated in data preparation On by ascending order can distribute a sequence number according to each sequencing for making the system time that several task requests reach servers, Then number equal divided by thread pool the sub-line journey number remainder that sorts corresponding to several task requests will be respectively made, obtains remainder.
For example, request end 1 is 2 to several tasks increase requests of making transmitted by server, it is denoted as makes 1 He of several tasks respectively Make several tasks 2;Request end 2 is 3 to several tasks increase requests of making transmitted by server, is denoted as several tasks 3 of making respectively, makes number Task 4 and make several tasks 5;……;Request end N is N1 to several tasks increase requests of making transmitted by server, is denoted as respectively Several task N2 are made to making several task N2+N1.If request end 1 is will to make several tasks increase requests at first to be sent to server, ask End 2 is taken second place, until request end N1 is will finally to make several tasks increase requests to be sent to server.Server will be made to each at this time The corresponding sequence number of number task requests distribution, such as the assigned row's serial number 1 of several tasks 1 is made, make the assigned row of several tasks 2 Serial number 2 ... ... makes the assigned row's serial number N2+N1 of several task N2+N1;If the sub-line journey number of thread pool is 10 at this time, The sub-line journey number remainder of the corresponding sequence number of several tasks increase requests divided by thread pool will be then made, obtaining remainder (can in upper example The remainder that can be obtained is 0-9), it is that several tasks made corresponding to x increase that request is corresponding to be sent to that number be x's by sequence remainder Sub-line journey, such as it is 1 to make the remainder of the sequence numbers 1 divided by 10 of several tasks 1, then by this, to make several tasks to correspond to distribution to number be 1 Sub-line journey.It is realized by this mode and the dynamic random for making several tasks is distributed.
In the present embodiment, the second way can be also taken, such as several tasks will be made and distributed to sub-line journey thread residue Quantity is the sub-line journey corresponding to the maximum value of multiple sub-line journey thread volume residuals.Also the third side will can also be taken Formula, such as the corresponding sequence number of several tasks increase requests will be made and be input to advance trained distribution model, pass through distribution model The number that a sub-line journey is exported after progress operation distributes the dynamic random for making several tasks with realizing.Moreover, test data prepares Automation cloud platform can make several instructions with the pause of real-time reception user, or continue to make the instructions such as number and carry out making number, with reality Now to making the real-time controls of several tasks.
In the present embodiment, request end used in tester (request end is alternatively referred to as test lead) is accurate to test data Several tasks are made for automation cloud platform transmission, basis is made several tasks and surveyed in preparing automation cloud platform in test data After trying data, that is, completes and make several processes, obtained test data can be fed back on request end at this time, and tester can answer Test use is carried out with test data.
In the present embodiment, it can also obtain what department is each task sources information for making several tasks (be by What personnel initiated makes several tasks).Meanwhile each several total time-consumings of making for making several tasks of statistics, and it is flat in data preparation automation cloud Platform is completed to make several general assignment numbers, and shows above-mentioned data with column diagram, line chart, pie chart close friend, realizes from the time (i.e. Make number take), system (making the corresponding load machine of several tasks), grouping (i.e. task sources information) different dimensions count people Power puts into/save related data.
As it can be seen that the high-volume the method achieve test data automatically generates, and the survey of test data can be carried out automatically Trial is engaged in, and the efficiency of automatic test is improved.
The embodiment of the present application also provides a kind of automatic test device, and the automatic test device is aforementioned automatic for executing Change any embodiment of test method.Specifically, referring to Fig. 6, Fig. 6 is a kind of automatic test provided by the embodiments of the present application The schematic block diagram of device.Automatic test device 100 can be configured at desktop computer, tablet computer, laptop computer, etc. terminals In.
As shown in fig. 6, automatic test device 100 include login authentication unit 101, the first platform feedback unit 102 and Second platform feedback unit 103.
Wherein, login authentication unit 101 is verified for the log-on message to typing, if log-on message by verification, It obtains selected operating platform and correspondence logs into selected operating platform.
In the present embodiment, quality technology cloud platform need to be first built, test data is integrated in the quality technology cloud platform Prepare the sub-platforms such as automation cloud platform, automatic test platform;On the interfaces UI of quality technology cloud platform, it is provided with test Data preparation automate cloud platform, the corresponding virtual push button of automatic test platform (effect of virtual push button be similar to hyperlink, One click virtual push button then automatic jumps to corresponding sub-platform, this layout is similar to InterURL, clicks in InterURL A certain web site name, you can rapidly enter the homepage of the website).User (mainly tester) is passing through log-on message (login account and password) has logged in quality technology cloud platform, you can sub-platform is corresponded to one of on the interfaces selection UI Operation.
In one embodiment, as shown in fig. 7, the login authentication unit 101 includes:
Log-on message transmission unit 1011, for log-on message to be sent to Redis databases;
Log-on message pulls unit 1012, if the selected instruction for detecting operating platform, obtains in Redis databases Log-on message, according to log-on message correspondence log into selected operating platform.
In the present embodiment, the log-on message of user is obtained, and by log-on message and pre-stored user account information (pre-stored user account information is to be stored in quality technology server of cloud platform database after multiple user's registrations In data) be compared, sentence in user account information whether there is information identical with the log-on message of user;If user's account There is the information with the log-on message of user, the prompt logined successfully in the information of family, and the log-on message of user is sent To Redis databases;If detecting the selected instruction of the sub-platform of user, corresponding log-on message in Redis databases is obtained, and According to the corresponding operating platform of the selected instruction of information registration sub-platform.Wherein, it will be sent by the log-on message of the user of verification It is that the user is directly directly pulled from Redis databases in order to facilitate when user enters sub-platform to Redis databases Log-on message with quick registration sub-platform, repeat log-on message of typing again without user.
First platform feedback unit 102 obtains to be tested if being automatic test platform for selected operating platform Test case and the corresponding test result of each test case, and the test result of each test case is shown.
In one embodiment, as shown in figure 8, the first platform feedback unit 102 includes:
Test case acquiring unit 1021 for obtaining test case to be tested, and is synchronized to Mission Monitor platform;
Test result acquiring unit 1022 feeds back test corresponding with each test case for obtaining Mission Monitor platform As a result, and being shown to test result;
Test result transmission unit 1023, for test result to be sent to pre-set addressee end.
In the present embodiment, used Mission Monitor platform is Jenkins platforms.Jenkins is developed based on Java A kind of continuous integrating tool, for monitor continue repeat work, can be used for the execution state of observing and controlling test case.User exists On the interface for the automatic test platform built in advance, test case can be uploaded.User is obtained by automatic test platform After the test case of upload, you can on the corresponding background server of automatic test platform, or and automatic test platform Implementation of test cases, the implementation procedure of test case are supervised in real time by Mission Monitor platform on the load testing end of connection Control.
In the present embodiment, on the interface of automatic test platform, have it is newly-increased, delete, editor's test case etc. some Pseudo operation button then obtains completion operation when user clicks any one in above-mentioned pseudo operation button on interface The test case of last state afterwards.
For example, user on the interface of automatic test platform, clicks newly-increased pseudo operation button, that is, pops up one and compile Frame is collected, the information filled in is needed to include at least task names (i.e. the corresponding task names of test case), test in the edit box Type (being specifically exactly to be tested in the frames such as TestNG frames or Jmeter frames), (i.e. test is used in the paths SVN The store path of example), scheduling frequency (i.e. the frequency of the scheduled execution of test case), organizational structure (the i.e. volume of the test case The department that the personnel of writing are belonged to), system (i.e. the operating system of the writer institute using terminal of the test case), task description Information such as the task of test case (i.e. briefly describe) complete pair after completing the editor of above- mentioned information in edit box The newly-increased operation of test case is the test case uploaded on automatic test platform after preservation.
When the user clicks after the pseudo operation button of editor's test case, then the editor of editor's test case is popped up Frame, the fill message in the edit box is identical as the information of the edit box of newly-increased test case, only each letter in the edit box Breath item has been edited before being, this time operation needs part modification or all changes information therein.
When user has selected a certain test case in the task list on the interface of automatic test platform, and corresponding points The pseudo operation button deleted is hit, then corresponding to will be on automatic test platform and Mission Monitor platform is related to the test case Data deleted.
The action type of test case is directed on the interface of automatic test platform by detection user, it can timely more The last state of new each test case, the test case that each tester uploads to automatic test platform can timely carry out shape State updates, it is ensured that the real-time update of automatic test.
In the present embodiment, multiple test cases are to show in the form of a list on the interface of automatic test platform, Each test case is a line in list, and correspondence all shows test case after the completion of test per a line test case Test result.
Since during entire automatic test, Mission Monitor platform carries out the implementation procedure of each test case Implementing monitoring, automatic test platform can be by pre-set synchronizing cycles (such as according to the period of 30s) from Mission Monitor platform Know the execution state of test case.When the test result for having known test case, then the test result of the test case is existed Corresponding row is shown.In this way, tester, which has logged in automatic test platform, can check the test result of each test case, Convenient for being monitored to the test case included by entire test event.Moreover, for the implementation procedure of each test case, also It can check its execution journal, its specific implementation procedure is analyzed according to execution journal convenient for tester.
In the present embodiment, when tester be uploaded to automatic test platform test case test after the completion of, will The test result of test case is filled into pre-set test report template, and test report is obtained.In test report both It can show the test result for the state of running succeeded, can also show the test result for executing status of fail, be also based on survey Test result is counted, and by statistical result column diagram, line chart or pie chart are shown, such as the failure that will execute status of fail Case sum, the failure case ratio for executing status of fail are shown.
In the present embodiment, the test of corresponding test case can also be counted according to timing statistics section set by user As a result, and generating test report corresponding with timing statistics section set by user.For example, can be automated with statistically one month The sum of the test case of test, the corresponding test case sum of test result for the state that runs succeeded, executes status of fail Corresponding test case sum of test result etc..
In the present embodiment, it is obtained from Mission Monitor platform by quartz timings frame corresponding with each test case Test result, there are two types of the Job Trigger devices of quartz timing frames, is respectively:
org.springframework.scheduling.quartz.SimpleTriggerBean;
org.springframework.scheduling.quartz.CronTriggerBean;
The first SimpleTriggerBean only supports, according to certain frequency calling task, such as to run one every 10 minutes It is secondary;
Second of CronTriggerBean is supported to specified time operation once, such as daily 12:00 operation one is inferior.
After obtaining test result corresponding with each test case from Mission Monitor platform, existed according to the test case It is uploaded to the posting address set by automatic test platform, test result is sent to the posting address (such as tester Mailbox).In such a way that timing frame sets out, instead of the mode manually monitored, realizes test result and reported automatically to monitoring The terminal (i.e. specified tester) of personnel, reduces human cost.
Second platform feedback unit 103, if being that test data prepares automation cloud platform for selected operating platform, Acquisition makes several tasks and makes number parallel according to several task progress are made, and obtains test data.
In one embodiment, as shown in figure 9, the second platform feedback unit 103 includes:
Several task resolution units 1031 are made, for obtaining the several tasks of making uploaded, multiple make in several tasks is parsed and makes number Model;
Counting unit 1032 is made parallel, the sub-line journey for selecting respective numbers in thread pool makes several tasks pair by multiple It should distribute and carry out data generation parallel into each sub-line journey, obtain multiple test datas;
Several feedback units 1033 are made, for multiple test datas to be sent to test lead.
In the present embodiment, exponential model is made provided with a variety of in data preparation automation cloud platform, the data preparation Automation cloud platform is additionally provided with one and uploads the interfaces UI for making several tasks towards tester.Tester creates on the interfaces UI When making several tasks, it need to select and make exponential model, as made number provided with generation identification card number in data preparation automation cloud platform Model, the simple functions such as exponential model of making for generating cell-phone number make exponential model, and it includes customer name, cell-phone number that generation, which can also be arranged, The compound of integrated datas such as identification card number, test product title, cooperative institution, channel type make exponential model.When user is testing Data preparation automates on the interfaces UI of the cloud platform towards tester, and selected one makes exponential model, and start completion makes exponential model Selected when making several tasks, this, which makes several tasks, can be uploaded to the thread pool that test data prepares automation cloud platform, by thread pool Several tasks will be made to be allocated to carry out making number.Since tester only need to be corresponding selected according to the application scenarios of test data Exponential model is made, then thread pool will be uploaded to including the several tasks of making for making exponential model, the configuration operation without carrying out complicated can be sent out It rises and makes several requests.In the present embodiment, when have it is multiple make several tasks be uploaded to test data prepare automation cloud platform when, be Number is faster made parallel to it, can be prepared in automation cloud platform using task pool to making in deployment test data Number task carries out queue management.
In one embodiment, as shown in Figure 10, described parallel to make counting unit 1032 and include:
Thread initialization unit 10321 is used for initialization thread pond;
Allocation unit 10322 is asked, if for detecting that making several tasks increases request, several tasks increase requests are made by described Correspondence makes several tasks and distributes the sub-line journey into thread pool;
Load distribution unit 10323, for several tasks will to be made by the sequencing that sub-line journey queue is added in sub-line journey Sequentially it is distributed to corresponding load end;
Data receipt unit 10324, for receiving the test data corresponding with several tasks are made fed back by load end.
In the present embodiment, thread pool effect is exactly the quantity of execution thread in limitation system.According to the environment feelings of system Number of threads can be arranged with automatic or manual in condition, reach operation optimum efficiency (because thread has lacked and wastes system resource, Thread causes system crowded inefficient), number of threads is controlled by thread pool.Several task executions are made for one to finish, then Taken since queue foremost make several tasks execute.If without waiting for process, this resource in sub-line journey pond in queue In waiting.When a new task needs operation, if there is the sub-line journey of waiting in thread pool, so that it may no to bring into operation Then enter waiting list.
When initialization thread pond, can thread pool be first divided by multiple regions according to pre-set sub-line journey number, Each region corresponds to a sub-line journey, and each sub-line journey corresponds to communication connection one for executing the load machine for making several tasks.If It detects that making several tasks increases request, several tasks will be made and one of distribute into thread pool sub-line journey, then will by sub-line journey It makes several tasks and is sent to corresponding load machine and carry out making number.By thread pool, the automatic distribution for making several tasks is realized so that more A to make several tasks and parallel be carried out by multiple load machines, several efficiency are made in raising.
In the present embodiment, thread pool is first divided by multiple regions according to pre-set sub-line journey number, this is pre- If thread pool sub-line journey number, be determined according to the performance of thread pool, if the thread pool can bear to be divided into it is more A child partition, so that it may thread pool be marked off into some child partitions more, the general number that divides is 5-20.
Each sub-line journey in thread pool is all corresponded into one linkedlist queues of Initialize installation later.linkedlist Essence be doubly linked list, linkedList includes two important members:Header and size.Header is doubly linked list Gauge outfit, it is the example of the class Entry corresponding to doubly linked list node.It include member variable in Entry:previous,next, element.Wherein, previous is a upper node for the node, and next is the next node of the node, and element is The value that the node is included.Size is the number of doubly linked list interior joint.A wherein node of linkedlist most ends Next node is the first node of linkedlist, and the previous node of the first node of linkedlist is linkedlist most ends Tail node.
Meanwhile it also needing with number and changeable number can be allowed to be configured the permission of each sub-line journey, wherein sub-line journey Allow to define that the node total number in linkedlist queues, sub-line journey allow changeable number to define with several The expansible number of nodes of linkedlist queues.
When the setting and sub-line journey for completing linkedlist queues allow with number and changeable number can be allowed Then the wherein a certain sub-line journey of thread pool is added according to pre-set rule in setting, the then request for respectively making several tasks.By to line The initialization of Cheng Chi can effectively promote the allocative efficiency to making several tasks.
In the present embodiment, data preparation automation cloud platform (data preparation automation cloud platform can also be denoted as server) When detecting that single or multiple request ends increase request by the several tasks of making of initiating of the interfaces UI, cloud platform is automated in data preparation On by ascending order can distribute a sequence number according to each sequencing for making the system time that several task requests reach servers, Then number equal divided by thread pool the sub-line journey number remainder that sorts corresponding to several task requests will be respectively made, obtains remainder.
For example, request end 1 is 2 to several tasks increase requests of making transmitted by server, it is denoted as makes 1 He of several tasks respectively Make several tasks 2;Request end 2 is 3 to several tasks increase requests of making transmitted by server, is denoted as several tasks 3 of making respectively, makes number Task 4 and make several tasks 5;……;Request end N is N1 to several tasks increase requests of making transmitted by server, is denoted as respectively Several task N2 are made to making several task N2+N1.If request end 1 is will to make several tasks increase requests at first to be sent to server, ask End 2 is taken second place, until request end N1 is will finally to make several tasks increase requests to be sent to server.Server will be made to each at this time The corresponding sequence number of number task requests distribution, such as the assigned row's serial number 1 of several tasks 1 is made, make the assigned row of several tasks 2 Serial number 2 ... ... makes the assigned row's serial number N2+N1 of several task N2+N1;If the sub-line journey number of thread pool is 10 at this time, The sub-line journey number remainder of the corresponding sequence number of several tasks increase requests divided by thread pool will be then made, obtaining remainder (can in upper example The remainder that can be obtained is 0-9), it is that several tasks made corresponding to x increase that request is corresponding to be sent to that number be x's by sequence remainder Sub-line journey, such as it is 1 to make the remainder of the sequence numbers 1 divided by 10 of several tasks 1, then by this, to make several tasks to correspond to distribution to number be 1 Sub-line journey.It is realized by this mode and the dynamic random for making several tasks is distributed.
In the present embodiment, the second way can be also taken, such as several tasks will be made and distributed to sub-line journey thread residue Quantity is the sub-line journey corresponding to the maximum value of multiple sub-line journey thread volume residuals.Also the third side will can also be taken Formula, such as the corresponding sequence number of several tasks increase requests will be made and be input to advance trained distribution model, pass through distribution model The number that a sub-line journey is exported after progress operation distributes the dynamic random for making several tasks with realizing.Moreover, test data prepares Automation cloud platform can make several instructions with the pause of real-time reception user, or continue to make the instructions such as number and carry out making number, with reality Now to making the real-time controls of several tasks.
In the present embodiment, request end used in tester (request end is alternatively referred to as test lead) is accurate to test data Several tasks are made for automation cloud platform transmission, basis is made several tasks and surveyed in preparing automation cloud platform in test data After trying data, that is, completes and make several processes, obtained test data can be fed back on request end at this time, and tester can answer Test use is carried out with test data.
In the present embodiment, it can also obtain what department is each task sources information for making several tasks (be by What personnel initiated makes several tasks).Meanwhile each several total time-consumings of making for making several tasks of statistics, and it is flat in data preparation automation cloud Platform is completed to make several general assignment numbers, and shows above-mentioned data with column diagram, line chart, pie chart close friend, realizes from the time (i.e. Make number take), system (making the corresponding load machine of several tasks), grouping (i.e. task sources information) different dimensions count people Power puts into/save related data.
As it can be seen that the high-volume the arrangement achieves test data automatically generates, and the survey of test data can be carried out automatically Trial is engaged in, and the efficiency of automatic test is improved.
Above-mentioned automatic test device can be implemented as a kind of form of computer program, which can be such as It is run on computer equipment shown in Figure 11.
Please refer to Fig.1 the schematic block diagram that 1, Figure 11 is a kind of computer equipment provided by the embodiments of the present application.The calculating 500 equipment of machine equipment can be terminal.The terminal can be tablet computer, laptop, desktop computer, personal digital assistant Equal electronic equipments.
Refering to fig. 11, which includes processor 502, memory and the net connected by system bus 501 Network interface 505, wherein memory may include non-volatile memory medium 503 and built-in storage 504.
The non-volatile memory medium 503 can storage program area 5031 and computer program 5032.The computer program 5032 include program instruction, which is performed, and processor 502 may make to execute a kind of automated testing method.
The processor 502 supports the operation of entire computer equipment 500 for providing calculating and control ability.
The built-in storage 504 provides environment for the operation of the computer program 5032 in non-volatile memory medium 503, should When computer program 5032 is executed by processor 502, processor 502 may make to execute a kind of automated testing method.
The network interface 505 such as sends the task dispatching of distribution for carrying out network communication.Those skilled in the art can manage It solves, structure is not constituted only with the block diagram of the relevant part-structure of application scheme to the application side shown in Figure 11 The restriction for the computer equipment 500 that case is applied thereon, specific computer equipment 500 may include more than as shown in the figure Or less component, it either combines certain components or is arranged with different components.
Wherein, the processor 502 is for running computer program 5032 stored in memory, to realize following work( Energy:The log-on message of typing is verified, if log-on message obtains selected operating platform and corresponding login by verification Into selected operating platform;If selected operating platform is automatic test platform, test case to be tested is obtained, And the corresponding test result of each test case, and the test result of each test case is shown;If selected operation is flat Platform is that test data prepares automation cloud platform, and acquisition makes several tasks and makes number parallel according to several task progress are made, tested Data.
In one embodiment, processor 502 also executes following operation:Log-on message is sent to Redis databases;If inspection The selected instruction of operating platform is measured, the log-on message in Redis databases is obtained, institute is logged into according to log-on message correspondence Selected operating platform.
In one embodiment, processor 502 also executes following operation:Test case to be tested is obtained, and is synchronized to and appoints Business monitor supervision platform;It obtains Mission Monitor platform and feeds back test result corresponding with each test case, and test result is carried out Display.
In one embodiment, processor 502 also executes following operation:It parses multiple make in several tasks and makes exponential model;? Multiple make in several tasks correspondence distribution to each sub-line journey is carried out data life by the sub-line journey that respective numbers are selected in thread pool parallel At obtaining multiple test datas;Multiple test datas are sent to test lead.
In one embodiment, processor 502 also executes following operation:Initialization thread pond;Increase if detecting and making several tasks Add request, makes several tasks by described and increase that request is corresponding to make several tasks and distribute the sub-line journey into thread pool;It will be in sub-line journey It makes several tasks and is sequentially distributed to corresponding load end by the sequencing that sub-line journey queue is added;Receive fed back by load end with Make the corresponding test data of several tasks.
It will be understood by those skilled in the art that the embodiment of computer equipment shown in Figure 11 is not constituted to computer The restriction of equipment specific composition, in other embodiments, computer equipment may include components more more or fewer than diagram, or Person combines certain components or different components arrangement.For example, in some embodiments, computer equipment can only include depositing Reservoir and processor, in such embodiments, the structure and function of memory and processor are consistent with embodiment illustrated in fig. 11, Details are not described herein.
It should be appreciated that in the embodiment of the present application, processor 502 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or Person's processor can also be any conventional processor etc..
A kind of storage medium is provided in another embodiment of the application.The storage medium can be computer-readable storage Medium.The storage medium is stored with computer program, and wherein computer program includes program instruction.The program instruction is by processor It is realized when execution:The log-on message of typing is verified, if log-on message obtains selected operating platform simultaneously by verification Correspondence logs into selected operating platform;If selected operating platform is automatic test platform, obtain to be tested Test case and the corresponding test result of each test case, and the test result of each test case is shown;If selecting Operating platform be that test data prepares automation cloud platform, acquisition makes several tasks and makes number parallel according to the progress of several tasks is made, Obtain test data.
In one embodiment, it is realized when which is executed by processor:Log-on message is sent to Redis data Library;If detecting the selected instruction of operating platform, the log-on message in Redis databases is obtained, is stepped on according to log-on message correspondence Record enters selected operating platform.
In one embodiment, it is realized when which is executed by processor:Test case to be tested is obtained, and synchronous To Mission Monitor platform;It obtains Mission Monitor platform and feeds back test result corresponding with each test case, and to test result It is shown.
In one embodiment, it is realized when which is executed by processor:It parses multiple make in several tasks and makes digital-to-analogue Type;The sub-line journey that respective numbers are selected in thread pool carries out multiple make in several tasks correspondence distribution to each sub-line journey parallel Data generate, and obtain multiple test datas;Multiple test datas are sent to test lead.
In one embodiment, it is realized when which is executed by processor:Initialization thread pond;Several are made if detecting Business increases request, makes several tasks by described and increases that request is corresponding to make several tasks and distribute the sub-line journey into thread pool;By sub-line journey In make several tasks by be added sub-line journey queue sequencing be sequentially distributed to corresponding load end;Reception is fed back by load end Test data corresponding with several tasks are made.
The storage medium can be the internal storage unit of aforementioned device, such as the hard disk or memory of equipment.It is described to deposit Storage media can also be the plug-in type hard disk being equipped on the External memory equipment of the equipment, such as the equipment, intelligent storage Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc.. Further, the storage medium can also both include the equipment internal storage unit and also including External memory equipment.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is set The specific work process of standby, device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein. Those of ordinary skill in the art may realize that units and algorithm described in conjunction with the examples disclosed in the embodiments of the present disclosure Step can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and software Interchangeability generally describes each exemplary composition and step according to function in the above description.These functions are studied carefully Unexpectedly the specific application and design constraint depending on technical solution are implemented in hardware or software.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In several embodiments provided herein, it should be understood that disclosed unit and method, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner can also will have identical work( The unit set of energy can be combined or can be integrated into another system at a unit, such as multiple units or component, or Some features can be ignored or not executed.In addition, shown or discussed mutual coupling or direct-coupling or communication link It can be INDIRECT COUPLING or communication connection by some interfaces, device or unit to connect, and can also be electricity, mechanical or other Form connection.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, can also be during two or more units are integrated in one unit.It is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a storage medium.Based on this understanding, technical scheme of the present invention is substantially in other words to existing The all or part of part or the technical solution that technology contributes can be expressed in the form of software products, should Computer software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be Personal computer, server or network equipment etc.) execute all or part of step of each embodiment the method for the present invention Suddenly.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), magnetic disc or The various media that can store program code such as person's CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain subject to.

Claims (10)

1. a kind of automated testing method, which is characterized in that including:
The log-on message of typing is verified, if log-on message by verification, obtains selected operating platform and correspondence is stepped on Record enters selected operating platform;
If selected operating platform is automatic test platform, obtains test case to be tested and each test case corresponds to Test result, and the test result of each test case is shown;
If selected operating platform be test data prepare automation cloud platform, acquisition make several tasks and according to make several tasks into Row makes number parallel, obtains test data.
2. automated testing method according to claim 1, which is characterized in that described to obtain selected operating platform simultaneously Correspondence logs into selected operating platform, including:
Log-on message is sent to Redis databases;
If detecting the selected instruction of operating platform, the log-on message in Redis databases is obtained, is stepped on according to log-on message correspondence Record enters selected operating platform.
3. automated testing method according to claim 1, which is characterized in that it is described to obtain test case to be tested, And the corresponding test result of each test case, and the test result of each test case is shown, including:
Test case to be tested is obtained, and is synchronized to Mission Monitor platform;
It obtains Mission Monitor platform and feeds back test result corresponding with each test case, and test result is shown.
4. automated testing method according to claim 1, which is characterized in that the acquisition makes several tasks and according to making number Task progress makes number parallel, obtains test data, including:
It parses multiple make in several tasks and makes exponential model;
The sub-line journey that respective numbers are selected in thread pool carries out multiple make in several tasks correspondence distribution to each sub-line journey parallel Data generate, and obtain multiple test datas;
Multiple test datas are sent to test lead.
5. automated testing method according to claim 1, which is characterized in that described to select respective numbers in thread pool Sub-line journey, by it is multiple make several tasks and correspond in distribution to each sub-line journey carry out data generation parallel, obtain multiple test datas, Including:
Initialization thread pond;
Increase request if detecting and making several tasks, several tasks will be made and increase that request is corresponding to make several tasks and distribute the son into thread pool Thread;
Several tasks of making in sub-line journey are sequentially distributed to corresponding load end by the sequencing that sub-line journey queue is added;
Receive the test data corresponding with several tasks are made fed back by load end.
6. a kind of automatic test device, which is characterized in that including:
Login authentication unit is verified for the log-on message to typing, if log-on message is obtained selected by verification Operating platform and correspondence log into selected operating platform;
First platform feedback unit obtains test to be tested if being automatic test platform for selected operating platform Use-case and the corresponding test result of each test case, and the test result of each test case is shown;
Second platform feedback unit, if being that test data prepares automation cloud platform for selected operating platform, acquisition is made Number task simultaneously makes number parallel according to several task progress are made, and obtains test data.
7. automatic test device according to claim 6, which is characterized in that the first platform feedback unit, including:
Test case acquiring unit for obtaining test case to be tested, and is synchronized to Mission Monitor platform;
Test result acquiring unit feeds back test result corresponding with each test case for obtaining Mission Monitor platform, and Test result is shown.
8. automatic test device according to claim 6, which is characterized in that the second platform feedback unit, including:
Several task resolution units are made, for obtaining the several tasks of making uploaded, multiple make in several tasks is parsed and makes exponential model;
Counting unit is made parallel, the sub-line journey for selecting respective numbers in thread pool makes several tasks correspondence distribution extremely by multiple Data generation is carried out in each sub-line journey parallel, obtains multiple test datas;
Several feedback units are made, for multiple test datas to be sent to test lead.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor is realized when executing the computer program as in claim 1-5 Any one of them automated testing method.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, the computer program packet Program instruction is included, described program instruction makes the processor execute such as any one of claim 1-5 institutes when being executed by a processor The automated testing method stated.
CN201810540161.8A 2018-05-30 2018-05-30 Automated testing method, device, computer equipment and storage medium Pending CN108804320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810540161.8A CN108804320A (en) 2018-05-30 2018-05-30 Automated testing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810540161.8A CN108804320A (en) 2018-05-30 2018-05-30 Automated testing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108804320A true CN108804320A (en) 2018-11-13

Family

ID=64089567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810540161.8A Pending CN108804320A (en) 2018-05-30 2018-05-30 Automated testing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108804320A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109655A (en) * 2019-05-21 2019-08-09 上海华穗电子科技有限公司 One kind being based on modular test development of measurement software method
CN110109829A (en) * 2019-04-15 2019-08-09 福建天晴在线互动科技有限公司 Intelligent dialogue automates method of calibration, storage medium
CN110134573A (en) * 2019-04-12 2019-08-16 平安普惠企业管理有限公司 Make the continuous race control method of number, device, computer equipment and storage medium
CN110659870A (en) * 2019-08-14 2020-01-07 平安普惠企业管理有限公司 Business audit test method, device, equipment and storage medium
CN110850207A (en) * 2019-11-15 2020-02-28 深圳忆联信息系统有限公司 Method and device for automatically controlling PDU (protocol data Unit) to test, computer equipment and storage medium
CN111352846A (en) * 2020-03-06 2020-06-30 深圳前海微众银行股份有限公司 Test system number making method, device, equipment and storage medium
CN112100073A (en) * 2020-09-16 2020-12-18 京东数字科技控股股份有限公司 Online development method and device of application program, electronic equipment and storage medium
CN113411226A (en) * 2020-03-16 2021-09-17 北京奇虎科技有限公司 Router distributed automatic test method, system, storage medium and computer equipment thereof
CN116089187A (en) * 2022-12-30 2023-05-09 摩尔线程智能科技(北京)有限责任公司 GPU test system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599027A (en) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 A kind of thread pool management method and system thereof
CN105630685A (en) * 2016-01-29 2016-06-01 广州酷狗计算机科技有限公司 Method and device for testing program interface
CN105704178A (en) * 2014-11-26 2016-06-22 腾讯科技(深圳)有限公司 Task platform access method and task platform access device
CN107153609A (en) * 2016-03-04 2017-09-12 阿里巴巴集团控股有限公司 A kind of automated testing method and device
CN107483437A (en) * 2017-08-14 2017-12-15 深圳市华傲数据技术有限公司 A kind of user's unified login management method and device
CN107861870A (en) * 2017-11-02 2018-03-30 平安科技(深圳)有限公司 Interface testing and test data generating method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599027A (en) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 A kind of thread pool management method and system thereof
CN105704178A (en) * 2014-11-26 2016-06-22 腾讯科技(深圳)有限公司 Task platform access method and task platform access device
CN105630685A (en) * 2016-01-29 2016-06-01 广州酷狗计算机科技有限公司 Method and device for testing program interface
CN107153609A (en) * 2016-03-04 2017-09-12 阿里巴巴集团控股有限公司 A kind of automated testing method and device
CN107483437A (en) * 2017-08-14 2017-12-15 深圳市华傲数据技术有限公司 A kind of user's unified login management method and device
CN107861870A (en) * 2017-11-02 2018-03-30 平安科技(深圳)有限公司 Interface testing and test data generating method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘晓强等: "面向云测试的并行测试用例自动生成方法", 《计算机应用》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134573A (en) * 2019-04-12 2019-08-16 平安普惠企业管理有限公司 Make the continuous race control method of number, device, computer equipment and storage medium
CN110109829A (en) * 2019-04-15 2019-08-09 福建天晴在线互动科技有限公司 Intelligent dialogue automates method of calibration, storage medium
CN110109829B (en) * 2019-04-15 2022-12-09 福建天晴在线互动科技有限公司 Intelligent dialogue automatic checking method and storage medium
CN110109655A (en) * 2019-05-21 2019-08-09 上海华穗电子科技有限公司 One kind being based on modular test development of measurement software method
CN110659870A (en) * 2019-08-14 2020-01-07 平安普惠企业管理有限公司 Business audit test method, device, equipment and storage medium
CN110850207A (en) * 2019-11-15 2020-02-28 深圳忆联信息系统有限公司 Method and device for automatically controlling PDU (protocol data Unit) to test, computer equipment and storage medium
CN111352846A (en) * 2020-03-06 2020-06-30 深圳前海微众银行股份有限公司 Test system number making method, device, equipment and storage medium
CN111352846B (en) * 2020-03-06 2024-03-19 深圳前海微众银行股份有限公司 Method, device, equipment and storage medium for manufacturing number of test system
CN113411226A (en) * 2020-03-16 2021-09-17 北京奇虎科技有限公司 Router distributed automatic test method, system, storage medium and computer equipment thereof
CN112100073A (en) * 2020-09-16 2020-12-18 京东数字科技控股股份有限公司 Online development method and device of application program, electronic equipment and storage medium
CN116089187A (en) * 2022-12-30 2023-05-09 摩尔线程智能科技(北京)有限责任公司 GPU test system, electronic equipment and storage medium
CN116089187B (en) * 2022-12-30 2024-02-02 摩尔线程智能科技(北京)有限责任公司 GPU test system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108804320A (en) Automated testing method, device, computer equipment and storage medium
CN108572919A (en) Automated testing method, device, computer equipment and storage medium
CN106484622B (en) Test method, apparatus and system
CN109582301A (en) Method for processing business, device, equipment and the medium of task based access control scheduling system
CN106776280B (en) Configurable performance testing device
CN106357457B (en) A kind of alarm test method, apparatus and system
US20040015846A1 (en) System, device and method for integrating functioning of autonomous processing modules, and testing apparatus using same
CN107463582A (en) The method and device of distributed deployment Hadoop clusters
CN107463362A (en) The method and system of lasting deployment based on multiple Jenkins
CN108647141A (en) Automatic test approach, device, computer-readable medium and electronic equipment
CN108595316A (en) Life cycle management method, manager, equipment and the medium of Distributed Application
CN110162481A (en) A kind of method for testing software, device, equipment and storage medium
CN110458407A (en) A kind of method for allocating tasks, device and computer readable storage medium
CN110083526A (en) Applied program testing method, device, computer installation and storage medium
CN110321283A (en) Interface testing case generation method, device, computer installation and storage medium
US20100332904A1 (en) Testing of Distributed Systems
CN105553732B (en) A kind of distributed network analogy method and system
CN112286806A (en) Automatic testing method and device, storage medium and electronic equipment
CN110177146A (en) A kind of non-obstruction Restful communication means, device and equipment based on asynchronous event driven
CN109902028A (en) Automated testing method, device, equipment and the storage medium of ACL characteristic
CN115185496A (en) Service arrangement method based on Flowable workflow engine
CN111104181A (en) Webpage data filling system for visually editing task flow
CN114663057A (en) Workflow management system, method and electronic equipment
CN113672500A (en) Deep learning algorithm testing method and device, electronic device and storage medium
CN109408092A (en) Method and device, storage medium and the electronic equipment of front end version publication

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181113

WD01 Invention patent application deemed withdrawn after publication