CN107741904A - Test machine method of automatic configuration, device, equipment and storage medium - Google Patents
Test machine method of automatic configuration, device, equipment and storage medium Download PDFInfo
- Publication number
- CN107741904A CN107741904A CN201710827340.5A CN201710827340A CN107741904A CN 107741904 A CN107741904 A CN 107741904A CN 201710827340 A CN201710827340 A CN 201710827340A CN 107741904 A CN107741904 A CN 107741904A
- Authority
- CN
- China
- Prior art keywords
- test
- test machine
- group
- configuration file
- machine
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The present invention relates to screen display technology field, the present invention provides a kind of test machine method of automatic configuration, device, equipment and storage medium, test machine method of automatic configuration, and the test machine method of automatic configuration includes:Multigroup test machine is connected, every group of test machine includes more test machines;Configuration file is obtained, and the configuration information of the environment configurations installation kit of every group of test machine and the system under test (SUT) of every group of test machine is obtained according to configuration file;The each test machine into every group of test machine sends corresponding environment configurations installation kit, so that every test machine carries out test environment deployment according to corresponding environment configurations installation kit, and environment configurations are carried out to system under test (SUT) according to the configuration information of the system under test (SUT) of every group of test machine, the present invention can issue corresponding test environment configuration installation kit from each test machine of trend, without manually being disposed to test machine one by one, the allocative efficiency to test machine is improved.
Description
Technical field
The present invention relates to computer testing technology field, more particularly to a kind of test machine method of automatic configuration, device, equipment
And storage medium.
Background technology
At present, common a computer or server need to turn into a test machine, generally require to configure it
It could realize, such as installation software, configuration testing bag and configuration surroundings variable etc..Due to test environment and each test assignment
Need manually to be disposed and be configured on each test machine, when test assignment needs more test machines, configuration task is more numerous
Weight, if configured by different personnel, it is easy to which error is omitted.
The content of the invention
It is an object of the invention to provide a kind of test machine method of automatic configuration, device, equipment and storage medium, Neng Goushi
Now user is not needed to be configured simultaneously to more test machines by the installation test machine of platform.
The present invention is achieved in that first aspect present invention provides a kind of test machine method of automatic configuration, the test
Machine method of automatic configuration includes:
Multigroup test machine is connected, every group of test machine includes more test machines;
Obtain configuration file, and the environment configurations installation kit of every group of test machine and described is obtained according to the configuration file
The configuration information of the system under test (SUT) of every group of test machine;
The each test machine into every group of test machine sends corresponding environment configurations installation kit, so that every test
Machine carries out test environment deployment according to corresponding environment configurations installation kit, and according to the system under test (SUT) of every group of test machine
Configuration information to system under test (SUT) carry out environment configurations.
Second aspect of the present invention provides a kind of test machine and automatically configures device, and the test machine, which automatically configures device, to be included:
Link block, for connecting multigroup test machine, every group of test machine includes more test machines;
Configuration file acquisition module, for obtaining configuration file, and according to the configuration file every group of test machine of acquisition
The configuration information of the system under test (SUT) of environment configurations installation kit and every group of test machine;
Environment configurations module, corresponding environment configurations peace is sent for each test machine into every group of test machine
Dress bag, so that every test machine carries out test environment deployment according to corresponding environment configurations installation kit, and according to described every
The configuration information of the system under test (SUT) of group test machine carries out environment configurations to system under test (SUT).
Third aspect present invention provides a kind of terminal device, including memory, processor and is stored in the memory
In and the computer program that can run on the processor, such as this hair is realized described in the computing device during computer program
The step of bright first aspect methods described.
Fourth aspect present invention provides a kind of computer-readable recording medium, and the computer-readable recording medium storage has
Computer program, when the computer program is executed by processor realize as described in the first aspect of the invention method the step of.
A kind of test machine method of automatic configuration, device, equipment and storage medium of the embodiment of the present invention, in implementation of test cases
The configuration information of preceding read test use-case, the environment configurations installation kit and system under test (SUT) of test machine are obtained according to configuration information
Configuration information, issue corresponding test environment to each test machine and configure installation kit, without manually being disposed to test machine one by one,
Improve the allocative efficiency to test machine.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of flow chart for test machine method of automatic configuration that an embodiment of the present invention provides;
Fig. 2 is a kind of particular flow sheet for test machine method of automatic configuration that another embodiment of the present invention provides;
Fig. 3 is a kind of particular flow sheet for test machine method of automatic configuration that another embodiment of the present invention provides;
Fig. 4 is a kind of particular flow sheet for test machine method of automatic configuration that another embodiment of the present invention provides;
Fig. 5 is the structural representation that a kind of test machine that another embodiment of the present invention provides automatically configures device;
Fig. 6 is the structural representation that a kind of test machine that another embodiment of the present invention provides automatically configures device;
Fig. 7 is the structural representation for the terminal device that another embodiment of the present invention provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In order to illustrate technical scheme, illustrated below by specific embodiment.
First embodiment of the invention provides a kind of test machine method of automatic configuration, as shown in figure 1, the test machine side of automatically configuring
Method includes:
The multigroup test machine of step S10. connections, every group of test machine include more test machines.
In step slo, optionally, server that can be based on continuous integrating engine platform is connected with more test machines,
To be managed collectively.According to the characteristic of continuous integrating engine platform, after accordingly test, test result can be closed directly
The implementing result page for being linked to the continuous integrating engine platform of server is shown.
In step slo, the setting of every group of test machine is classified by its corresponding system under test (SUT), for same
The test machine that one system under test (SUT) is tested can be more, and the test machine tested same system under test (SUT) is divided into one
Group.
Step S20. obtains configuration file, and according to configuration file obtain every group of test machine environment configurations installation kit and
The configuration information of the system under test (SUT) of every group of test machine.
In step S20, optionally, obtain configuration file can according to specified path or with test script according to
Rely relation loading configuration file, configuration file includes much information, including the environment configurations installation kit of test machine and is tested
The environment configuration information of system, although configuration file is stored respectively in different memory spaces from test script, it can pass through
Configuration file obtains the relevant information of test script, such as storage location etc..
Each test machines of the step S30. into every group of test machine sends corresponding environment configurations installation kit, so that
Every test machine carries out test environment deployment according to corresponding environment configurations installation kit, and according to the tested of every group of test machine
The configuration information of system carries out environment configurations to system under test (SUT).
In step s 30, optionally, the environment deployment to test machine can be configured according to being actually needed, for example, certain
One system under test (SUT) needs to carry out two test environment deployment, and sets first group of test machine 1-5 first test environment of deployment, and second
Group test machine 6-8 disposes the second test environment, then test environment configuration installation kit corresponding to the first test environment is issued into the
One group of test machine 1-5 is to carry out the first test environment deployment, by under test environment configuration installation kit corresponding to the second test environment
Second group of test machine 6-8 is sent to carry out the second test environment deployment.
In step s 30, optionally, the configuration information of system under test (SUT) is also included in configuration file, is carried out to test machine
Environment configurations are also carried out to system under test (SUT) while environment configurations, system under test (SUT) is in original state, test machine and tested system
After the completion of the environment configurations of system, then start to perform test script, can on a testing machine start, test script can also be sent
Performed to test system.
A kind of test machine method of automatic configuration of the embodiment of the present invention, the configuration of read test use-case before implementation of test cases
Information, the environment configurations installation kit of test machine and the configuration information of system under test (SUT) are obtained according to configuration information, to each test machine
Corresponding test environment configuration installation kit is issued, without manually being disposed to test machine one by one, improves and test machine is matched somebody with somebody
Put efficiency.
On the basis of above-mentioned first embodiment embodiment, as another embodiment, as shown in Fig. 2 test machine is certainly
Dynamic collocation method also includes:
Step S40. issues the user with the prompting for whether updating test machine when detecting that configuration file updates.
In step s 40, optionally, configuration file can be updated automatically by being connected with other systems, Ke Yigen
Whether updated according to the modification time of test position file or the size detection configuration file of configuration file, when detection is arranged in pairs or groups
When the modification time of position paper or the size of configuration file change, that is, prompting frame is issued the user with, prompt user to enter
Row renewal.
Step S50. is when receiving the instruction of renewal test machine, after sending renewal to test machine corresponding with configuration file
Configuration file, test machine is re-started environment deployment.
In step s 40, optionally, when user clicks on the confirming button in prompting frame, or click in interface and set
During the more new button put, environment mounting means carries out environment deployment to test machine again according to disclosed in embodiment is a kind of.
Embodiment of the present invention issues the user with renewal prompting when configuration file updates, when user determines to update
When, it is updated according to the instruction pair of user with the test machine corresponding to the configuration file that updates.
On the basis of above-mentioned first embodiment embodiment, as another embodiment, as shown in figure 3, test machine is automatic
Collocation method includes:
The multigroup test machine of step S11. connections, every group of test machine include more test machines.
Step S11 is identical with the step S10 in above-described embodiment, referring to above-mentioned S10 description, will not be repeated here.
Step S21. obtains configuration file, and the environment configurations installation kit, every of every group of test machine is obtained according to configuration file
The configuration information of system under test (SUT) of group test machine and the testing time of test case.
Step S21 and identical part in the step S20 in above-described embodiment, may refer to above-mentioned S20 description, step
Difference in S21 and step S20 is the testing time that test case is obtained always according to configuration file, to configuration file solution
Test case can be parsed while analysis, the testing time of the test case refers to the time of implementation of test cases, matches somebody with somebody due to one
Multiple test cases may be corresponded to, it is necessary to the testing time be arranged according to actual conditions, for example, being set according to test prioritization by putting file
The testing time of each test case is put, environment installation is carried out to test machine according to the testing time successively.
Further, due to the limited amount of test machine, when test case is more, it is necessary to which the testing time of setting makes survey
Test-run a machine is performed successively, and in some cases, conflict can also be produced by performing the test machine of different test cases, therefore be tested obtaining
Also need to obtain the quantity of test machine while time, while test machine is set according to the quantity of testing time and test machine.
It is right with it that step S31. is sent according to each test machine of the testing time of test case into every group of test machine
The environment configurations installation kit answered, so that every test machine carries out test environment portion according to corresponding environment configurations installation kit
Administration, and environment configurations are carried out to system under test (SUT) according to the configuration information of the system under test (SUT) of every group of test machine.
In step S31, optionally, test machine is divided into N groups, successively every group of test machine is entered to advance according to the testing time
Row configuration.
Further, when getting the quantity of test machine, due to the quantity of test machine can not meet to perform simultaneously it is all
Test case, need to reuse test machine for some test cases, specifically, in the first preset time to every group of test machine
In each test machine send corresponding environment configurations installation kit, implementation of test cases, when at least two groups therein it is complete
Into during test, the test machine in wherein at least two groups is combined to each in the second preset time into every group of test machine
Test machine sends corresponding environment configurations installation kit, continues executing with test case, performs complete all test cases afterwards.
The embodiment of the present invention obtains the time of test case and the quantity of test machine, root while configuration file is parsed
Test machine implementation of test cases is set according to the information of test case, test machine is tested according to the testing time, improves survey
Try efficiency.
On the basis of above-mentioned first embodiment embodiment, as another embodiment, as shown in figure 4, test machine is automatic
Collocation method includes:
The multigroup test machine of step S12. connections, every group of test machine include more test machines.
Step S12 is identical with the step S10 in above-described embodiment, referring to above-mentioned S10 description, will not be repeated here.
Step S22. obtains configuration file, and the environment configurations installation kit, every of every group of test machine is obtained according to configuration file
The testing time of the group configuration information of system under test (SUT) of test machine, the address of test case and test case.
Step S22 and identical part in the step S21 in above-described embodiment, may refer to above-mentioned S21 description, step
Difference in S22 and step S21 is the address that test case is obtained always according to configuration file, under normal circumstances, configuration text
Part and test case are stored in different storage areas, read after configuration file read test use-case again, are held according to test case
Test of the row to system under test (SUT), the address of test case is set in configuration file in this step, solved to configuration file
Directly according to address read test use-case, the information of test case can be obtained during analysis.
It is right with it that step S32. is sent according to each test machine of the testing time of test case into every group of test machine
The environment configurations installation kit answered, so that every test machine carries out test environment portion according to corresponding environment configurations installation kit
Administration, and environment configurations are carried out to system under test (SUT) according to the configuration information of the system under test (SUT) of every group of test machine.
Step S32 is identical with the step S30 in above-described embodiment, referring to above-mentioned S30 description, will not be repeated here.
Step S33. is parsed to test case, obtains test case and performs parameter, and parameter is performed according to test case,
System under test (SUT) is tested.
The embodiment of the present invention parses test case while configuration file is parsed, and obtains the execution parameter of test case,
It is horse back implementation of test cases when setting test machine to complete according to the information of test case, improves testing efficiency.
Further, in the above-described embodiments using to test case according to time-sequencing by the way of to test case carry out
Test, as another embodiment, test case can also be carried out by the way of according to acquisition priorities of test cases
Sequence is tested test case again, specifically, being parsed to test case, sets the priority of Test Case Prioritization,
And test case is ranked up according to priority, specifically include following steps:
(1) multiple test use cases are obtained.
(2) it is test use cases construction equivalence class set Q={ q1, q2 ..., qi ..., qn }, wherein qi=ti1,
Ti2 ..., tim };I=1,2 ..., n;M=1,2 ..., n;Qi is i-th of equivalence class, and tim is what i-th of equivalence class included
M-th of test case, n are equivalence class number, and m is the test case number that i-th of equivalence class includes;Each test case
The number req [j] of its demand covered of tij, j=1,2 ..., m;Equivalence class set is drawn according to the type of test case
Point;
(3) a priority number Pi is constructed for each equivalence class qi, a disfigurement discovery identifies Bug [i] and a defect
Grade Lev [i];Priority number Pi is set to by Pi=1 according to the type of test case in equivalence class qi, i.e. system class testing is used
Example, or Pi=2, i.e. function class testing-case, or Pi=3, i.e. interface class testing-case, or Pi=4, i.e. data class are surveyed
Example on probation;Disfigurement discovery mark Bug [i] type is Boolean type, and Bug [i]=1 represents that i-th of equivalence class qi is found that software
Defect, Bug [i]=0 represent that i-th of equivalence class qi does not have found software defect;Defect rank Lev [i] represents different types of and lacked
Falling into has different grades;
(4) equivalence class set Q is subjected to initial priority sequence, the priority division principle in (3), parity price class
Qi carries out priority ranking;The order of priority from high to low be data class testing-case->Interface class testing-case->Function class
Test case->System class testing-case;
(5) choose a test case tij from any equivalence class qi to test tested software, in test process
It was found that software defect, then disfigurement discovery mark Bug [i]=1;Conversely, then disfigurement discovery identifies Bug [i]=0;
(6) whether the value for judging Bug [i] is 1, changes priority number Pi, specially Pi=Lev [i]+initial if for 1
Priority number Pi, conversely, priority number P i are kept into constant;
(7) priority number final according to each equivalence class obtained in (6), is arranged according to priority number parity price class
Sequence, form equivalence class sequence;
(8) equivalence class qi minimum test case set Ti is found out,
(9) according to the big of the demand number req [j] that each test case tij is covered in the Ti obtained in (8)
It is small, test case is ranked up, then the test case more than covering demand number is inserted the result after sequence before coming
Into equivalence class sequence, test use cases after being sorted, system under test (SUT) is carried out successively according to the test use cases after sequence
Test.
Another embodiment of the present invention provides a kind of test machine and automatically configures device 40, as shown in fig. 6, test machine is matched somebody with somebody automatically
Putting device 40 includes:
Link block 401, for connecting multigroup test machine, every group of test machine includes more test machines;
Configuration file acquisition module 402, for obtaining configuration file, and according to the ring of configuration file every group of test machine of acquisition
Border configures the configuration information of the system under test (SUT) of installation kit and every group of test machine;
Environment configurations module 403, send corresponding environment for each test machine into every group of test machine and match somebody with somebody
Installation kit is put, so that every test machine carries out test environment deployment according to corresponding environment configurations installation kit, and according to every
The configuration information of the system under test (SUT) of group test machine carries out environment configurations to system under test (SUT).
Further, test machine automatically configures device 40 and also included:
Reminding module 404 is updated, when detecting that configuration file updates, whether updates test for issuing the user with
The prompting of machine;
Update module 405, when receiving the instruction of renewal test machine, for being sent out to test machine corresponding with configuration file
The configuration file after renewal is sent, environment deployment is re-started to test machine and system under test (SUT).
As a kind of embodiment, configuration file acquisition module 402 obtains configuration file, and is obtained often according to configuration file
The configuration information of the environment configurations installation kit of group test machine and the system under test (SUT) of every group of test machine, in addition to:
The testing time of test case is obtained according to configuration file;
Each test machine of the environment configurations module 403 into every group of test machine sends corresponding environment configurations installation
Bag, including:
Corresponding environment is sent according to each test machine of the testing time of test case into every group of test machine
Configure installation kit.
As a kind of embodiment, configuration file acquisition module 402 obtains configuration file, and is obtained often according to configuration file
The configuration information of the environment configurations installation kit of group test machine and the system under test (SUT) of every group of test machine, in addition to:
The quantity of the testing time of test case and the test machine of implementation of test cases is obtained according to configuration file;
Each test machine of the environment configurations module 403 into every group of test machine sends corresponding environment configurations installation
Bag, including:
It is every into every group of test machine according to the quantity of the testing time of test case and the test machine of implementation of test cases
One test machine sends corresponding environment configurations installation kit.
The specific work process of module in above-mentioned terminal device, may be referred to the corresponding process in preceding method embodiment,
It will not be repeated here.
Another embodiment of the present invention provides a computer-readable recording medium, is stored on the computer-readable recording medium
There is computer program, the computer program realizes the test machine method of automatic configuration in above-described embodiment when being executed by processor,
To avoid repeating, repeat no more here.Or the computer program realizes test machine in above-described embodiment when being executed by processor
The function of each module/unit in device is automatically configured, to avoid repeating, is repeated no more here.
Fig. 7 is the schematic diagram of terminal device in the present embodiment.As shown in fig. 7, terminal device 6 includes processor 60, storage
Device 61 and it is stored in the computer program 62 that can be run in memory 61 and on processor 60.Processor 60 performs computer
A kind of each step of test machine method of automatic configuration in above-described embodiment, such as the step shown in Fig. 1 are realized during program 62
S10, S20 and S30.Or realize that a kind of test machine is matched somebody with somebody automatically in above-described embodiment during the execution computer program 62 of processor 60
Put the function of each module/unit of device, link block 401 as shown in Figure 6, configuration file acquisition module 402, environment configurations module
403 function.
Exemplary, computer program 62 can be divided into one or more module/units, one or more mould
Block/unit is stored in memory 61, and is performed by processor 60, to complete the present invention.One or more module/units can
To be the series of computation machine programmed instruction section that can complete specific function, the instruction segment is for describing computer program 62 at end
Implementation procedure in end equipment 6.For example, computer program 62 can be divided into link block, configuration file acquisition module, ring
Border configuration module (module in virtual bench).
The terminal device 6 can be the computing devices such as desktop PC, notebook, palm PC and cloud server.
Terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 7 is only
The example of terminal device 6, the restriction to terminal device 6 is not formed, parts more more or less than diagram can be included, or
Combine some parts, or different parts, for example, terminal device can also include input-output equipment, network access equipment,
Bus etc..
Alleged processor 60 can be CPU (Central Processing Unit, CPU), 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) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
Memory 61 can be the internal storage unit of terminal device 6, such as the hard disk or internal memory of terminal device 6.Storage
Device 61 can also be the plug-in type hard disk being equipped with the External memory equipment of terminal device 6, such as terminal device 6, intelligent storage
Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..
Further, memory 61 can also both include the internal storage unit of terminal device 6 or including External memory equipment.Memory
61 are used to store computer program and other programs and data needed for terminal device.Memory 61 can be also used for temporarily
Store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, can be with
Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
1. a kind of test machine method of automatic configuration, it is characterised in that the test machine method of automatic configuration includes:
Multigroup test machine is connected, every group of test machine includes more test machines;
Obtain configuration file, and the environment configurations installation kit of every group of test machine and described every group is obtained according to the configuration file
The configuration information of the system under test (SUT) of test machine;
The each test machine into every group of test machine sends corresponding environment configurations installation kit, so that every test machine root
Test environment deployment is carried out according to corresponding environment configurations installation kit, and matching somebody with somebody according to the system under test (SUT) of every group of test machine
Confidence breath carries out environment configurations to system under test (SUT).
2. test machine method of automatic configuration as claimed in claim 1, it is characterised in that the test machine method of automatic configuration is also
Including:
When detecting that the configuration file updates, the prompting for whether updating test machine is issued the user with;
When receiving the instruction of renewal test machine, the configuration text after renewal is sent to test machine corresponding with the configuration file
Part, environment deployment is re-started to test machine and system under test (SUT).
3. test machine method of automatic configuration as claimed in claim 1, it is characterised in that configuration file is obtained, and according to described
The configuration information of the environment configurations installation kit of configuration file every group of test machine of acquisition and the system under test (SUT) of every group of test machine,
Also include:
The testing time of test case is obtained according to the configuration file;
The each test machine into every group of test machine sends corresponding environment configurations installation kit, including:
Corresponding environment configurations are sent according to each test machine of the testing time of test case into every group of test machine
Installation kit.
4. test machine method of automatic configuration as claimed in claim 1, it is characterised in that configuration file is obtained, and according to described
The configuration information of the environment configurations installation kit of configuration file every group of test machine of acquisition and the system under test (SUT) of every group of test machine,
Also include:
The address of test case and the testing time of test case are obtained according to the configuration file;
The each test machine into every group of test machine sends corresponding environment configurations installation kit, including:
Corresponding environment configurations are sent according to each test machine of the testing time of test case into every group of test machine
Installation kit;
Environment configurations are carried out to system under test (SUT) according to the configuration information of the system under test (SUT) of every group of test machine, also included afterwards:
Test case is obtained according to the testing time of the address of test case and test case;
The test case is parsed, test case is obtained and performs parameter;
Parameter is performed according to the test case, the system under test (SUT) is tested.
5. test machine method of automatic configuration as claimed in claim 1, it is characterised in that configuration file is obtained, and according to described
The configuration information of the environment configurations installation kit of configuration file every group of test machine of acquisition and the system under test (SUT) of every group of test machine,
Also include:
The address of test case and the priority of test case are obtained according to the configuration file;
The each test machine into every group of test machine sends corresponding environment configurations installation kit, including:
Corresponding environment configurations are sent according to each test machine of the testing time of test case into every group of test machine
Installation kit;
Environment configurations are carried out to system under test (SUT) according to the configuration information of the system under test (SUT) of every group of test machine, also included afterwards:
Test case is obtained according to the priority of the address of test case and test case;
The test case is parsed, test case is obtained and performs parameter;
Parameter is performed according to the test case, the system under test (SUT) is tested.
6. test machine method of automatic configuration as claimed in claim 1, it is characterised in that configuration file is obtained, and according to described
The configuration information of the environment configurations installation kit of configuration file every group of test machine of acquisition and the system under test (SUT) of every group of test machine,
Also include:
The quantity of the testing time of test case and the test machine of implementation of test cases is obtained according to the configuration file;
Corresponding environment configurations are sent according to each test machine of the testing time of test case into every group of test machine
Installation kit, including:
According to each of the quantity of the testing time of test case and the test machine of implementation of test cases into every group of test machine
Test machine sends corresponding environment configurations installation kit.
7. a kind of test machine automatically configures device, it is characterised in that the test machine, which automatically configures device, to be included:
Link block, for connecting multigroup test machine, every group of test machine includes more test machines;
Configuration file acquisition module, for obtaining configuration file, and according to the environment of the configuration file every group of test machine of acquisition
Configure the configuration information of the system under test (SUT) of installation kit and every group of test machine;
Environment configurations module, corresponding environment configurations installation is sent for each test machine into every group of test machine
Bag, so that every test machine carries out test environment deployment according to corresponding environment configurations installation kit, and according to described every group
The configuration information of the system under test (SUT) of test machine carries out environment configurations to system under test (SUT).
8. test machine as claimed in claim 7 automatically configures device, it is characterised in that the test machine automatically configures device also
Including:
Reminding module is updated, when detecting that the configuration file updates, whether updates test machine for issuing the user with
Prompting;
Update module, when receiving the instruction of renewal test machine, for being sent to test machine corresponding with the configuration file
Configuration file after renewal, environment deployment is re-started to test machine and system under test (SUT);
The configuration file acquisition module obtains configuration file, and is matched somebody with somebody according to the environment of the configuration file every group of test machine of acquisition
The configuration information of the system under test (SUT) of installation kit and every group of test machine is put, in addition to:
The testing time of test case is obtained according to the configuration file;
Each test machine of the environment configurations module into every group of test machine sends corresponding environment configurations installation kit,
Including:
Corresponding environment configurations are sent according to each test machine of the testing time of test case into every group of test machine
Installation kit.
9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor
The computer program of operation, it is characterised in that realize such as claim 1 to 6 described in the computing device during computer program
The step of any one methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists
In when the computer program is executed by processor the step of realization such as any one of claim 1 to 6 methods described.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710827340.5A CN107741904A (en) | 2017-09-14 | 2017-09-14 | Test machine method of automatic configuration, device, equipment and storage medium |
PCT/CN2017/107845 WO2019051937A1 (en) | 2017-09-14 | 2017-10-26 | Method, apparatus and device for automatically configuring test machine, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710827340.5A CN107741904A (en) | 2017-09-14 | 2017-09-14 | Test machine method of automatic configuration, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107741904A true CN107741904A (en) | 2018-02-27 |
Family
ID=61235855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710827340.5A Pending CN107741904A (en) | 2017-09-14 | 2017-09-14 | Test machine method of automatic configuration, device, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107741904A (en) |
WO (1) | WO2019051937A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536587A (en) * | 2018-03-21 | 2018-09-14 | 轻客智能科技(江苏)有限公司 | A kind of automated testing method and system based on Appium |
CN109976773A (en) * | 2019-04-04 | 2019-07-05 | 网易(杭州)网络有限公司 | The dispositions method and device of game test environment |
CN110554936A (en) * | 2018-06-04 | 2019-12-10 | 记忆科技(深圳)有限公司 | SSD (solid State disk) testing method and system |
CN110704039A (en) * | 2019-09-30 | 2020-01-17 | 北京三快在线科技有限公司 | Configuration data processing method and device in application development process |
CN111124907A (en) * | 2019-12-18 | 2020-05-08 | 北京智明星通科技股份有限公司 | Mobile phone game testing method and device and server |
CN113596871A (en) * | 2021-07-05 | 2021-11-02 | 哲库科技(上海)有限公司 | Test method, server and computer storage medium |
CN114879981A (en) * | 2022-05-27 | 2022-08-09 | 北京百度网讯科技有限公司 | Installation method and device of cloud operating system, electronic equipment and storage medium |
CN116467222A (en) * | 2023-06-19 | 2023-07-21 | 阿里巴巴(中国)有限公司 | Domain name resolution software testing method, device and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609352A (en) * | 2011-01-19 | 2012-07-25 | 阿里巴巴集团控股有限公司 | Parallel testing method and parallel testing server |
CN103279419A (en) * | 2013-06-09 | 2013-09-04 | 浪潮电子信息产业股份有限公司 | Automation version verifying method and system based on B/S structural system |
WO2015062003A1 (en) * | 2013-10-31 | 2015-05-07 | Hewlett-Packard Development Company, L.P. | User interface tester |
CN105095089A (en) * | 2015-09-14 | 2015-11-25 | 北京金山安全软件有限公司 | Method and device for testing performance of application software |
CN106168924A (en) * | 2016-07-07 | 2016-11-30 | 北京金山安全软件有限公司 | Software testing method and device and electronic equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7673197B2 (en) * | 2003-11-20 | 2010-03-02 | Practical Engineering Inc. | Polymorphic automatic test systems and methods |
CN101110734A (en) * | 2007-08-24 | 2008-01-23 | 福建星网锐捷网络有限公司 | Automatization test approach and system |
CN101876940B (en) * | 2009-11-30 | 2011-12-28 | 飞天诚信科技股份有限公司 | Automatic test method and device |
CN102622298B (en) * | 2012-03-02 | 2015-01-07 | 北京奇虎科技有限公司 | Software testing system and method |
CN106484623A (en) * | 2016-10-21 | 2017-03-08 | 郑州云海信息技术有限公司 | A kind of method of software test, apparatus and system |
-
2017
- 2017-09-14 CN CN201710827340.5A patent/CN107741904A/en active Pending
- 2017-10-26 WO PCT/CN2017/107845 patent/WO2019051937A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609352A (en) * | 2011-01-19 | 2012-07-25 | 阿里巴巴集团控股有限公司 | Parallel testing method and parallel testing server |
CN103279419A (en) * | 2013-06-09 | 2013-09-04 | 浪潮电子信息产业股份有限公司 | Automation version verifying method and system based on B/S structural system |
WO2015062003A1 (en) * | 2013-10-31 | 2015-05-07 | Hewlett-Packard Development Company, L.P. | User interface tester |
CN105095089A (en) * | 2015-09-14 | 2015-11-25 | 北京金山安全软件有限公司 | Method and device for testing performance of application software |
CN106168924A (en) * | 2016-07-07 | 2016-11-30 | 北京金山安全软件有限公司 | Software testing method and device and electronic equipment |
Non-Patent Citations (1)
Title |
---|
王移芝: "《计算机文化基础》", 30 April 1998, 中国铁道出版社 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536587A (en) * | 2018-03-21 | 2018-09-14 | 轻客智能科技(江苏)有限公司 | A kind of automated testing method and system based on Appium |
CN110554936A (en) * | 2018-06-04 | 2019-12-10 | 记忆科技(深圳)有限公司 | SSD (solid State disk) testing method and system |
CN109976773A (en) * | 2019-04-04 | 2019-07-05 | 网易(杭州)网络有限公司 | The dispositions method and device of game test environment |
CN110704039A (en) * | 2019-09-30 | 2020-01-17 | 北京三快在线科技有限公司 | Configuration data processing method and device in application development process |
CN111124907A (en) * | 2019-12-18 | 2020-05-08 | 北京智明星通科技股份有限公司 | Mobile phone game testing method and device and server |
CN113596871A (en) * | 2021-07-05 | 2021-11-02 | 哲库科技(上海)有限公司 | Test method, server and computer storage medium |
CN114879981A (en) * | 2022-05-27 | 2022-08-09 | 北京百度网讯科技有限公司 | Installation method and device of cloud operating system, electronic equipment and storage medium |
CN116467222A (en) * | 2023-06-19 | 2023-07-21 | 阿里巴巴(中国)有限公司 | Domain name resolution software testing method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2019051937A1 (en) | 2019-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107741904A (en) | Test machine method of automatic configuration, device, equipment and storage medium | |
CN107766040A (en) | A kind of method, apparatus and computer-readable recording medium for generating interface document | |
CN111221726A (en) | Test data generation method and device, storage medium and intelligent equipment | |
CN109918205A (en) | A kind of edge device dispatching method, system, device and computer storage medium | |
CN104679532B (en) | kernel module loading method and device | |
CN104133765B (en) | The test case sending method of network activity and test case server | |
CN110347545A (en) | A kind of test method and device of business platform cache policy | |
CN110275826A (en) | Automated testing method, device and computer readable storage medium | |
CN110162464A (en) | Mcok test method and system, electronic equipment and readable storage medium storing program for executing | |
US10824541B1 (en) | System and method for test data fabrication | |
CN108491321A (en) | test case range determining method, device and storage medium | |
CN109726108A (en) | Front-end code test method, device, system and medium based on analogue data | |
CN111045932A (en) | Business system simulation processing method and device, electronic equipment and storage medium | |
CN115794641A (en) | Method, device and equipment for making number based on business process and storage medium | |
CN110941634A (en) | Data processing method and device, storage medium and electronic device | |
CN111061733A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN110297749B (en) | Method and terminal for testing new function | |
CN104636529A (en) | Circuit design simulation system of printed circuit board and circuit design method thereof | |
CN109542432A (en) | Air control rule editing method and terminal device | |
CN113220561A (en) | Test case management method, device, equipment and medium | |
CN110362294A (en) | Development task executes method, apparatus, electronic equipment and storage medium | |
CN110597728A (en) | Method, device and system for constructing test data | |
US9256700B1 (en) | Public service for emulation of application load based on synthetic data generation derived from preexisting models | |
CN104461549B (en) | The arrangement display methods and device of graphical interfaces | |
CN114564213A (en) | Pre-installed software deployment method, system, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180227 |
|
RJ01 | Rejection of invention patent application after publication |