CN108459960A - Method of automatic configuration, device, equipment and the storage medium of test environment - Google Patents
Method of automatic configuration, device, equipment and the storage medium of test environment Download PDFInfo
- Publication number
- CN108459960A CN108459960A CN201711478971.7A CN201711478971A CN108459960A CN 108459960 A CN108459960 A CN 108459960A CN 201711478971 A CN201711478971 A CN 201711478971A CN 108459960 A CN108459960 A CN 108459960A
- Authority
- CN
- China
- Prior art keywords
- test environment
- test
- solicited message
- file
- affiliate
- 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
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
Abstract
The present invention provides a kind of method of automatic configuration of test environment, device, equipment and storage medium, solicited message including receiving test environment, when there is idle test environment corresponding with solicited message in test environment database, environmental labelling file corresponding with test environment is generated, and test environment is provided to affiliate according to environmental labelling file;When there is no idle test environment, it creates test environment and generates environmental labelling file corresponding with the test environment created, according to environmental labelling file test environment is provided to affiliate, test environment and affiliate are formed into correspondence by environmental labelling file, test environment is provided according to environmental labelling file, when there is other affiliates to propose test request, new test environment and environmental labelling file are created according to test request, new test environment is provided further according to new environmental labelling file, it solves the problems, such as gradually execute test environment when enterprise web site is docked with partner site.
Description
Technical field
The present invention relates to software automated testing technical field more particularly to a kind of method of automatic configuration of test environment,
Device, equipment and storage medium.
Background technology
With the development of e-commerce, current overwhelming majority e-commerce websites have all opened interface, there is business cooperation
The interface that the interface docking other side opened by website is needed between enterprise, come the docking for realizing data and synchronous, affiliate
When test request being forwarded to Intranet test environment providing platform, the data of same time docking can be only in a test wrapper
Border can only be such that affiliate gradually tests, be unable to simultaneously perform, and cause to waste affiliate's many testing times.
Invention content
The purpose of the present invention is to provide a kind of method of automatic configuration of test environment, device, equipment and storages to be situated between
Matter, can realize makes affiliate be performed simultaneously test, has saved the testing time of affiliate.
The invention is realized in this way first aspect present invention provides a kind of method of automatic configuration of test environment, it is described
Method of automatic configuration includes:
The solicited message for the offer test environment that affiliate sends is provided;
Judged in test environment database with the presence or absence of corresponding with the solicited message idle according to the solicited message
Test environment;
When there is idle test environment corresponding with the solicited message, environment corresponding with the test environment is generated
Tab file, and according to the environmental labelling file test environment is provided to the affiliate;
When there is no idle test environment corresponding with the solicited message, survey corresponding with the solicited message is created
Test ring border, generates the corresponding environmental labelling file of test environment with establishment, and according to the environmental labelling file to the conjunction
Make partner and test environment is provided.
What second aspect of the present invention provided a kind of test environment automatically configures device, and the device that automatically configures includes:
Solicited message acquisition module, the solicited message of the offer test environment for receiving affiliate's transmission;
Test environment judgment module, for judging to whether there is and institute in test environment database according to the solicited message
State the corresponding test environment of solicited message;
Test environment provides module, for when there is idle test environment corresponding with the solicited message, generate with
The corresponding environmental labelling file of the test environment, and according to the environmental labelling file test wrapper is provided to the affiliate
Border creates test wrapper corresponding with the solicited message when there is no idle test environment corresponding with the solicited message
Border, generates the corresponding environmental labelling file of test environment with establishment, and according to the environmental labelling file to the cooperation partner
With offer test environment.
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, the processor realize such as this hair when executing the computer program
The step of bright first aspect the method.
Fourth aspect present invention provides a kind of computer readable storage 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.
The present invention provides a kind of method of automatic configuration of test environment, receives the offer test environment that affiliate sends
Solicited message judges in test environment database according to solicited message with the presence or absence of idle test wrapper corresponding with solicited message
Border;When there is idle test environment corresponding with solicited message, environmental labelling file corresponding with test environment, and root are generated
According to environmental labelling file test environment is provided to affiliate;When there is no idle test environment corresponding with solicited message,
Test environment corresponding with solicited message is created, generates environmental labelling file corresponding with the test environment created, and according to ring
Border tab file provides test environment to affiliate, and the present invention is by being arranged environmental labelling file test environment and cooperation partner
With correspondence is formed, affiliate's test environment needed is provided according to environmental labelling file, is carried when there are other affiliates
When going out test request, new test environment and environmental labelling file are created according to test request, further according to new environmental labelling text
Part provides new test environment, solves the problems, such as gradually execute test environment when enterprise web site is docked with partner site.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying 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
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of flow chart of the method for automatic configuration for test environment that an embodiment of the present invention provides;
Fig. 2 is a kind of flow chart of the method for automatic configuration for test environment that another embodiment of the invention provides;
Fig. 3 is the structural schematic diagram for automatically configuring device for the test environment that another embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for automatically configuring device for the test environment that another embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the terminal device that another embodiment of the invention provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
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 of the present invention, illustrated below by specific embodiment.
The embodiment of the present invention provides a kind of method of automatic configuration of test environment, as shown in Figure 1, the method for automatic configuration
Including:
Step S101. receives the solicited message for the offer test environment that affiliate sends.
In step S101, Intranet test environment provides platform and provides test page to affiliate, receives affiliate
What is sent includes the solicited message that test environment provides the page of request and extracts test environment, wherein the test environment
Solicited message may include test machine quantity, test system, CPU quantity, amount of memory and disk size.
Step S102. judges to whether there is and the solicited message phase in test environment database according to the solicited message
The test environment answered.
In step s 102, Intranet test environment provides the LAN that platform is made of multiple stage computers, every calculating
Machine is respectively mounted operating system one test environment of composition of predetermined operation system, partial computer and its installation, multiple test wrappers
Border forms a test domain, for executing a specific test event.The test environment number for including in test domain visually has
Depending on the requirement of the test event of body.Test environment in each test domain is divided into main test environment and auxiliary test environment, main survey
Test ring border is the main environment of most of indexs such as test software function, security reliability, performance, ease for use;Auxiliary test environment
It is usually used to meet different testing requirements or special test event, such as compatibility test simulates real world testing, is laterally right
Than test etc., test environment list is set in test environment database, test environment list includes test environment and its works as
Preceding test mode, i.e. test environment are in idle condition or busy state, may determine that test according to test environment list
With the presence or absence of idle test environment corresponding with the solicited message in enviroline.
Step S103. when exist with the test environment provide request it is corresponding free time test environment when, generation with it is described
The corresponding environmental labelling file of test environment, and according to the environmental labelling file test environment is provided to the affiliate.
In step s 103, corresponding empty in the presence of request is provided with the test environment in test environment list when detecting
When not busy test environment, illustrate the solicited message that can meet affiliate, test environment can be provided to affiliate, at this point,
The mapping relations between affiliate and the test environment are established according to test environment to be supplied, affiliate is made to be asked with it
The test environment asked corresponds, and according to the mapping relations and the description information and access information shape of the test environment
At environment tab file, the description information of the test environment may include the parameter information and virtual memory page of test environment
Table, the access information of test environment are the address information of the test environment, according to the environmental labelling file to the cooperation partner
With the access information for providing the test environment, affiliate can survey according to the access information into the test environment
Examination.
Step S104. is created and is believed with the request when there is no idle test environment corresponding with the solicited message
Corresponding test environment is ceased, generates environmental labelling file corresponding with the test environment created, and according to environmental labelling text
Part provides test environment to the affiliate.
It is corresponding idle there is no request is provided with test environment in test environment list when detecting in step S104
Can there is the test environment for meeting the solicited message in test environment list, but the test environment is just when test environment
Can also be that there is no the test environments for meeting the solicited message in test environment list, when detection is tested in test mode
There is no when idle test environment corresponding with test environment offer request in environment list, the test being currently running is judged
Whether with the solicited message corresponding test environment is configured in environment;When judging result is to be, the test environment is obtained
Environmental labelling file, new test environment is created according to the description information of test environment in the environmental labelling file, specifically
, new test wrapper is created according to the parameter information of test environment in the description information of test environment and virtual memory page table
Border, wherein the management of the memory of test environment is carried out by paging and memory mapping, will when test program is run
The process that virtual memory is given to the test program of operation by way of memory mapping can be by virtual when to be ready executing surely
Page removes distribution actual memory, passes through storage virtual memory page table, Ke Yizhi in environmental labelling file in present embodiment
It obtains and virtual memory page table is taken to establish test environment, need to obtain to original test environment when avoiding new test environment operation
Necessary virtual memory page table, and causing to hang up original test environment influences the problem of former test environment is tested;When judgement is tied
When fruit is no, provides request according to the test environment and create new test environment, specifically, according to the test environment demand
And performance information extraction virtual server, the required operating system in mount request information on the virtual server, with
Create new test environment.
The present embodiment is specifically described below by specific example, for example, affiliate submitted on the page needed for
Test environment parameter is Windows XP operating systems, and the solicited message of monokaryon CPU, 1GB memory judges in test environment list
With the presence or absence of corresponding idle test environment, when there are corresponding test environment and being in idle condition in test environment list
When, the mapping relations between affiliate and the test environment are generated, and believe according to the description of mapping relations and test environment
Breath and access information form environmental labelling file, enter message to affiliate's offer test environment according to environmental labelling file
Breath obtains the survey of existing same configuration in preset test environment when there is no idle test environment corresponding with solicited message
Test ring border is currently running, and is executed to the test environment that is currently running and is replicated operation, and when duplication obtains the environment mark of the test environment
Remember file, the parameter information and virtual memory page table of the test environment in the environmental labelling file is extracted, according to foregoing description
Information generates new test environment, regenerates environmental labelling file corresponding with the test environment created, and according to environmental labelling
File provides test environment to affiliate, and same test environment is reduced by way of being replicated to environmental labelling file
Creation time.
Test environment and affiliate are formed correspondence by the present invention by the way that environmental labelling file is arranged, according to environment mark
Remember that file provides affiliate's test environment needed, when there are other affiliates to propose test request, according to test request
New test environment and environmental labelling file are created, new test environment is provided further according to new environmental labelling file, solves
The problem of enterprise web site can only gradually execute test environment when being docked with partner site.
Another kind embodiment of the invention provides a kind of method of automatic configuration of test environment, as shown in Fig. 2, in above-mentioned implementation
On the basis of example, the method for automatic configuration includes:
Step S201. when the affiliate by test object the test environment execute test when, in the environment
Identifier is established according to the configuration data to test object setting successively in tab file.
In step s 201, test object is executed test by affiliate in the test environment, can be surveyed according to setting
The configuration data of examination object successively tests test object, for example, configuration data can be configured to test object
Operation, modification operation or inquiry operation are directed to every at this time since test environment can be written new data in each operation
The corresponding identifier of one configuration operation setting, the data being newly written to be marked.
Step S202. calls the environmental labelling file, reads the environment mark after affiliate completes to test
Remember the identifier of file and deletes its corresponding configuration data according to sequence from the front to the back.
In step S202, after the affiliate completes to test, the environmental labelling file is called, the ring is read
The identifier of border tab file can obtain the configuration data corresponding to it, and it is corresponding to delete its according to sequence from the front to the back
Configuration data can quickly delete the test data of test environment, ensure that the clean of test environment, quickly realize to use and be somebody's turn to do
Test environment carries out next test.
Specifically, to each one identifier of configuration operation setting, the identifier and its are deleted into configuration operate interface mark
Knowledge forms correspondence and is stored in environmental labelling file, in carrying out automatic test course, often executes a configuration behaviour
When the interface object of work, the identifier which operates is deposited into test log, is grasped according to configuration from the test log
The sequencing of work reads the identifier of configuration data, and corresponding deletion configuration operate interface is searched in environmental labelling file
The deletion found is configured operate interface mark according to sequencing, is written and can perform in script file, complete certainly by mark
After dynamicization test execution, the script file is called, deletion configuration operate interface object is executed successively by sequence from the front to the back,
Complete the clear operation to institute's configuration data.
Another kind embodiment of the invention provides a kind of method of automatic configuration of test environment, on the basis of above-described embodiment
On, the method for automatic configuration includes:
It is searched on tested host and identifies test environment parameter file and test data mapped file, in environmental labelling
The correspondence of affiliate and test environment parameter file and test data mapped file are formed in file, and by environmental labelling
File, test environment parameter file and test data mapped file are stored in storage device, and storage device is mapped to migration
On destination host, test environment parameter file and test data are mapped by text according to affiliate's title in environmental labelling file
Part is loaded on migration destination host.
The present embodiment can realize the migration of test main frame by storage device according to environmental labelling file, be carried out currently
It is searched on the host of test and identifies test environment parameter file and test data mapped file, then preserve test environment ginseng
Number file and test data mapped file form the correspondence of affiliate and above-mentioned file in environmental labelling file, will
Above-mentioned file is stored on movable storage device, when testing another host, can be inquired according to environmental labelling file
The associated documents of the currently used test environment of affiliate simultaneously can be loaded directly into these files, can be in the operation of test main frame
Test environment is installed in system and collects script automatically, script is collected automatically by test environment and searches for and identify on tested host
Go out test environment parameter file and test data mapped file, test environment parameter file and survey are then preserved in test main frame
Examination data mapped file provides environmental labelling file when another test main frame load test environment, according to environmental labelling file
Test environment parameter file and test data mapped file are loaded on migration destination host.In the test of current tested host
After completion, when needing to carry out the test under same test environment to another host, to being tested host under same test environment
It switches over, switches when being tested host, by the test environment file migration destination host in storage device, and by test environment
Parameter File is loaded into test data mapped file on migration destination host.In compared with the existing technology, by test environment
The influence of installation speed can only carry out the performance comparison of multiple test environments respectively on multiple host, and due to more masters
The hardware of machine and the inconsistent of systematic parameter and cause multiple test environments comparison generate error, it is provided in an embodiment of the present invention
Method can effectively improve the accuracy that affiliate carries out multiple test environment performance comparisons.
What another kind embodiment of the invention provided a kind of test environment automatically configures device 40, as shown in figure 3, described automatic
Configuration device 40 includes:
Solicited message acquisition module 401, the solicited message of the offer test environment for receiving affiliate's transmission;
Test environment judgment module 402, for judging to whether there is in test environment database according to the solicited message
Test environment corresponding with the solicited message;
Test environment provides module 403, for when there is idle test environment corresponding with the solicited message, generating
Environmental labelling file corresponding with the test environment, and according to the environmental labelling file test is provided to the affiliate
Environment creates test corresponding with the solicited message when there is no idle test environment corresponding with the solicited message
Environment, generates the corresponding environmental labelling file of test environment with establishment, and according to the environmental labelling file to the cooperation
Partner provides test environment.
What the solicited message acquisition module 401 was specifically used for reception affiliate's transmission includes that test environment provides request
The page and extract the solicited message, wherein the solicited message includes test machine quantity, test system, CPU quantity, interior
Deposit quantity and disk size.
The test environment provides module 403 and is specifically used for:
The mapping relations between affiliate and the test environment are generated, and according to the mapping relations and the survey
The description information and access information in test ring border form environmental labelling file;
The access information of the test environment is provided according to the environmental labelling file to the affiliate.
The test environment provides module 403 and is specifically additionally operable to:
When there is no idle test environment corresponding with the solicited message, judge be in the test environment being currently running
No configuration test environment corresponding with test environment offer request;
When judging result is to be, the environmental labelling file of the test environment is obtained, according to the environmental labelling file
The description information of middle test environment creates new test environment;
When judging result is no, new test environment is created according to the solicited message of the test environment.
Further, as shown in figure 4, the device that automatically configures further includes:
Identifier setup module 404, when the affiliate by test object the test environment execute test when,
The configuration data that test object is arranged according to the affiliate in the environmental labelling file establishes identifier successively;
Data removing module 405 calls the environmental labelling file after affiliate completes to test, and reads institute
It states the identifier of environmental labelling file and deletes its corresponding configuration data according to sequence from the front to the back.
The specific work process of module, can refer to corresponding processes in the foregoing method embodiment in above-mentioned terminal device,
Details are not described herein.
Fig. 5 is the schematic diagram of terminal device in the present embodiment.As shown in figure 5, 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 executes computer
A kind of each step of the method for automatic configuration of test environment in above-described embodiment, such as step shown in FIG. 1 are realized when program 62
Rapid S101, S102, S103 and S104.Processor 60 realizes a kind of test environment in above-described embodiment when executing computer program 62
The function of automatically configuring each module/unit of device, solicited message acquisition module 401 as shown in Figure 5, test environment judge mould
Block 402, test environment provide the function of module 403.
Illustratively, computer program 62 can be divided into one or more module/units (such as formed computer journey
Sequence instruction segment), one or more module/unit is stored in memory 61, and is executed by processor 50, to complete this hair
It is bright.
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. 5 is only
The example of terminal device 6 does not constitute the restriction to terminal device 6, may include components more more or fewer than diagram, or
Combine certain components or different components, for example, terminal device can also include input-output equipment, network access equipment,
Bus etc..
Alleged processor 60 can be central processing unit (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), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, 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 memory of terminal device 6.Storage
Device 61 can also be the plug-in type hard disk being equipped on 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 terminal device 6 internal storage unit and also including External memory equipment.Memory
61 for storing other programs and data needed for computer program and 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.
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, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
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 certain intermediate forms etc..The computer-readable medium
May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in certain 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 aforementioned reality
Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed
Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of method of automatic configuration of test environment, which is characterized in that the method for automatic configuration includes:
The solicited message for the offer test environment that affiliate sends is provided;
Judged in test environment database with the presence or absence of idle test corresponding with the solicited message according to the solicited message
Environment;
When there is idle test environment corresponding with the solicited message, environmental labelling corresponding with the test environment is generated
File, and according to the environmental labelling file test environment is provided to the affiliate;
When there is no idle test environment corresponding with the solicited message, test wrapper corresponding with the solicited message is created
Border, generates the corresponding environmental labelling file of test environment with establishment, and according to the environmental labelling file to the cooperation partner
With offer test environment.
2. method of automatic configuration as described in claim 1, which is characterized in that receive the offer test environment that affiliate sends
Solicited message, including:
It receives the page including test environment offer request that affiliate sends and extracts the solicited message, wherein is described
Solicited message includes test machine quantity, test system, CPU quantity, amount of memory and disk size.
3. method of automatic configuration as described in claim 1, which is characterized in that generate environment mark corresponding with the test environment
Remember file, and test environment is provided to the affiliate according to the environmental labelling file, including:
The mapping relations between affiliate and the test environment are generated, and according to the mapping relations and the test wrapper
The description information and access information in border form environmental labelling file;
The access information of the test environment is provided according to the environmental labelling file to the affiliate.
4. method of automatic configuration as described in claim 1, which is characterized in that when there is no corresponding with the solicited message empty
When not busy test environment, test environment corresponding with the solicited message is created, including:
When there is no idle test environment corresponding with the solicited message, judge whether match in the test environment being currently running
Set test environment corresponding with test environment offer request;
When judging result is to be, the environmental labelling file of the test environment is obtained, is surveyed according in the environmental labelling file
The description information in test ring border creates new test environment;
When judging result is no, new test environment is created according to the solicited message of the test environment.
5. method of automatic configuration as described in claim 1, which is characterized in that the method for automatic configuration further includes:
When the affiliate by test object the test environment execute test when, the basis in the environmental labelling file
The configuration data that test object is arranged in the affiliate establishes identifier successively;
After the affiliate completes to test, the environmental labelling file is called, the mark of the environmental labelling file is read
It accords with and deletes its corresponding configuration data according to sequence from the front to the back.
6. a kind of test environment automatically configures device, which is characterized in that the device that automatically configures includes:
Solicited message acquisition module, the solicited message of the offer test environment for receiving affiliate's transmission;
Test environment judgment module is asked for judging to whether there is in test environment database according to the solicited message with described
Seek the corresponding test environment of information;
Test environment provides module, for when there is idle test environment corresponding with the solicited message, generate with it is described
The corresponding environmental labelling file of test environment, and test environment is provided to the affiliate according to the environmental labelling file,
When there is no idle test environment corresponding with the solicited message, test environment corresponding with the solicited message is created,
Environmental labelling file corresponding with the test environment created is generated, and is carried to the affiliate according to the environmental labelling file
For test environment.
7. automatically configuring device as claimed in claim 6, which is characterized in that the test environment provides module and is specifically used for:
The mapping relations between affiliate and the test environment are generated, and according to the mapping relations and the test wrapper
The description information and access information in border form environmental labelling file;
The access information of the test environment is provided according to the environmental labelling file to the affiliate.
8. automatically configuring device as claimed in claim 6, which is characterized in that the test environment provides module and specifically also uses
In:
When there is no idle test environment corresponding with the solicited message, judge whether match in the test environment being currently running
Set test environment corresponding with test environment offer request;
When judging result is to be, the environmental labelling file of the test environment is obtained, is surveyed according in the environmental labelling file
The description information in test ring border creates new test environment;
When judging result is no, new test environment is created according to the solicited message of the test environment.
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, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist
In when the computer program is executed by processor the step of any one of such as claim 1 to 6 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711478971.7A CN108459960A (en) | 2017-12-29 | 2017-12-29 | Method of automatic configuration, device, equipment and the storage medium of test environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711478971.7A CN108459960A (en) | 2017-12-29 | 2017-12-29 | Method of automatic configuration, device, equipment and the storage medium of test environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108459960A true CN108459960A (en) | 2018-08-28 |
Family
ID=63221256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711478971.7A Pending CN108459960A (en) | 2017-12-29 | 2017-12-29 | Method of automatic configuration, device, equipment and the storage medium of test environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108459960A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542757A (en) * | 2018-09-29 | 2019-03-29 | 中国平安人寿保险股份有限公司 | Interface testing environment determines method, apparatus, electronic equipment and storage medium |
CN112131101A (en) * | 2020-08-27 | 2020-12-25 | 新华三大数据技术有限公司 | Automatic testing method, testing terminal and storage medium |
CN113392023A (en) * | 2021-06-30 | 2021-09-14 | 展讯半导体(成都)有限公司 | Automatic testing method and device, computer equipment, chip and module equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103425472A (en) * | 2012-05-23 | 2013-12-04 | 上海计算机软件技术开发中心 | System for dynamically creating software testing environments on basis of cloud computing and method for implementing system |
CN103984624A (en) * | 2014-04-29 | 2014-08-13 | 北京京东尚科信息技术有限公司 | Automatic testing method and system for webpage |
US20140245289A1 (en) * | 2013-02-28 | 2014-08-28 | Apple Inc. | Automatic remote execution of an application |
CN105677481A (en) * | 2015-12-31 | 2016-06-15 | 联想(北京)有限公司 | Method and system for processing data and electronic equipment |
CN107154976A (en) * | 2017-05-10 | 2017-09-12 | 北京微影时代科技有限公司 | Website testing method, device and system |
-
2017
- 2017-12-29 CN CN201711478971.7A patent/CN108459960A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103425472A (en) * | 2012-05-23 | 2013-12-04 | 上海计算机软件技术开发中心 | System for dynamically creating software testing environments on basis of cloud computing and method for implementing system |
US20140245289A1 (en) * | 2013-02-28 | 2014-08-28 | Apple Inc. | Automatic remote execution of an application |
CN103984624A (en) * | 2014-04-29 | 2014-08-13 | 北京京东尚科信息技术有限公司 | Automatic testing method and system for webpage |
CN105677481A (en) * | 2015-12-31 | 2016-06-15 | 联想(北京)有限公司 | Method and system for processing data and electronic equipment |
CN107154976A (en) * | 2017-05-10 | 2017-09-12 | 北京微影时代科技有限公司 | Website testing method, device and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542757A (en) * | 2018-09-29 | 2019-03-29 | 中国平安人寿保险股份有限公司 | Interface testing environment determines method, apparatus, electronic equipment and storage medium |
CN112131101A (en) * | 2020-08-27 | 2020-12-25 | 新华三大数据技术有限公司 | Automatic testing method, testing terminal and storage medium |
CN113392023A (en) * | 2021-06-30 | 2021-09-14 | 展讯半导体(成都)有限公司 | Automatic testing method and device, computer equipment, chip and module equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111625401B (en) | Data backup method and device based on cluster file system and readable storage medium | |
CN108170612B (en) | Automatic testing method and device and server | |
US9736212B2 (en) | Optimized browser rendering process | |
CN106293846B (en) | The upgrade method and device of analog processor | |
CN108459960A (en) | Method of automatic configuration, device, equipment and the storage medium of test environment | |
CN111352700A (en) | Method, system, terminal and storage medium for online migration of virtual machine across clouds | |
CN110647318A (en) | Method, device, equipment and medium for creating instance of stateful application | |
CN110569154B (en) | Chip interface function testing method, system, terminal and storage medium | |
CN108459906A (en) | A kind of dispatching method and device of VCPU threads | |
CN109254791A (en) | Develop management method, computer readable storage medium and the terminal device of data | |
CN109582347B (en) | Method and device for acquiring front-end codes | |
CN111124772A (en) | Cloud platform storage performance testing method, system, terminal and storage medium | |
CN115145777B (en) | Test method, system, device and storage medium | |
CN114138424B (en) | Virtual machine memory snapshot generation method and device and electronic equipment | |
CN115860877A (en) | Product marketing method, device, equipment and medium | |
US20230088318A1 (en) | Remotely healing crashed processes | |
CN111966286A (en) | Multi-data pool hierarchical migration method and system | |
CN112988583A (en) | Method and device for testing syntax compatibility of database | |
US20200387371A1 (en) | Replaying interactions with transactional and database environments with re-arrangement | |
CN110703988A (en) | Storage pool creating method, system, terminal and storage medium for distributed storage | |
CN112395081A (en) | Resource online automatic recovery method, system, server and storage medium | |
CN111124890A (en) | Distributed database performance test method, system, terminal and storage medium | |
CN110716863A (en) | Method, system, terminal and storage medium for testing mandatory access control rule | |
CN112860538A (en) | Method and device for performing interface regression test based on online log | |
CN109344130A (en) | A kind of blog management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180828 |