CN104410543B - Automated testing method and system based on cloud resource - Google Patents
Automated testing method and system based on cloud resource Download PDFInfo
- Publication number
- CN104410543B CN104410543B CN201410664703.4A CN201410664703A CN104410543B CN 104410543 B CN104410543 B CN 104410543B CN 201410664703 A CN201410664703 A CN 201410664703A CN 104410543 B CN104410543 B CN 104410543B
- Authority
- CN
- China
- Prior art keywords
- test
- resource
- cloud
- clouds
- cloud server
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 361
- 238000013515 script Methods 0.000 claims abstract description 61
- 238000012544 monitoring process Methods 0.000 claims abstract description 57
- 238000000034 method Methods 0.000 claims description 18
- 238000013468 resource allocation Methods 0.000 abstract description 4
- 238000011056 performance test Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 4
- 238000011990 functional testing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 208000019901 Anxiety disease Diseases 0.000 description 1
- 230000036506 anxiety Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the present invention provides a kind of automated testing method and system based on cloud resource, after testing requirement information being obtained by high in the clouds core processor, testing requirement information is sent to cloud server corresponding with test-types, high in the clouds monitoring server receives the test grades that cloud server is sent, test resource corresponding with test grades is distributed according to the resource utilization of each test on all cloud servers monitored, and resource access parameter corresponding with test resource is sent to cloud server;Cloud server calls corresponding test resource structure test environment to test script to be measured according to the resource access parameter.So as to improve testing efficiency, and make resource allocation reasonable maximization.
Description
Technical field
The present embodiments relate to field of communication technology, more particularly to a kind of automated testing method based on cloud resource and
System.
Background technology
Test resource includes hardware resource and software resource, and hardware resource includes the resources such as CPU, memory, hard disk, software money
Source includes network, testing tool, test case, test script etc..Existing test process is mostly installed by tester and surveyed
Trial work has, after design test case and test script, it is artificial rule of thumb distribute local hardware resource (CPU, memory,
Hard disk), so as to utilize distributed test resource to build test environment for script to be measured, the test environment to script to be measured into
Row test, obtains the performance indicator of script to be measured.
Using existing performance test methods, when testing every time script to be measured, artificially allocation for test is required for
Resource, builds test environment, and the experience of each tester is different, and the time of distribution and rationality are also different, therefore tests
It is less efficient, and tester can only distribute local test resource and be tested, when test assignment is more, test resource compared with
For anxiety when, treatment effeciency is relatively low.
The content of the invention
For the drawbacks described above of the prior art, the embodiment of the present invention provides a kind of separated automatic test side based on cloud resource
Method and system.
One aspect of the present invention provides a kind of automated testing method based on cloud resource, including:
High in the clouds core processor obtains the testing requirement information that test user is sent by cloud test platform server site,
The testing requirement information includes:Test-types and test grades, and the testing requirement information is sent to and the test
The corresponding cloud server of type;
High in the clouds monitoring server receives the test grades that the cloud server is sent, according to all clouds monitored
The resource utilization of each test on server is held to distribute test resource corresponding with the test grades, and will be with the survey
The corresponding resource access parameter of examination resource is sent to the cloud server;
The cloud server calls corresponding test resource to build test environment, and profit according to the resource access parameter
Script to be measured is tested with the test environment.
Another aspect of the present invention provides a kind of automatization test system based on cloud resource, including:
High in the clouds core processor, the testing requirement sent for obtaining test user by cloud test platform server site
Information, the testing requirement information include:Test-types and test grades, and by the testing requirement information be sent to it is described
The corresponding cloud server of test-types;
High in the clouds monitoring server, the test grades sent for receiving the cloud server, according to what is monitored
The resource utilization of each test on all cloud servers distributes test resource corresponding with the test grades, and will be with
The corresponding resource access parameter of the test resource is sent to the cloud server;
The cloud server, for calling corresponding test resource to build test wrapper according to the resource access parameter
Border, and script to be measured is tested using the test environment.
Automated testing method and system provided in an embodiment of the present invention based on cloud resource, pass through high in the clouds core processor
After obtaining testing requirement information, testing requirement information is sent to cloud server corresponding with test-types, high in the clouds monitoring clothes
Business device receives the test grades that cloud server is sent, according to the resource of each test on all cloud servers monitored profit
Test resource corresponding with test grades is distributed with situation, and resource access parameter corresponding with test resource is sent to high in the clouds
Server;Cloud server calls corresponding test resource to build test environment to script to be measured according to the resource access parameter
Tested.So as to improve testing efficiency, and make resource allocation reasonable maximization.
Brief description of the drawings
Fig. 1 is the flow chart of an automated testing method based on cloud resource provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another automated testing method based on cloud resource provided in an embodiment of the present invention;
Fig. 3 is the structure diagram of an automatization test system based on cloud resource provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of another automatization test system based on cloud resource provided in an embodiment of the present invention.
Embodiment
Fig. 1 is the flow chart of an automated testing method based on cloud resource provided in an embodiment of the present invention, such as Fig. 1 institutes
Show, this method includes:
Step 100, high in the clouds core processor obtains the test that test user is sent by cloud test platform server site
Demand information, the testing requirement information include:Test-types and test grades, and by the testing requirement information be sent to
The corresponding cloud server of the test-types;
User in automated testing method provided in this embodiment based on cloud resource includes test user, manages user
And ordinary user, wherein, test user is that management user is can be to test user and common use with the user for testing authority
Family carries out the user of authority modification, has the role of administrator, ordinary user is can to check and download test report, but nothing
Weigh the user tested.
Specifically, user is tested after cloud test platform server site submits testing scheme, assessment to pass through, and tests user
Fill in testing requirement information and be sent to high in the clouds core processor, wherein, which includes:Test-types and test
Rank, wherein, test-types include:Security performance test, functional test and process performance test etc., test grades are tests
The setting that personnel carry out according to the size of measurement scope, such as A, B, C, D.High in the clouds core processor sends out the testing requirement information
Cloud server corresponding with the test-types is given, it is necessary to which explanation, cloud server is according to different test-types point
For:Security performance test server, functional test server and performance test server etc..
Step 101, high in the clouds monitoring server receives the test grades that the cloud server is sent, according to being monitored
All cloud servers on the resource utilization of each test distribute corresponding with test grades test resource, and general
Resource access parameter corresponding with the test resource is sent to the cloud server;
Cloud server carries out the testing requirement information that high in the clouds core processor is sent parsing and obtains test grades, and will
The test grades are sent to high in the clouds monitoring server, after high in the clouds monitoring server receives the test grades that cloud server is sent,
Test corresponding with the test grades is distributed according to the resource utilization of each test on all cloud servers monitored
Resource, specifically, the monitoring of high in the clouds monitoring server are deployed in the server of all each type tests of progress in high in the clouds, to each
The test assignment performed on a server is monitored in real time, grasps the utilization feelings of the test resource of each test assignment in real time
Situations such as condition, specifically includes Internet resources, CPU, memory, storage, the test grades demand according to transmitted by cloud server, is looked into
The distribution occupancy situation of the test resource of each server monitored at present is ask, corresponding test resource is distributed for it, due to
Test resource is deployed in each server, that is, is deployed on the physical machine of entity or each virtual machine in physical machine,
, will money corresponding with specific test resource after high in the clouds monitoring server is determined as the corresponding test resource of test grades distribution
Source access parameter is sent to cloud server, wherein, resource access parameter can be by physical machine that resource is located at or virtual
The address information of machine, or the identification information that cloud resource internal system is distributed unitedly, the purpose is to enable cloud server
Corresponding test resource is got according to resource access parameter.
Step 102, the cloud server calls corresponding test resource structure test according to the resource access parameter
Environment, and script to be measured is tested using the test environment.
The resource access parameter that cloud server is fed back according to high in the clouds monitoring server, is called using the resource access parameter
The test resource being deployed on physical machine or virtual machine, is used to test script to be measured using these test resources structure
Test environment.After test environment has been built, high in the clouds core processor imports script to be measured in test environment, then at this
Script to be measured is run under test environment, script to be measured is tested, to obtain test result, so as to utilize these test results
Analyze the corresponding test performance index of the script to be measured.
Automated testing method provided in this embodiment based on cloud resource, obtaining test by high in the clouds core processor needs
After seeking information, testing requirement information is sent to cloud server corresponding with test-types, high in the clouds monitoring server receives cloud
The test grades for holding server to send, are distributed according to the resource utilization of each test on all cloud servers monitored
Test resource corresponding with test grades, and resource access parameter corresponding with test resource is sent to cloud server;Cloud
End server calls corresponding test resource structure test environment to test script to be measured according to the resource access parameter.
So as to improve testing efficiency, and make resource allocation reasonable maximization.
Fig. 2 be another automated testing method based on cloud resource provided in an embodiment of the present invention flow chart, such as Fig. 2
Shown, this method includes:
Step 200, high in the clouds core processor obtains the test that test user is sent by cloud test platform server site
Demand information, the testing requirement information include:Test-types and test grades, and by the testing requirement information be sent to
The corresponding cloud server of the test-types;
User in automated testing method provided in this embodiment based on cloud resource includes test user, manages user
And ordinary user, wherein, test user is that management user is can be to test user and common use with the user for testing authority
Family carries out the user of authority modification, has the role of administrator, ordinary user is can to check and download test report, but nothing
Weigh the user tested.
Specifically, user is tested after cloud test platform server site submits testing scheme, assessment to pass through, and tests user
Fill in testing requirement information and be sent to high in the clouds core processor, wherein, which includes:Test-types and test
Rank, wherein, test-types include:Security performance test, functional test and process performance test etc., test grades are tests
The setting that personnel carry out according to the size of measurement scope, such as A, B, C, D.High in the clouds core processor sends out the testing requirement information
Cloud server corresponding with the test-types is given, it is necessary to which explanation, cloud server is according to different test-types point
For:Security performance test server, functional test server and performance test server etc..
Step 201, high in the clouds monitoring server receives the test grades that the cloud server is sent, according to being monitored
All cloud servers on the resource utilization of each test distribute corresponding with test grades test resource, and general
Resource access parameter corresponding with the test resource is sent to the cloud server;
Cloud server carries out the testing requirement information that high in the clouds core processor is sent parsing and obtains test grades, and will
The test grades are sent to high in the clouds monitoring server, after high in the clouds monitoring server receives the test grades that cloud server is sent,
Test corresponding with the test grades is distributed according to the resource utilization of each test on all cloud servers monitored
Resource, specifically, the monitoring of high in the clouds monitoring server are deployed in the server of all each type tests of progress in high in the clouds, to each
The test assignment performed on a server is monitored in real time, grasps the utilization feelings of the test resource of each test assignment in real time
Situations such as condition, specifically includes Internet resources, CPU, memory, storage, the test grades demand according to transmitted by cloud server, is looked into
The distribution occupancy situation of the test resource of each server monitored at present is ask, corresponding test resource is distributed for it, due to
Test resource is deployed in each server, that is, is deployed on the physical machine of entity or each virtual machine in physical machine,
, will money corresponding with specific test resource after high in the clouds monitoring server is determined as the corresponding test resource of test grades distribution
Source access parameter is sent to cloud server, wherein, resource access parameter can be by physical machine that resource is located at or virtual
The address information of machine, or the identification information that cloud resource internal system is distributed unitedly, the purpose is to enable cloud server
Corresponding test resource is got according to resource access parameter.
Step 202, the cloud server calls corresponding test resource structure test according to the resource access parameter
Environment, and script to be measured is tested using the test environment;
The resource access parameter that cloud server is fed back according to high in the clouds monitoring server, is called using the resource access parameter
The test resource being deployed on physical machine or virtual machine, is used to test script to be measured using these test resources structure
Test environment.After test environment has been built, high in the clouds core processor imports script to be measured in test environment, then at this
Script to be measured is run under test environment, script to be measured is tested, to obtain test result, so as to utilize these test results
Analyze the corresponding test performance index of the script to be measured.
Step 203, the high in the clouds monitoring server is after knowing that the cloud server starts test, obtain it is default with
The corresponding reasonable utilization rate of the test grades, is opened according to default test monitoring acquisition of information is corresponding with the test grades
The dynamic time, when reaching the startup time, monitors the real time resources utilization rate tested the script to be measured;
After cloud server starts test, send test to high in the clouds monitoring server and start message, high in the clouds monitoring server
After knowing that starting message according to test knows that cloud server starts test, it is default corresponding with test grades reasonable to obtain
Utilization rate.Then high in the clouds monitoring server is according to the default test monitoring acquisition of information startup time corresponding with test grades,
When being reached between on startup, the real time resources utilization rate that high in the clouds monitoring server tests script to be measured is monitored.Resource profit
Can monitor at any time during the test with rate, resource can just be divided into Mobile state exactly during this is monitored at any time
Match somebody with somebody, reasonable resource utilization rate can be described as the threshold value of a setting, and so-called is rationally between upper and lower bound.Need to illustrate
, since test process in utilization rate is at first all zero, it is nonsensical to monitor resource utilization at the beginning,
This method has preset the startup time corresponding with each test grades in test monitoring information, on startup between reach when high in the clouds
Monitoring server just starts to monitor real time resources utilization rate, so that just significant compared with reasonable utilization rate.
Step 204, the high in the clouds monitoring server according to the reasonable utilization rate and the real time resources utilization rate to institute
The test resource that script to be measured is distributed is stated to adjust into Mobile state;
High in the clouds monitoring server is after real time resources utilization rate and reasonable utilization rate is obtained, according to reasonable utilization rate and reality
When resource utilization the test resource that script to be measured is distributed is adjusted into Mobile state, specifically, by real time resources utilization rate and
Reasonable utilization rate is compared, will if high in the clouds monitoring server judges to know that real time resources utilization rate is less than reasonable utilization rate
First resource access parameter corresponding to the test resource for needing to discharge is sent to cloud server, cloud server release and the
The corresponding test resource of one resource access parameter;If high in the clouds monitoring server judges to know that real time resources utilization rate is more than rationally profit
With rate, then the Secondary resource access parameter corresponding to additional test resource will be needed to be sent to cloud server, cloud service
Device calls test resource corresponding with Secondary resource access parameter, additional test resource.For clearer explanation implementation process,
It is illustrated below:The design upper limit is percent 80 in the present case, and lower limit is percent 30, resource utilization percent 80 with
On be that the virtual resource free time is less, need this when to add test resource into Mobile state, resource utilization is percent 30
Need to recycle resource below.
Step 205, for the cloud server after the completion of test, the test money taken during the script to be measured is tested in release
Source;
After test completion, the test resource taken when testing script to be measured is discharged for cloud server, will be surveyed
Examination resource is in idle condition, so as to so that high in the clouds monitoring server is scheduled to other scripts to be measured and is tested, make resource
Utilize maximization.
Step 206, the cloud server sends out the script to be measured and test result corresponding with the script to be measured
High in the clouds storage platform is given, so that the high in the clouds storage platform is according to download request, and is provided corresponding with the download request
Test result.
Cloud server is according to the address information of the high in the clouds storage platform to prestore, such as IP address, by script to be measured and with treating
Survey the corresponding test result of script and be sent to high in the clouds storage platform, so that other ordinary users can be from high in the clouds storage platform
Check or download test result.
Automated testing method provided in this embodiment based on cloud resource, obtaining test by high in the clouds core processor needs
After seeking information, testing requirement information is sent to cloud server corresponding with test-types, high in the clouds monitoring server receives cloud
The test grades for holding server to send, are distributed according to the resource utilization of each test on all cloud servers monitored
Test resource corresponding with test grades, and resource access parameter corresponding with test resource is sent to cloud server;Cloud
End server calls corresponding test resource structure test environment to test script to be measured according to the resource access parameter,
High in the clouds monitoring server obtains reasonable utilization rate corresponding with test grades, according to default test after knowing and starting test
Monitoring information obtains corresponding with test grades startup time, on startup between when reaching, monitor the real time resources utilization of test
Rate, adjusts the test resource that script to be measured is distributed into Mobile state according to reasonable utilization rate and real time resources utilization rate.So as to
All resource pools based on cloud resource are realized according to real-time resource utilization automatically dynamically distributes test resource, are improved
Testing efficiency, and make resource allocation reasonable maximization.
Based on above-described embodiment, further, the high in the clouds core processor is monitored during the test by monitoring dog
The working status of high in the clouds monitoring server and cloud server, to be switched to guest machine when breaking down.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of programmed instruction is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
Fig. 3 is the structure diagram of an automatization test system based on cloud resource provided in an embodiment of the present invention, such as
Shown in Fig. 3, which includes:High in the clouds core processor 1, high in the clouds monitoring server 2 and cloud server 3, wherein, high in the clouds
Core processor 1, the testing requirement information sent for obtaining test user by cloud test platform server site, the survey
Examination demand information includes:Test-types and test grades, and the testing requirement information is sent to and the test-types pair
The cloud server 3 answered;High in the clouds monitoring server 2 is used to receive the test grades that the cloud server 3 is sent, according to
The resource utilization distribution test money corresponding with the test grades of each test on all cloud servers monitored
Source, and resource access parameter corresponding with the test resource is sent to the cloud server;Cloud server 3 is used for root
Corresponding test resource structure test environment is called according to the resource access parameter, and using the test environment to script to be measured
Tested.
The function and process flow of each module in automatization test system provided in this embodiment based on cloud resource, can be with
Referring to the embodiment of the method shown in above-mentioned Fig. 1, its implementing principle and technical effect is similar, and details are not described herein again.
Fig. 4 is the structure diagram of another automatization test system based on cloud resource provided in an embodiment of the present invention,
As shown in figure 4, being based on embodiment illustrated in fig. 3, further include:High in the clouds storage platform 4.
Further, high in the clouds monitoring server 2, is additionally operable to survey script to be measured using the test environment described
After examination, obtain default reasonable utilization rate corresponding with the test grades, according to default test monitoring acquisition of information and
The test grades corresponding startup time, when reaching the startup time, monitors what the script to be measured was tested
Real time resources utilization rate, and the script to be measured is distributed according to the reasonable utilization rate and the real time resources utilization rate
Test resource is adjusted into Mobile state.
Wherein, high in the clouds monitoring server 2 is specifically used for:It is described reasonable that if judgement knows that the real time resources utilization rate is less than
Utilization rate, then the first resource access parameter corresponding to test resource that will need to discharge are sent to the cloud server, with
The cloud server is set to discharge test resource corresponding with the first resource access parameter;If the money in real time is known in judgement
Source utilization rate is more than the reasonable utilization rate, then the Secondary resource access parameter corresponding to additional test resource will be needed to send
To the cloud server, so that the cloud server calls test resource corresponding with the Secondary resource access parameter.
Further, the high in the clouds core processor 2, is additionally operable to monitor the high in the clouds during the test by monitoring dog
The working status of monitoring server and the cloud server, to be switched to guest machine when breaking down.
Further, cloud server 3, are additionally operable to test script to be measured using the test environment described
Into afterwards, the test resource taken during the script to be measured is tested in release, and by the script to be measured and with the script to be measured
Corresponding test result is sent to high in the clouds storage platform;
The high in the clouds storage platform 4, for receiving download request, and provides test knot corresponding with the download request
Fruit.
The function and process flow of each module in automatization test system provided in this embodiment based on cloud resource, can be with
Referring to the embodiment of the method shown in above-mentioned Fig. 2, its implementing principle and technical effect is similar, and details are not described herein again.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
To modify to the technical solution described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and
Scope.
Claims (8)
- A kind of 1. automated testing method based on cloud resource, it is characterised in that including:High in the clouds core processor obtains the testing requirement information that test user is sent by cloud test platform server site, described Testing requirement information includes:Test-types and test grades, and the testing requirement information is sent to and the test-types Corresponding cloud server;High in the clouds monitoring server receives the test grades that the cloud server is sent, and is taken according to all high in the clouds monitored The resource utilization of each test distributes test resource corresponding with the test grades on business device, and will be provided with the test The corresponding resource access parameter in source is sent to the cloud server;The cloud server calls corresponding test resource to build test environment according to the resource access parameter, and utilizes institute Test environment is stated to test script to be measured;It is described script to be measured is tested using the test environment after, the method further includes:The high in the clouds monitoring server obtains default reasonable utilization rate corresponding with the test grades, according to default test Monitoring information obtains the startup time corresponding with the test grades, when reaching the startup time, monitors to described to be measured The real time resources utilization rate that script is tested;The high in the clouds monitoring server is according to the reasonable utilization rate and the real time resources utilization rate to the script institute to be measured The test resource of distribution is adjusted into Mobile state.
- 2. the automated testing method according to claim 1 based on cloud resource, it is characterised in that described according to the conjunction Manage utilization rate and the real time resources utilization rate to adjust the test resource that the script to be measured is distributed into Mobile state, specific bag Include:If judgement knows that the real time resources utilization rate is less than the reasonable utilization rate, the test resource institute that needs are discharged is right The first resource access parameter answered is sent to the cloud server, so that cloud server release and the first resource The corresponding test resource of access parameter;If judgement knows that the real time resources utilization rate is more than the reasonable utilization rate, by needing, additional test resource institute is right The Secondary resource access parameter answered is sent to the cloud server, so that the cloud server calls and the Secondary resource The corresponding test resource of access parameter.
- 3. the automated testing method according to claim 1 based on cloud resource, it is characterised in thatThe high in the clouds core processor monitors the high in the clouds monitoring server and the high in the clouds during the test by monitoring dog The working status of server, to be switched to guest machine when breaking down.
- 4. according to any automated testing methods based on cloud resource of claim 1-3, it is characterised in that in the profit After being completed with the test environment to script to be measured test, the method further includes:The test resource taken during the script to be measured is tested in cloud server release, and by the script to be measured and with institute State the corresponding test result of script to be measured and be sent to high in the clouds storage platform;The high in the clouds storage platform receives download request, and provides test result corresponding with the download request.
- A kind of 5. automatization test system based on cloud resource, it is characterised in that including:High in the clouds core processor, believes for obtaining the testing requirement that test user is sent by cloud test platform server site Breath, the testing requirement information include:Test-types and test grades, and the testing requirement information is sent to and the survey Try the corresponding cloud server of type;High in the clouds monitoring server, the test grades sent for receiving the cloud server are all according to what is monitored The resource utilization of each test on cloud server distributes test resource corresponding with the test grades, and will with it is described The corresponding resource access parameter of test resource is sent to the cloud server;The cloud server, for calling corresponding test resource to build test environment according to the resource access parameter, and Script to be measured is tested using the test environment;The high in the clouds monitoring server, be additionally operable to it is described script to be measured is tested using the test environment after, obtain Default reasonable utilization rate corresponding with the test grades is taken, according to default test monitoring acquisition of information and the test level The not corresponding startup time, when reaching the startup time, monitors the real time resources profit tested the script to be measured With rate, and according to the reasonable utilization rate and the real time resources utilization rate to the test resource that the script to be measured is distributed into Mobile state adjusts.
- 6. the automatization test system according to claim 5 based on cloud resource, it is characterised in thatThe high in the clouds monitoring server is specifically used for:If judgement knows that the real time resources utilization rate is less than the rationally utilization Rate, then the first resource access parameter corresponding to test resource that will need to discharge is sent to the cloud server, so that institute State cloud server and discharge test resource corresponding with the first resource access parameter;If judgement knows that the real time resources utilization rate is more than the reasonable utilization rate, by needing, additional test resource institute is right The Secondary resource access parameter answered is sent to the cloud server, so that the cloud server calls and the Secondary resource The corresponding test resource of access parameter.
- 7. the automatization test system according to claim 5 based on cloud resource, it is characterised in thatThe high in the clouds core processor, is additionally operable to monitor the high in the clouds monitoring server and institute during the test by monitoring dog The working status of cloud server is stated, to be switched to guest machine when breaking down.
- 8. according to any automatization test systems based on cloud resource of claim 5-7, it is characterised in that further include: High in the clouds storage platform;The cloud server, be additionally operable to it is described test completion is carried out to script to be measured using the test environment after, release Put the test resource that takes when testing the script to be measured, and by the script to be measured and test corresponding with the script to be measured As a result it is sent to high in the clouds storage platform;The high in the clouds storage platform, for receiving download request, and provides test result corresponding with the download request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410664703.4A CN104410543B (en) | 2014-11-19 | 2014-11-19 | Automated testing method and system based on cloud resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410664703.4A CN104410543B (en) | 2014-11-19 | 2014-11-19 | Automated testing method and system based on cloud resource |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104410543A CN104410543A (en) | 2015-03-11 |
CN104410543B true CN104410543B (en) | 2018-04-17 |
Family
ID=52648141
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410664703.4A Active CN104410543B (en) | 2014-11-19 | 2014-11-19 | Automated testing method and system based on cloud resource |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104410543B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105205003A (en) * | 2015-10-28 | 2015-12-30 | 努比亚技术有限公司 | Automated testing method and device based on clustering system |
CN105301419A (en) * | 2015-12-03 | 2016-02-03 | 中国电力科学研究院 | Cloud-technology-based automatic test system for protective relaying device |
CN106059852A (en) * | 2016-05-20 | 2016-10-26 | 索尔思光电(成都)有限公司 | Optical module cloud test system and method |
CN106484623A (en) * | 2016-10-21 | 2017-03-08 | 郑州云海信息技术有限公司 | A kind of method of software test, apparatus and system |
CN106776289A (en) * | 2016-11-24 | 2017-05-31 | 山东交通学院 | Multitask self adaptation cloud method of testing |
CN108182142A (en) * | 2016-12-08 | 2018-06-19 | 武汉安天信息技术有限责任公司 | Test resource integration method, system and function test method, system |
CN107169639A (en) * | 2017-04-27 | 2017-09-15 | 北京云测信息技术有限公司 | A kind of test assignment distribution method and device |
CN108268372B (en) * | 2017-07-24 | 2021-06-08 | 深圳壹账通智能科技有限公司 | Mock test processing method and device, storage medium and computer equipment |
CN107832206A (en) * | 2017-10-16 | 2018-03-23 | 深圳市牛鼎丰科技有限公司 | Method of testing, device, computer-readable recording medium and computer equipment |
CN109901998B (en) * | 2019-01-29 | 2022-06-17 | 浙江数链科技有限公司 | Resource recovery method, device, system, computer equipment and storage medium |
CN110196806A (en) * | 2019-04-12 | 2019-09-03 | 石化盈科信息技术有限责任公司 | A kind of dynamic adaptation method of testing service device |
CN110457205A (en) * | 2019-07-05 | 2019-11-15 | 深圳壹账通智能科技有限公司 | Interface test method, device, computer equipment and storage medium |
CN112770336B (en) * | 2019-10-21 | 2023-04-25 | 中移(成都)信息通信科技有限公司 | Equipment testing method and system |
CN111382082B (en) * | 2020-04-01 | 2023-03-28 | 建信金融科技有限责任公司 | Continuous integration test method and device |
CN111651349B (en) * | 2020-05-26 | 2023-07-14 | 泰康保险集团股份有限公司 | Test method and device |
CN111736991B (en) * | 2020-06-12 | 2022-06-21 | 苏州浪潮智能科技有限公司 | Method, device and equipment for scheduling cloud platform resources and readable medium |
CN114064448A (en) * | 2020-08-05 | 2022-02-18 | 北京金山云网络技术有限公司 | Test environment deployment and smoking test method and device and electronic equipment |
CN113282402B (en) * | 2021-07-22 | 2021-11-05 | 航天中认软件测评科技(北京)有限责任公司 | Test task scheduling method oriented to complex resource constraint |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9104803B2 (en) * | 2011-01-03 | 2015-08-11 | Paypal, Inc. | On-demand software test environment generation |
US9081618B2 (en) * | 2012-03-19 | 2015-07-14 | Ati Technologies Ulc | Method and apparatus for the scheduling of computing tasks |
CN103425472B (en) * | 2012-05-23 | 2016-08-24 | 上海计算机软件技术开发中心 | STE dynamic generating system based on cloud computing and its implementation |
CN102981951B (en) * | 2012-11-01 | 2016-03-09 | 珠海金山网络游戏科技有限公司 | Cloud test development platform and cloud test development method |
CN103678132A (en) * | 2013-12-18 | 2014-03-26 | 中国科学院深圳先进技术研究院 | Application software cloud testing system |
-
2014
- 2014-11-19 CN CN201410664703.4A patent/CN104410543B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104410543A (en) | 2015-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104410543B (en) | Automated testing method and system based on cloud resource | |
US9606899B1 (en) | Software testing using shadow requests | |
CN111124850A (en) | MQTT server performance testing method, system, computer equipment and storage medium | |
CN104765678B (en) | The method and device tested the application on mobile terminal device | |
CN110162471A (en) | A kind of method for testing pressure and system based on container cloud | |
CN110427323A (en) | A kind of application testing method, device, proxy server and system | |
WO2019104916A1 (en) | Development role creation method, device and equipment for test case, and storage medium | |
EP3062479A1 (en) | Security service customizing method and apparatus | |
CN107733735B (en) | Script recording system and method implanted in pressure measurement device | |
CN107038120B (en) | Software testing method and device | |
CN111258867B (en) | Public cloud dial testing method and device | |
CN109327355A (en) | Cloud storage system performance evaluation methodology, device and computer readable storage medium | |
WO2019128299A1 (en) | Test system and test method | |
CN110134612A (en) | UI test data generating method, device, equipment and readable storage medium storing program for executing | |
CN104008038B (en) | The evaluating method and device of software | |
CN106845215A (en) | Based on safety protecting method and device under virtualized environment | |
CN107634878B (en) | Performance test management platform | |
CN109597764A (en) | A kind of test method and relevant apparatus of catalogue quota | |
CN105224450B (en) | Concurrent testing method and device | |
Alboghdady et al. | C'mon: Monitoring the compliance of cloud services to contracted properties | |
CN109144846A (en) | Test method and device for testing service device | |
CN110083506A (en) | The method and device of cluster resource amount optimization | |
CN109358998A (en) | A kind of server detection method, apparatus and system | |
CN109257256A (en) | Apparatus monitoring method, device, computer equipment and storage medium | |
CN107911410A (en) | Distributed Services process resource consumes statistical method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |