CN103298016A - Test system for mobile terminals - Google Patents

Test system for mobile terminals Download PDF

Info

Publication number
CN103298016A
CN103298016A CN201210046444XA CN201210046444A CN103298016A CN 103298016 A CN103298016 A CN 103298016A CN 201210046444X A CN201210046444X A CN 201210046444XA CN 201210046444 A CN201210046444 A CN 201210046444A CN 103298016 A CN103298016 A CN 103298016A
Authority
CN
China
Prior art keywords
test
terminal
case
control center
test case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210046444XA
Other languages
Chinese (zh)
Other versions
CN103298016B (en
Inventor
高碧波
胡国帅
刘凯
韩俊波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201210046444.XA priority Critical patent/CN103298016B/en
Publication of CN103298016A publication Critical patent/CN103298016A/en
Application granted granted Critical
Publication of CN103298016B publication Critical patent/CN103298016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A test system for mobile terminals comprises a sub-control center and at least one test terminal connected with the sub-control center, wherein the sub-control center is used for receiving a test task, analyzing the test task, and allocating test cases to the corresponding test terminals based on a predetermined allocation strategy, the test task comprises at least one test case, the test terminals are used for operating the allocated test cases, and therefore the test of the mobile terminals is realized. According to the technical scheme of the test system for the mobile terminals, the resources of the test terminals can be fully utilized, test cost is lowered, and test efficiency and the reliability of the test system are improved.

Description

The test macro of portable terminal
Technical field
The present invention relates to communication technical field, relate in particular to a kind of test macro of portable terminal.
Background technology
Along with the development of mobile communication technology, the portable terminal product is more and more abundanter, and function becomes increasingly complex, and the frequency of release is more and more faster, causes the R﹠D cycle to shorten.In R﹠D process, need guarantee quality and the performance of portable terminal by the test to portable terminal, must improve testing efficiency, the control testing cost of portable terminal simultaneously again, need constantly to accumulate measuring technology for this reason, improve testing level.
Usually, the test of portable terminal is mainly referred to the portable terminal version is tested, to verify the validity of this version.The version of portable terminal always in constantly upgrading, has the test case corresponding with this version at different versions.So-called portable terminal version test has comprised the test of mobile terminal protocol stack, physical layer test, the Access Layer (AS under this version, Access Stratum) test, Radio Link control (RLC, Radio Link Control) module testing, man-machine interface test, power consumption test, tone testing etc., which module of portable terminal under concrete this version of test, then decided by the test case under this version (test script), for example: it then is for the mobile terminal protocol stack under this version of test that test case relates to mobile terminal protocol stack test.
In the prior art, by automatization test system portable terminal is tested.Generally include in the described automatization test system: the analysis tool of test execution instrument, at least one base station simulator, daily record data, at least one portable terminal (real portable terminal) or mobile-terminal simulator etc.Described test execution instrument start-up base station simulator, by base station simulator with network base station that is virtually reality like reality, the test case that run user is selected or the test case that pre-sets generate test command, and described test command is sent to portable terminal/mobile-terminal simulator, mutually mutual by between described base station simulator and the portable terminal/mobile-terminal simulator, to realize the test to each module in the portable terminal, described test execution instrument can gather test result the corresponding test report of generation after test is finished.Adopt existing automatization test system can realize the automatic test of portable terminal version, help the developer in portable terminal version test process, in time find the problem place of each module of portable terminal and revise accordingly.
Yet for existing automatization test system, its test execution instrument, base station simulator and test case normally operate on the testing equipment (being generally a computer), if the portable terminal of test is mobile-terminal simulator, then described mobile-terminal simulator also operates on the testing equipment, if the portable terminal of test is real portable terminal, then described portable terminal and this testing equipment interconnection.Mutual by carrying out between base station simulator and the portable terminal/mobile-terminal simulator, portable terminal/mobile-terminal simulator to be tested is tested one by one.For the test of portable terminal version; up to ten thousand test cases that meeting is corresponding usually under the version; on a testing equipment, portable terminal/mobile-terminal simulator is tested to verify one by one the validity of portable terminal version; will certainly expend a large amount of testing times, cause testing efficiency low excessively.
After have again above-mentioned test mode improved, adopt parallel mode to come portable terminal/mobile-terminal simulator is tested.For example, at testing equipment a plurality of base station simulators of operation and a plurality of mobile-terminal simulator, perhaps move a plurality of base station simulators a testing equipment, and connect a plurality of real portable terminals and test.Again for example, come portable terminal/mobile-terminal simulator is tested by many testing equipments, particularly, move the test case of predetermined quantity in each testing equipment to realize the test to portable terminal/mobile-terminal simulator.With respect to above-mentioned mode, though its consumed time reduces to some extent, testing efficiency is still not high.
And in above-mentioned automatization test system, if test a testing equipment, in case crashing appears in testing equipment, test process will stop, and then the test assignment that causes expecting can't be finished.If at many testing equipment concurrent testings, in case crashing appears in a testing equipment, the test case that operates on this testing equipment also can't be moved, and causes whole test assignment to finish on schedule.Therefore the reliability of above-mentioned automatization test system is also relatively poor.
Other can be US2010120371A1 referring to publication number about the correlation technique of mobile terminal test, and denomination of invention is the U.S. Patent application of Mobile terminal tester and mobile terminal test method.
Summary of the invention
The problem of the low and poor reliability of the problem that the present invention the solves testing efficiency that to be existing automatization test system test portable terminal.
For addressing the above problem, the invention provides a kind of test macro of portable terminal, comprising: divide control center and at least one test terminal that links to each other with described branch control center;
Described branch control center is used for the acceptance test task, resolves described test assignment, and to corresponding test terminal, described test assignment comprises at least one test case based on predetermined allocation strategy allocation for test use-case;
Described test terminal is used for the test case that operation distributes, to realize the test to described portable terminal.
Optionally, describedly comprise based on predetermined allocation strategy allocation for test use-case to corresponding test terminal: based on the state information allocation for test use-case of described test terminal to corresponding test terminal.
Optionally, describedly comprise based on predetermined allocation strategy allocation for test use-case to corresponding test terminal: based on the dependence allocation for test use-case of the test case in the described test assignment to corresponding test terminal.
Optionally, described branch control center also is used in the failure of described test terminal operation test case, and the test case of described operation being failed based on the state information of other test terminals is dispensed to other test terminals.
Optionally, the test macro of described portable terminal also comprises: at least one starter, the corresponding at least one test terminal of described starter;
Described branch control center also is used for the store path of described beta version is sent to the test terminal that is assigned test case;
Described test terminal, also the store path for the beta version that described branch control center is sent is sent to corresponding starter;
Described starter, be used for based on the store path of described beta version download described beta version and under test case.
Compared with prior art, technical scheme of the present invention has following beneficial effect:
Branch control center receives described test assignment and based on the extremely corresponding test terminal of predetermined allocation strategy allocation for test use-case, has very big flexibility, can take full advantage of the resource of test terminal, helps to improve testing efficiency.
Divide the control center based on the extremely corresponding test terminal of the state information allocation for test use-case of described test terminal, because it has taken into account the state of test terminal in the allocation for test use-case, therefore it is too much to avoid appearing at the test case of moving on the test terminal, but balancedly be assigned test case in each test terminal, because by a plurality of test terminal operation test cases, therefore, for test assignment, can reduce its running time, also namely improve testing efficiency.
Divide the control center to redistribute the test case of operation failure, namely in the failure of test terminal operation test case, the test case of described operation being failed based on the state information of other test terminals is dispensed to other test terminals, finishing of test assignment be can guarantee like this, thereby testing efficiency and reliability improved.And, the test case of operation failure is redistributed, or actually can move the problem that described test case is judged the problem test terminal of test case by other test terminals, also need not to copy the test case of failure to other test terminals by manual mode, so reduced the fussy degree in the test process, correspondingly also reduced testing cost.
The test macro of described portable terminal comprises at least one starter, corresponding at least one test terminal of described starter, by described starter download beta version and under test case, and when different test terminals is tested identical beta version, described starter only carry out once this beta version and under the download of test case, reduced to beta version and under the download time of test case, improved testing efficiency, and adopt described starter download beta version and under test case also realized to beta version and under the centralized management of test case.
Described test terminal comprises test agent end, test run device and testing tool, and then when by described test terminal portable terminal/mobile-terminal simulator being tested, in case abnormal conditions appear in any one in described test agent end, test run device and the testing tool, then can move test case by opening new test agent end or test run device or testing tool, therefore, improved the reliability of test macro.
Description of drawings
Fig. 1 is the basic structure schematic diagram of test macro of the portable terminal of embodiment of the present invention;
Fig. 2 is the structural representation of test macro of the portable terminal of the embodiment of the invention;
Fig. 3 is the structural representation at the branch control center of the embodiment of the invention;
Fig. 4 is the schematic flow sheet that the application module of the embodiment of the invention calls the test case management module;
Fig. 5 is the schematic diagram of the test assignment file of the embodiment of the invention;
Fig. 6 is the schematic flow sheet of the branch control center loaded test assignment of the embodiment of the invention;
Fig. 7 is the schematic flow sheet of the test case management module assignment test case of the embodiment of the invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can more be become apparent, below in conjunction with accompanying drawing the specific embodiment of the present invention is described in detail.
Set forth detail in the following description so that fully understand the present invention.But the present invention can be different from alternate manner described here and implements with multiple, and those skilled in the art can do similar popularization under the situation of intension of the present invention.Therefore the present invention is not subjected to the restriction of following public embodiment.
When portable terminal is tested, included test case up to ten thousand under each beta version, by moving a large amount of test cases to realize the test to the portable terminal version, when carrying out the version recurrence, all test cases also all need to rerun to carry out the version checking at every turn.And adopt existing test macro to carry out portable terminal version when test, and testing cost is higher, and testing efficiency reliability low and test is relatively poor.
The inventor is through discovering, even prior art adopts parallel mode that portable terminal is tested, all need to allocate in advance test case, for example, by artificial mode described test case is copied in the testing equipment, because test case is allocated in advance, the serviceability of different testing equipments has difference, the too much test case of some testing equipment operation can occur or be in running status all the time, some testing equipment then is in idle condition, the resource of testing equipment is not fully used like this, has reduced testing efficiency.And, along with increasing of testing equipment and beta version, need expend great amount of manpower and come the allocation for test use-case, must cause the increase of testing cost.
In addition, for each testing equipment, occur some test case possibly and move the situation of failure thereon, need will move the test case of failing by manual mode and be copied to other testing equipment this moment, if test case is normal in the miscellaneous equipment operation, then may be the problem of testing equipment, if test case also can't be moved on other testing equipment, then may be the problem of test case self.Actually or when copying the test case of operation failure different testing equipments to the problem of the problem testing equipment of judging test case, whole process is often more loaded down with trivial details, waste of manpower also can cause the increase of testing cost, the reduction of testing efficiency.
Therefore, the inventor has proposed a kind of test macro of distributed frame, to divide the control center to link to each other with a plurality of test terminals, described branch control center is after receiving test assignment, adopt predetermined allocation strategy that the test case in the test assignment is dispensed to corresponding test terminal, make test case balancedly to be dispensed to the test terminal, take full advantage of the resource of test terminal, thereby improve testing efficiency.
In order to understand technical scheme of the present invention better, earlier relevant noun is illustrated.
Test case, for the corresponding function point of testing mobile terminal, the test terminal can be by moving different test cases so that the portable terminal version is tested.
Behavior and portable terminal that base station simulator is used for anolog base station carry out alternately.
Mobile-terminal simulator is used for the behavior of portable terminal that is virtually reality like reality.
Fig. 1 is the basic structure schematic diagram of test macro of the portable terminal of embodiment of the present invention, and as shown in Figure 1, the test macro of described portable terminal comprises: divide control center 2 and the test terminal 3 and 4 that links to each other with described branch control center 2;
Described branch control center 2 is used for the acceptance test task, resolves described test assignment, and to corresponding test terminal, described test assignment comprises at least one test case based on predetermined allocation strategy allocation for test use-case.
Described test terminal is used for the test case that operation distributes, to realize the test to described portable terminal.
Need to prove that for convenience of explanation, the test macro shown in Fig. 1 has only comprised two test terminals in the present embodiment, in actual test process, the number of described test terminal is decided by actual demand.
In the present embodiment, described test assignment comprises the store path of the beta version under test assignment file and the test case, the sign of test case in the described test assignment file record test assignment.The particular content of beta version and test case is downloaded from the store path of described beta version.Described beta version provides running environment for the operation of portable terminal, so make described test terminal after the described test case of operation can and described portable terminal between carry out mutual.In other words after described portable terminal has been installed beta version, described test terminal move described test case with realize with described portable terminal between alternately.Described test assignment can also comprise test-types, i.e. this test is to carry out at portable terminal, or mobile-terminal simulator carries out.Described test assignment file can also record the sign of the beta version under the described test case.Which content is described test assignment specifically comprise, can decide according to testing requirement and the test environment of reality.
The particular content that also can comprise in other embodiments, test case in the described test assignment.
In the present embodiment, described branch control center 2 comprises at least one computer.Described branch control center 2 receives described test assignment, resolves described test assignment, then based on the extremely corresponding test terminal of predetermined allocation strategy allocation for test use-case.Comprise the test assignment file with test assignment, recorded the example that is designated of the test case that will move in this test assignment in the described test assignment file, dividing the control center based on predetermined allocation strategy allocation for test use-case during to corresponding test terminal, is that the sign with test case to be moved is dispensed to corresponding test terminal.
Described branch control center 2 can comprise based on predetermined allocation strategy allocation for test use-case to corresponding test terminal: based on the extremely corresponding test terminal of the state information allocation for test use-case of described test terminal.Described branch control center 2 obtains the state information of described test terminal by the mode of poll, particularly, is exactly every the scheduled time, initiatively signals to each test terminal, and the feedback by described test terminal is to obtain the current state information in described test terminal.The described scheduled time can be 3 minutes, 5 minutes etc., what is specifically got decided by actual conditions.The state information of described test terminal comprises: test terminal free time, test terminal operation test case is overtime, the test terminal does not have response or the test terminal is connected disconnection etc. with dividing the control center.
In other embodiments, the state information of described test terminal also can spontaneously be reported to described branch control center 2 by the test terminal at regular intervals.
In the present embodiment, described branch control center 2 is its allocation for test use-case when learning that the test terminal is in idle condition.For instance, divide control center 2 to learn that test terminal 3 current states are that free time, test terminal 4 current states are the operation test case, then divide control center 2 to be test terminal 3 allocation for test use-cases.
In another embodiment, described branch control center can comprise based on predetermined allocation strategy allocation for test use-case to corresponding test terminal: based on the dependence allocation for test use-case of the test case in the described test assignment to corresponding test terminal.Particularly, the test case that described branch control center will have dependence is dispensed to same test terminal, the execution that described test case with dependence can be a back test case depends on one group of test case of the execution result of previous test case, also is that described branch control center will have successively that the test case of execution sequence is distributed in same test terminal.
In another execution mode, described branch control center can comprise based on predetermined allocation strategy allocation for test use-case to corresponding test terminal: the test case of coming to distribute for described test terminal predetermined quantity according to the performance of each test terminal, as: be some test cases of test terminal overabsorption of better performances, for distributing some test cases less in the test terminal that performance is general, and then can utilize the resource of described test terminal largely.
In an execution mode again, described branch control center can comprise based on predetermined allocation strategy allocation for test use-case to corresponding test terminal: based on the dependence allocation for test use-case of the state information of test terminal and test case to corresponding test terminal.For instance, when being idle, the state of described branch control center in a test terminal be its allocation for test use-case 001, and test case 001 has dependence with test case 002, at this moment, even other the test terminal that is in idle condition is arranged, divide the control center also test case 002 can be dispensed to other test terminals, but after test case 001 has been moved in the test terminal of operation test case 001, again test case 002 is dispensed to this test terminal.
Need to prove, above-mentioned branch control center is (just to refer to the test-types that the test terminal is supported at the test-types of test assignment and the test-types of test terminal based on the prerequisite of predetermined allocation strategy allocation for test use-case, as: support testing mobile terminal and/or mobile-terminal simulator) carry out under the prerequisite that is complementary, under some test environment, the test-types of test terminal is unique, as only supporting testing mobile terminal or mobile-terminal simulator, at this moment, described test assignment can not comprise test-types.And if the test-types that the test terminal is supported is not unique, then can comprise test-types in the described test assignment.
Further, described branch control center 2 also is used in the failure of described test terminal operation test case, and the test case of described operation being failed based on the state information of other test terminals is dispensed to other test terminals.For instance, divide control center 2 to learn test terminal 3 operation test cases, 001 failure, test terminal 4 is in idle condition, then test case 001 is dispensed to test terminal 4, reruns (heavily running) test case 001 by test terminal 4.In general, if do not consider that the reason of test terminal 3 operation test cases 001 failure may be owing to certain accidentalia in the test process causes in some cases, actually or can know that by on the test terminal 4 of free time, heavily running test case 001 test case 001 has problem test terminal 3 that problem is arranged so.If on test terminal 4, test case 001 can heavily be run success, and then test terminal 3 may have problems, otherwise then test case 001 has problems.By moving the test terminal that the test case of failing is dispensed to other free time, in the operation test case, also can test case or the test terminal that go wrong be positioned, help the raising of testing efficiency in the whole test process.
The test case that the operation of described test terminal distributes sends test command to portable terminal, by the execution of described portable terminal to test command, to finish the test to each functional module of portable terminal.In the present embodiment, described portable terminal can be real portable terminal, also can be that virtual portable terminal is mobile-terminal simulator.If the real portable terminal of described portable terminal then links to each other with described test terminal, if mobile-terminal simulator then can operate in same the calculating with described test terminal.On a computer, also can move a plurality of test terminals.Owing to divide the control center carrying out the branch timing of test case, be that the sign with test case is dispensed to corresponding test terminal, therefore, the test terminal also needed test case and affiliated version thereof are downloaded before the operation test case.
In the present embodiment, the test macro of described portable terminal also comprises at least one starter (not shown), and the download of beta version and test case is realized in the corresponding at least one test terminal of described starter by described starter.Described starter and described test terminal can be one to one, also can be that a starter is corresponding with a plurality of test terminals, and preferably, adopting starter and test terminal is the mode of one-to-many.
Described test assignment comprises: after the store path of test assignment file and beta version, described branch control center 2 receive and resolve described test assignment, also be used for the store path of described beta version is sent to the test terminal that is assigned test case.In general, the store path of the test case under the beta version is the subdirectory of the store path of described beta version, the old friend road store path of beta version then can know the store path of test case.Therefore, the store path of the beta version that described test terminal also sends described branch control center 2 is sent to described starter, described starter based on the store path of described beta version come to beta version and under test case download, and starter can be downloaded all test case relevant with this beta version.Therefore, in the present embodiment, preferably, described starter to beta version and under test case download before, can judge described beta version and under test case whether download, if downloaded, then no longer download.Described starter to beta version and under test case download finish after, portable terminal to be measured can be installed described beta version, and (different portable terminals mode that described beta version is installed is slightly different, referring to explanation accordingly in the subsequent embodiment), the sign of the test case that described test terminal is then distributed according to minute control center 2, in the test case that starter is downloaded, select accordingly and move, with and portable terminal to be measured between realize test to portable terminal to be measured alternately.By described starter download beta version and under test case can realize the centralized management of test case being conducive to the raising of testing efficiency.
In the present embodiment, described starter can operate on same the computer with described test terminal, and in actual test process, the performance of described computer and the performance of starter determine the number of operation test terminal on computers.
In other embodiments, also can download test case and beta version by test terminal self, particularly, the store path that has comprised the beta version that test case is affiliated in the described test assignment, therefore, described branch control center can be sent to the store path of beta version the test terminal that is assigned test case, and download described beta version and the test case that will move thereof based on the store path of described beta version described test terminal.Portable terminal to be measured is installed described beta version, and the test case of its download is moved in described test terminal, with and described portable terminal to be measured between carry out alternately, realize the test to portable terminal to be measured thus.
In the present embodiment, described branch control center 2 communicates by the socket interface with described test terminal, and employing XML-RPC realizes the information transmission between described branch control center 2 and the described test terminal.Described XML-RPC belongs to the lightweight messaging protocol, XML-RPC is for remote procedure call (RPC, remote procedure call) standard, this calling uses HTTP as host-host protocol, and XML (extensible markup language) vocabulary is as the message pay(useful) load.
For technical scheme of the present invention is described better, come technical scheme of the present invention is illustrated accordingly below in conjunction with the test macro of the portable terminal of the embodiment of the invention.
Fig. 2 is the structural representation of test macro of the portable terminal of the embodiment of the invention, as shown in Figure 2, the test macro of described portable terminal comprises: master control center 1, branch control center 2, at least one starter, and at least one test terminal corresponding with described starter.In the present embodiment, for convenience of explanation, comprise that with the test macro of portable terminal test terminal 301,302,401 and 402, starter 30 and 40 are that example illustrates accordingly.
In the present embodiment, described master control center 1 is used for issuing test assignment to described branch control center 2.
Particularly, described master control center 1 comprises server, and described master control center 1 provides corresponding test interface, for the user test assignment is set.The user can be on described test interface the input test version, the object that selection will be tested, as: the protocol stack of portable terminal, RLC module etc., for each functional module of portable terminal, the test case that all has this functional module of test, the user also is equivalent to select the test case corresponding with this functional module when selecting to need the functional module of test.The user also can be on described test interface the input test version, the title of the test case that selection will move.After the user arranged this test assignment by described test interface, master control center 1 generated test assignment, comprises at least one test case in the described test assignment.
Described master control center 1 also is used for sending the test beginning, suspend or stopping order to described branch control center 2.Test assignment is carried out behind the initiation command receiving test in described branch control center 2, receives after test suspends or stop order, suspends or stops execution to test assignment.
In addition, the test interface at described master control center 1 can adopt the mode at web interface, can also arrange to make things convenient for the user of different rights to login to test in various places accordingly to the web interface in actual applications.
After providing test interface that test assignment is set by master control center 1, described master control center 1 is issued to described branch control center 2 with the test assignment that sets.Described branch control center 2 receives and resolves described test assignment, carries out described test assignment after receiving the test initiation command, and the allocation for test use-case is to corresponding test terminal.
Described branch control center 2 comprises at least one computer.For master control center 1, it has configuration file, recorded IP address and the port numbers of the computer at described branch control center 2 in the described configuration file, the server in the master control center 1 is realized and the interconnection that divides the computer in the control center 2 by IP address and port numbers.In the present embodiment, described master control center 1 is realized the mutual of message with described branch control center 2 by socket (socket) interface.
Issue test assignment to described branch control center 2 by described master control center 1, realized the centralized management to test assignment.
In the present embodiment, described master control center 1 issues the store path of the beta version under test assignment file and the test case to described branch control center 2, described test assignment file recorded this test assignment correspondence test case sign (for example, the sign (for example, the version number of beta version) of the beta version the numbering of test case) and in this test assignment under the test case etc.For example: described test assignment file can also record the heavily race number of times of each test case, and the number of times that heavily runs of described test case refers to the total degree that reruns after the test case operation failure.If do not record the heavily race number of times of test case in the test assignment file, then the heavily race number of times of test case can be defaulted as preset times.
In other embodiments, described master control center issues test assignment and also can wait to realize by store path, test-types (test-types of test assignment), the test assignment priority that issues test assignment file, beta version.
In the present embodiment, described branch control center 2 comprises: communication module (not shown among Fig. 2), application module (not shown among Fig. 2) and test case management module (not shown among Fig. 2).Described test terminal comprises: test agent end, the test run device that links to each other with described test agent end, the testing tool that links to each other with described test run device.
Test terminal 301 shown in Figure 2 comprises: test agent end 301a, the test run device 301b that links to each other with described test agent end 301a, the testing tool 301c that links to each other with described test run device 301b; Test terminal 302 comprises: test agent end 302a, the test run device 302b that links to each other with described test agent end 302a, the testing tool 302c that links to each other with described test run device 302b.In the present embodiment, starter 30 and described test terminal 301,302 corresponding.Described starter 30, test terminal 301, test terminal 302 may operate on the computer.
Test terminal 401 comprises: test agent end 401a, the test run device 401b that links to each other with described test agent end 401a, the testing tool 401c that links to each other with described test run device 401b; Test terminal 402 comprises: test agent end 402a, the test run device 402b that links to each other with described test agent end 402a, the testing tool 402c that links to each other with described test run device 402b.Starter 40 and described test terminal 401,402 corresponding.Described starter 40, test terminal 401, test terminal 402 may operate on the computer.
In the present embodiment, described test terminal, starter can be application program, operation on computers, in the test process, many computers can be arranged, and every computer all moves test terminal and a starter of some, for each computer, the number of described test terminal is decided by the starter corresponding with described test terminal and the performance of moving its computer.For instance, starter 30 operates on the computer with test terminal 301,302, and the number of the test terminal that can move on this computer, depends on the performance of starter 30 and this computer.
Below described branch control center and test terminal are illustrated one by one.
Fig. 3 is the structural representation at the branch control center of the embodiment of the invention, and as shown in Figure 3, described branch control center 2 comprises: communication module 201, application module 202 and test case management module 203.
In conjunction with Fig. 2 and Fig. 3, described communication module 201 is used for the store path of acceptance test assignment file and beta version and is forwarded to described application module 202, receives the test result of described test terminal feedback and is forwarded to described application module 202.
Described application module 202, link to each other with described communication module 201, be used for described test assignment file is forwarded to described test case management module 203, record the state information of described test terminal, and call described test case management module 203 based on the state information of described test terminal, generate test report based on described test result.
Described test case management module 203, link to each other with described application module 202, be used for resolving described test assignment file, call the allocation for test use-case based on described application module 202, and by described communication module 201 information of the test case of distributing being sent to corresponding test terminal, the information of described test case comprises: the sign of test case.
Particularly, in the present embodiment, described communication module 201 receives from the test assignment file at master control center 1 and the store path of beta version, and the store path of described test assignment file, beta version is forwarded to described application module 202.Reception is from the test result of described test terminal feedback, and described test result is forwarded to described application module 202.Described communication module 201 adopts the information transmission between XML-RPC realization and described master control center 1 and the test terminal.
Fig. 4 is the schematic flow sheet that the application module of the embodiment of the invention calls the test case management module, below in conjunction with Fig. 2, Fig. 3 and Fig. 4 described application module and test case management module is illustrated accordingly.
The user is 1 submission test assignment at the master control center, divides the communication module 201 at control center 2 to receive described test assignment, and the store path of the test assignment file in the described test assignment and the beta version under the test case is forwarded to described application module 202.Described application module 202 is forwarded to described test case management module 203 with described test assignment file, and the state information of the test terminal that described communication module 201 is sent is carried out record, call test case management module 203 based on the state information of described test terminal, particularly, described exactly application module 202 calls test case management module 203 and loads and the allocation for test use-case when learning that described test terminal is in idle condition.
The state information of described test terminal can comprise: test terminal free time, test terminal operation test case is overtime, the test terminal does not have response, test terminal and is connected test case failed download under disconnection, beta version failed download or the described beta version with branch control center.
Described test case management module 203, receive the test assignment file that described application module 202 transmits and resolve, call the allocation for test use-case based on described application module 202, and the information of the test case of distributing is sent to described application module 202, namely described application module 202 obtains the information of the test case of distribution from described test case management module 203.The information of described test case can be the sign of test case.
Described application module 202 calls described communication module 201, the information of the store path of the beta version under the test case and the test case received is sent to corresponding test terminal by described communication module 201, because when application module 202 calls test case management module 203, know idle test terminal ID number, therefore when described application module 202 calls the information of described communication module 201 transmission test cases, ID number of the test terminal of idle condition also can be informed communication module 201, so that described communication module 201 can be sent to corresponding test terminal with the information of test case and the store path of the beta version under the test case.
The test result of the described test terminal feedback that described communication module 201 will receive is forwarded to described application module 202, and the test result that described application module 202 feeds back based on all test terminals of carrying out in this test assignment generates the test report of this test assignment.Comprise in the described test report: move the title, percent of pass (described percent of pass refers to move the ratio of the test case number of the number of successful test case and operation) etc. of test case of running time, operation failure of number, test case of test case of number, the operation failure of successful test case, obtain the test result to the portable terminal version.
In the present embodiment, the test assignment file that described test case management module 203 is resolved is the extend markup language (XML of set form, Extensible Markup Language) file, Fig. 5 is the schematic diagram of the test assignment file of the embodiment of the invention, as shown in Figure 5, " W10.23 " is the beta version sign (beta version this shop) of this test assignment in the test assignment file.Tc_001_001_001 then is test case sign (numbering of test case).Shown in Fig. 5<CaseGroup and</CaseGroup between be used for storing the test case sign of context dependency, this mainly be because, in the test process of reality, the operation of some test case must depend on the operation result of other test cases, is stored in the identical group so will have the test case of dependence usually.The test case tc_001_001_001 that shows among Fig. 5, tc_001_001_002 ..., tc_001_001_009 operation just have dependence.Shown in Fig. 5<Cases and</Cases between then be used for storing independently test case, do not have mutual dependence between the test case of this part.
Described test case management module 203 is based on the parsing to described test assignment file, described test case is distributed accordingly, in the present embodiment, preferentially, described test case management module is distributed test case accordingly based on the state information of the dependence between the test case and test terminal.When having dependence between test case, the test case that will have dependence is distributed in same test terminal.Below carry out briefly bright.
In conjunction with Fig. 2, Fig. 3 and Fig. 5, for being positioned among Fig. 5<CaseGroup〉and</CaseGroup between test case for, when application module 202 learns that the test terminal is during 301 free time, call test case management module 203 tc_001_001_001 is distributed to test terminal 301, even have other test terminals to be in idle condition this moment, test case management module 203 can be with<CaseGroup yet〉and</CaseGroup between remaining test case be dispensed to other test terminals, but receive the operation test case tc_001_001_001 success of test terminal 301 feedbacks at application module 202 after, more remaining test case is dispensed to test terminal 301.
And for being positioned among Fig. 5<Cases〉and</Cases between test case, when application module 202 is learned test terminal 401,402 free time, call test case management module 203 tc_100_001_001 is dispensed to test terminal 401, tc_100_001_002 is dispensed to test terminal 402.Also even have dependence between the test case, then test case is distributed in same test terminal; If do not have dependence between the test case, then test case can be distributed in different test terminals.
In the present embodiment, described test case management module 203 also is used for creating the test case table, for each test assignment, all has corresponding with it test case table.Described test case table comprises: the sign of test case, the operation result of test case, test case heavily run beta version sign under number of times and the test case.
Described application module 202 also is used for upgrading described test case table based on the result of described test terminal operation test case.Namely when described application module 202 is learned the operation result of the test case that the test terminal is moved by described communication module 201 after, understand the operation result of test case in the refresh test use-case table, the heavily race number of times of test case.As: the operation result of test case is updated to " success " or " failure ", and for the test case of operation failure, can upgrades its heavy race number of times after whenever once heavily running, subtract 1 as will heavily running number of times.
Fig. 6 is the schematic flow sheet of the branch control center loaded test assignment of the embodiment of the invention, illustrates accordingly below in conjunction with the loading of the test assignment of Fig. 6.
In the actual test process, test assignment is not unique, when the master control center issues a plurality of test assignments to described branch control center, divide the control center can all test assignments be circulated, select the test-types and the highest test assignment of priority that meet the test terminal.The test-types of test terminal comprises: portable terminal and mobile-terminal simulator, further segmentation for mobile-terminal simulator, as: mobile-terminal simulator is corresponding with beta version, particularly, this mobile-terminal simulator can only move corresponding with it beta version in other words.Below not unique with the test-types of test terminal, that is to say that the test terminal both can testing mobile terminal also can the testing mobile terminal simulator be example the loading of test assignment is described.
As shown in Figure 6, described branch control center selection test assignment medium priority not the highest test assignment is current test assignment, if the priority of test assignment is identical, described branch control center as current test assignment, judges whether the test-types of current test assignment and the test-types of test terminal mate with the first test assignment that sends the test initiation command in master control center.
If the test-types of current test assignment and the test-types of described test terminal are complementary, then divide the control center to current test assignment, namely the test assignment that priority is the highest loads, and the test case in this test assignment is distributed.
If the test-types of current test assignment and the test-types of described test terminal do not match, the test assignment of then selecting the test assignment medium priority to take second place is current test assignment, judge whether the test-types of described current test assignment (test assignment that priority is taken second place) and the test-types of test terminal mate, under the prerequisite of the two coupling, current test assignment (test assignment that priority is taken second place) is loaded, and the test case in the current test assignment (test assignment that priority is taken second place) is distributed.That is to say, if the test-types of the test assignment that priority is the highest and the test-types of test terminal do not match, so just look for the high test assignment of priority second, judge whether the test-types of the test assignment that priority second is high and the test-types of test terminal mate, if coupling then loads the priority second high test assignment, and the test case in the high test assignment of priority second distributed, if do not match, then look for the high test assignment of priority the 3rd, the rest may be inferred.
Described branch control center is specially the loading of current test assignment: the test case management module at described branch control center is based on the test assignment file from the application module forwarding that receives, described test assignment file is resolved, read content in the described test assignment file to the test case table, exactly the numbering of the test case that this test assignment need be moved, heavily run load content such as number of times to described test case table, to realize the loading to this test assignment.
Need to prove, above-mentioned when being not unique with the test-types of test terminal, divide the control center that the loading of described test assignment is illustrated.And for the test-types of all test terminals is unique, divide the control center only need the highest test assignment of test assignment medium priority to be loaded, and the test case that it relates to is distributed, to realize the loading to this test assignment.If the test-types of test assignment does not all match with the test-types of all test terminal, then this test assignment loads and fails.
Below in conjunction with Fig. 3 and Fig. 7 minute process of the test case management module assignment test case at control center is illustrated accordingly.
Fig. 7 is the schematic flow sheet of the test case management module assignment test case of the embodiment of the invention; Before Fig. 7 is described, earlier the test assignment table is carried out simple explanation, divide the control center after receiving test assignment, its application module 202 can be created the test assignment table according to the content of test assignment file in the test assignment, for each test assignment, all has with it corresponding test assignment table, the title that comprises test assignment in the described test assignment table has comprised all the elements in the above-mentioned test case table in the state of test assignment (test assignment is finished, test assignment in service) and the described test assignment table.
Divide the control center after the order that receives the test beginning, test assignment file in 203 pairs of current test assignments of its test case management module is resolved, create the test case table, application module 202 is created the test assignment table, has comprised all the elements in the test case table in the test assignment table.When application module 202 learns that the test-types coupling of the test-types of test terminal and test assignment and test terminal are idle, can call described test case management module 203, as shown in Figure 7, test case management module 203 is based on the information in the test case table of its establishment, judge and whether also have the test case that needs operation in the current test assignment, particularly, according to the operation result of each test case in the test case table, as: successfully still failure, the heavily race number of times of the test case of failure is judged.If test cases all in the test case table were all moved, and the heavily race number of times of the test case of operation failure is 0 (in general, it all heavily runs number of times to having for each test case, after test case operation failure, can heavily run accordingly, the every heavy race of test case of operation failure once, heavily race number of times in the test case table can subtract 1) then think the test case that need not move in the current test assignment, (per minute is joined once otherwise continuation distributes the test case in the current test assignment, application module correspondingly upgrades the test case table) all test cases of demonstration were all moved in the test case table, and the heavily race number of times of the test case of operation failure is 0.
If all test cases of current test assignment were all moved, and the heavily race number of times of the test case of operation failure is 0, then judge whether to also have in the test case of operation in the current test assignment and (still judge according to the operation result of each test case, if test case does not have corresponding with it operation result, think that then this test case is in service), if have, then in the test assignment table, identify this test assignment test case of need not reallocating by application module 202, next test assignment is set to current test assignment then, resolve current test assignment file, create the test case table, and based on described test case table the test case in the next test assignment is distributed.If do not have, then the state by test assignment in the application module test assignment table is set to completion status, be that this test assignment is finished, next will next test assignment be set to current test assignment, resolve current test assignment file, create the test case table, and based on described test case table the test case in the next test assignment is distributed.
In test process; usually can run into the situation of test case operation failure; so; described application module 202 also is used for calling the test case of 203 pairs of operation failures of test case management module based on the state information of other test terminals and distributing in the failure of described test terminal operation test case.Particularly, the test terminal is sent to application module 202 with the result of test case operation failure via described communication module 201, described application module 202 refresh test use-case tables, when described application module 202 learns that the test terminal is idle, call the test case of the operation failure that identifies in 203 pairs of test case tables of described test case management module and distribute.
Below in conjunction with Fig. 2 and Fig. 3, with a concrete example process of the test case of test case management module assignment operation failure is carried out simple explanation.
To comprise in the test case table: it is example that test case is designated 001~009.Test terminal 301 operation test cases, 006 failure, and the result that test case 006 operation is failed is sent to communication module 201, communication module 201 is sent to application module 202 with the result of test case 006 operation failure, and application module 202 is updated to " failure " with the operation result of test case 006 in the test case table.When application module 202 learns that the test terminal is during 302 free time, calling 203 pairs of test cases of test case management module distributes, if this moment, test case management module 203 was just at allocation for test use-case 008, then after the distribution of finishing test case 008, continue to distribute test case 009 (the test case management module is distributed test case according to the order that is stored in the test case sign in the test case table usually) thereafter, after test case 009 is distributed, test case management module 203 can judge whether test case 006 test case before has been in service or has moved success, if success is being moved or moved to the test case before the test case 006, then test assignment administration module 203 calls at that time at application module 202, the test case 006 of operation failure is dispensed to idle test terminal, simultaneously, the heavily race number of times of test case 006 in the application module 202 refresh test use-case tables, the 006 current heavily race number of times of test case in the test case table is subtracted 1, when the heavily race number of times of the test case of all operation failures in the test case table all is set to 0, mean that then this test assignment finishes.
In the present embodiment, described application module 202 also is used for the abnormality of described test terminal is handled.The abnormality of described test terminal comprises: operation test case in test terminal is overtime, the test terminal does not have response, test terminal and is connected test case failed download under disconnection, beta version failed download or the described beta version with branch control center.
In the present embodiment, divide the application module at control center can set up the test terminal table, and obtain the abnormality of described test terminal by the mode of poll, particularly, be exactly every the regular hour, the calling communication module is signaled to described test terminal, and the feedback by described test terminal is to obtain the state of described test terminal.Described test terminal table comprises: the sign of the test-types of the port numbers of test terminal, IP address, test terminal, operation test case.When the test terminal did not have response, it was invalid test terminal that described application module is looked this test terminal; When test terminal operation test case is overtime, described application module calling communication module transmits control signal to stop the operation of this test terminal, and when learning idle test terminal, call the test case management module and will move the test terminal that overtime test case is dispensed to the described free time, to rerun this test case; After application module knew that the test terminal is connected disconnection with it, described application module can the calling communication module be attempted being connected with the test terminal again; When the failure result of starter being downloaded the beta version of test assignment or the test case under the described beta version when the test terminal feeds back to application module, described application module calling communication module sends signal, and being set to this test assignment with this test terminal is invalid state.
In addition, in the present embodiment, described branch control center 2 can also comprise the subscriber interface module (not shown), be used for the generating run interface, so that the user can come a minute control center is operated by operation interface, as: by to as described in operation interface operate to come and the master control center is set up or disconnection is connected, the attribute at described branch control center etc. is set.
In the present embodiment, described test terminal comprises: test agent end, test run device and testing tool.Described test agent end, be used for receiving the information of described test case and the store path of beta version, and the store path of described beta version is sent to corresponding starter, based on the download call by result test run device of described starter, the connection status at detection and described branch control center also feeds back to described branch control center.
Described test run device is used for controlling described testing tool based on calling of described test agent end.
Described testing tool is used for the test case that operation distributes, and the feedback test result is to described test run device;
Described test run device also is used for by described test agent end described test result being fed back to described branch control center.
In the present embodiment, after the operation of test agent end, IP address and port numbers according to the branch control center that disposes in its configuration file, can constantly attempt being connected with dividing the control center, particularly, the test agent end detects IP address and the port numbers of dividing the control center, after detecting, itself and the link information of dividing the control center can be sent to branch control center, divide the control center to connect based on link information and test agent end.The test agent end with divide the control center successfully to be connected after, the test agent termination is received from minute information of the test case that the communication module at control center sends and the store path of beta version, and the store path of described beta version is forwarded to starter.
Described starter is behind the store path of the beta version that receives the transmission of test agent end, store path according to beta version, can download the needed beta version of this test assignment and test case, in general, described beta version and test case are stored in the version server at master control center, starter according to the store path of beta version from version server, download beta version and under test case.And in actual test process, starter can all be downloaded all test case relevant with this beta version when downloading test case.Therefore, described starter to beta version and under test case download before, can judge described beta version and under test case whether download.In general, starter to beta version and under test case download finish after, can set up the logo file corresponding with this beta version, with show this beta version and under test case downloaded and finished, so starter can by logo file judge beta version and under test case whether download, if downloaded, then no longer download.
In other embodiments, also whether the beta version that can bring in the beta version of judging the current test assignment that receives and the test assignment that receives before by test agent is same beta version, if same beta version then no longer is sent to described starter with the store path of beta version.At this moment, the test agent end need not call the test run device based on the download result of starter yet, but directly calls the test run device by the test agent end.If not same beta version then still needs the store path of beta version is sent to starter, by starter finish to beta version and under the download of test case.
The end of test agent described in the present embodiment and described test run device, described starter communicate by the mode of shared drive.So-called shared drive refers to that two or more processes share a given storage area.Same physical memory is mapped to the different processes process address space separately.Can see other processes between the different processes in real time to the renewal of data in the shared drive, because data need not copy between each process, the communication between can the quickening process.In the present embodiment, starter, each test agent end, test run device have corresponding with it shared drive.Described shared drive marks off corresponding interval with the data in storage starter, test agent end, the test run device according to different contents.Adopt the mode of shared drive to communicate, can accelerate communicating by letter between test agent end and described starter, the test run device.
In the present embodiment, described test agent end also is used for the abnormality of described test run device is handled accordingly, and particularly, described test agent end judges by the mode of poll whether the test run device occurs unusually.When the human window of described test run device does not exist, can open new test run device.Described test agent end can comprise: communicator module and test run management module, described communicator module is used for carrying out the mutual of information with minute communication module at control center, reception is from the test assignment in minute control, as: the store path of test assignment file and beta version feeds back to branch control center etc. with test result.Information transmission between the communicator module employing XML-RPC realization of test agent end and the communication module at described branch control center.Test run management module then be used for to start and the management testing performer, communicates between the mode that test run management module also can be by shared drive and the test run device.
Testing tool comprises described in the present embodiment: base station simulator.If will test real portable terminal, then the test macro of described portable terminal also comprises: download tool is used for the beta version that described starter is downloaded is downloaded to described portable terminal.If want the testing mobile terminal simulator, then the beta version of directly described starter being downloaded copies in the mobile-terminal simulator.In addition, if provide mobile-terminal simulator in the beta version, then starter is when downloading beta version, also mobile-terminal simulator can be downloaded to the test terminal, similarly, described mobile-terminal simulator also will copy beta version (coming the read test version file by the operation mobile-terminal simulator usually), by testing tool mobile-terminal simulator is tested then.
In the present embodiment, described test run device can judge whether testing tool occurs unusually by the mode of poll, occurs under the unusual situation to open new testing tool, to guarantee the reliability in the test process at testing tool.
In sum, the technical scheme of the embodiment of the invention has following beneficial effect at least:
Branch control center receives described test assignment and based on the extremely corresponding test terminal of predetermined allocation strategy allocation for test use-case, has very big flexibility, can take full advantage of the resource of test terminal, helps to improve testing efficiency.
Divide the control center based on the extremely corresponding test terminal of the state information allocation for test use-case of described test terminal, because it has taken into account the state of test terminal in the allocation for test use-case, therefore it is too much to avoid appearing at the test case of moving on the test terminal, but balancedly be assigned test case in each test terminal, because by a plurality of test terminal operation test cases, therefore, for test assignment, can reduce its running time, also namely improve testing efficiency.
Divide the control center to redistribute the test case of operation failure, namely in the failure of test terminal operation test case, the test case of described operation being failed based on the state information of other test terminals is dispensed to other test terminals, finishing of test assignment be can guarantee like this, thereby testing efficiency and reliability improved.And, the test case of operation failure is redistributed, or actually can move the problem that described test case is judged the problem test terminal of test case by other test terminals, also need not to copy the test case of failure to other test terminals by manual mode, so reduced the fussy degree in the test process, correspondingly also reduced testing cost.
The test macro of described portable terminal comprises at least one starter, corresponding at least one test terminal of described starter, by described starter download beta version and under test case, and when different test terminals is tested identical beta version, described starter only carry out once this beta version and under the download of test case, reduced to beta version and under the download time of test case, improved testing efficiency, and adopt described starter download beta version and under test case also realized to beta version and under the centralized management of test case.
Described test terminal comprises test agent end, test run device and testing tool, and then when by described test terminal portable terminal/mobile-terminal simulator being tested, in case abnormal conditions appear in any one in described test agent end, test run device and the testing tool, then can move test case by opening new test agent end or test run device or testing tool, therefore, improved the reliability of test macro.
Though the present invention with preferred embodiment openly as above; but it is not to limit the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; can utilize method and the technology contents of above-mentioned announcement that technical solution of the present invention is made possible change and modification; therefore; every content that does not break away from technical solution of the present invention; to any simple modification, equivalent variations and modification that above embodiment does, all belong to the protection range of technical solution of the present invention according to technical spirit of the present invention.

Claims (23)

1. the test macro of a portable terminal is characterized in that, comprising: divide control center and at least one test terminal that links to each other with described branch control center;
Described branch control center is used for the acceptance test task, resolves described test assignment, and to corresponding test terminal, described test assignment comprises at least one test case based on predetermined allocation strategy allocation for test use-case;
Described test terminal is used for the test case that operation distributes, to realize the test to described portable terminal.
2. the test macro of portable terminal as claimed in claim 1, it is characterized in that, describedly comprise based on predetermined allocation strategy allocation for test use-case to corresponding test terminal: based on the state information allocation for test use-case of described test terminal to corresponding test terminal.
3. the test macro of portable terminal as claimed in claim 1, it is characterized in that, describedly comprise based on predetermined allocation strategy allocation for test use-case to corresponding test terminal: based on the dependence allocation for test use-case of the test case in the described test assignment to corresponding test terminal.
4. the test macro of portable terminal as claimed in claim 1, it is characterized in that, described branch control center also is used in the failure of described test terminal operation test case, and the test case of described operation being failed based on the state information of other test terminals is dispensed to other test terminals.
5. as the test macro of claim 2 or 4 described portable terminals, it is characterized in that described branch control center obtains the state information of described test terminal by the mode of poll.
6. as the test macro of claim 2 or 4 described portable terminals, it is characterized in that the state information of described test terminal comprises: test terminal free time, test terminal operation test case is overtime, the test terminal does not have response or the test terminal is connected disconnection with branch control center.
7. the test macro of portable terminal as claimed in claim 1 is characterized in that, described test assignment comprises: the store path of the beta version under test assignment file and the test case, the sign of described test assignment file record test case.
8. the test macro of portable terminal as claimed in claim 7 is characterized in that, also comprises at least one starter, the corresponding at least one test terminal of described starter;
Described branch control center also is used for the store path of described beta version is sent to the test terminal that is assigned test case;
Described test terminal, also the store path for the beta version that described branch control center is sent is sent to corresponding starter;
Described starter, be used for based on the store path of described beta version download described beta version and under test case.
9. the test macro of portable terminal as claimed in claim 8 is characterized in that, described starter also be used for before download, judging described beta version and under test case whether download.
10. the test macro of portable terminal as claimed in claim 8 or 9 is characterized in that described branch control center comprises communication module, application module and test case management module;
Described communication module is used for receiving the store path of described test assignment file and beta version and being forwarded to described application module, receives the test result of described test terminal feedback and is forwarded to described application module;
Described application module, be used for described test assignment file is forwarded to described test case management module, record the state information of described test terminal, and call described test case management module based on the state information of described test terminal, generate test report based on described test result;
Described test case management module, be used for resolving described test assignment file, call the allocation for test use-case based on described application module, and by described communication module the information of the test case of distributing being sent to corresponding test terminal, the information of described test case comprises: the sign of test case.
11. the test macro of portable terminal as claimed in claim 10 is characterized in that, described test case management module also is used for creating the test case table;
Described application module also is used for upgrading described test case table based on the result of described test terminal operation test case; Described test case table comprises: the sign of test case and operation result thereof.
12. the test macro of portable terminal as claimed in claim 10, it is characterized in that, described application module, also be used in the failure of described test terminal operation test case, call the test case management module based on the state information of other test terminals, described test case management module also is used for being dispensed to other test terminals by the test case that described communication module is failed described operation.
13. the test macro of portable terminal as claimed in claim 10 is characterized in that, described application module also is used for the abnormality of described test terminal is handled.
14. the test macro of portable terminal as claimed in claim 10, it is characterized in that the state information of described test terminal comprises: test terminal free time, test terminal operation test case is overtime, the test terminal does not have response, test terminal and is connected test case failed download under disconnection, beta version failed download or the described beta version with branch control center.
15. the test macro of portable terminal as claimed in claim 10 is characterized in that, described test terminal comprises test agent end, test run device and testing tool;
Described test agent end, be used for receiving the information of described test case and the store path of beta version, and the store path of described beta version is sent to corresponding starter, based on the described test run device of the download call by result of described starter, the connection status at detection and described branch control center also feeds back to described branch control center;
Described test run device is used for controlling described testing tool based on calling of described test agent end;
Described testing tool is used for the test case that operation distributes, and the feedback test result is to described test run device;
Described test run device also is used for by described test agent end described test result being fed back to described branch control center.
16. the test macro of portable terminal as claimed in claim 15 is characterized in that, described test agent end and described test run device, described starter communicate by the mode of shared drive.
17. the test macro of portable terminal as claimed in claim 15 is characterized in that, described test agent end also is used for the abnormality of described test run device is handled accordingly.
18. the test macro of portable terminal as claimed in claim 15 is characterized in that, the test macro of described portable terminal also comprises: download tool is used for described beta version is write described portable terminal.
19. the test macro of portable terminal as claimed in claim 15 is characterized in that, described testing tool comprises: base station simulator.
20. the test macro of portable terminal as claimed in claim 1 is characterized in that, also comprises: master control center, described master control center are used for issuing test assignment to described branch control center.
21. the test macro of portable terminal as claimed in claim 20; it is characterized in that; described master control center also is used for sending the test beginning, suspend or stopping order to described branch control center, to control the execution that described branch control center starts, suspends or stop described test assignment.
22. the test macro of portable terminal as claimed in claim 1 is characterized in that, described branch control center and described test terminal communicate by the socket interface.
23. the test macro of portable terminal as claimed in claim 22 is characterized in that, employing XML-RPC realizes the information transmission between described branch control center and the described test terminal.
CN201210046444.XA 2012-02-27 2012-02-27 the test system of mobile terminal Active CN103298016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210046444.XA CN103298016B (en) 2012-02-27 2012-02-27 the test system of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210046444.XA CN103298016B (en) 2012-02-27 2012-02-27 the test system of mobile terminal

Publications (2)

Publication Number Publication Date
CN103298016A true CN103298016A (en) 2013-09-11
CN103298016B CN103298016B (en) 2016-12-14

Family

ID=49098188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210046444.XA Active CN103298016B (en) 2012-02-27 2012-02-27 the test system of mobile terminal

Country Status (1)

Country Link
CN (1) CN103298016B (en)

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455425A (en) * 2013-09-25 2013-12-18 中国银行股份有限公司 System and method for distributed type tests
CN103955793A (en) * 2014-04-25 2014-07-30 国家电网公司 System and method for station level test task management based on Dijkstra algorithm
CN104008055A (en) * 2014-05-30 2014-08-27 广州华多网络科技有限公司 Software testing method, device and system
CN104639379A (en) * 2013-11-06 2015-05-20 中兴通讯股份有限公司 Proxy testing method and device
CN104734902A (en) * 2013-12-23 2015-06-24 展讯通信(上海)有限公司 Testing system and server end thereof
CN104750585A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Terminal detecting method and terminal detecting device
CN104850491A (en) * 2014-02-19 2015-08-19 深圳中兴网信科技有限公司 Software test method, equipment and system
CN104978263A (en) * 2014-04-09 2015-10-14 腾讯科技(深圳)有限公司 Mobile terminal application program test method and mobile terminal application program test system
CN105207854A (en) * 2015-10-13 2015-12-30 上海斐讯数据通信技术有限公司 Multi-terminal concurrent testing system and method
CN105320598A (en) * 2015-11-24 2016-02-10 广州华多网络科技有限公司 Software testing method and device
CN105591782A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Management method and apparatus for testing device
CN105786667A (en) * 2016-02-29 2016-07-20 惠州Tcl移动通信有限公司 Distributed automated testing method and system
CN105912457A (en) * 2015-12-08 2016-08-31 乐视网信息技术(北京)股份有限公司 Test server, test client, test system, and test method
CN105988904A (en) * 2015-02-06 2016-10-05 展讯通信(天津)有限公司 Self-adaptive testing method and system
CN106201852A (en) * 2015-04-29 2016-12-07 展讯通信(上海)有限公司 A kind of distributed test method and test system
CN106502235A (en) * 2016-10-31 2017-03-15 北京新能源汽车股份有限公司 Test method and system of automobile controller
CN106559244A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of session service test and management method and system and management end, test lead
CN107015906A (en) * 2016-06-23 2017-08-04 阿里巴巴集团控股有限公司 Method of testing and device, port generation method and port maker and test system
CN107018045A (en) * 2017-06-02 2017-08-04 郑州云海信息技术有限公司 Distributed memory system method of testing and system based on RPC
CN107124210A (en) * 2016-02-25 2017-09-01 北京博酷科技有限公司 By matching the method that machine cloud provides pairing machine
CN107222878A (en) * 2016-03-22 2017-09-29 中国移动通信集团终端有限公司 The method of testing and device of a kind of terminal
CN107291621A (en) * 2017-07-07 2017-10-24 恒生电子股份有限公司 Processing method, processing unit, medium and the electronic equipment of test case
CN107305511A (en) * 2016-04-18 2017-10-31 展讯通信(上海)有限公司 The mobile terminal test method and system of shared terminal test instrumentation
CN107622006A (en) * 2016-07-14 2018-01-23 上海思立微电子科技有限公司 System and method for testing mobile device
CN108052444A (en) * 2017-11-13 2018-05-18 北京百度网讯科技有限公司 A kind of method and apparatus of performance test for mobile application
CN109062786A (en) * 2018-07-16 2018-12-21 北京百度网讯科技有限公司 Operation method, device and the terminal of test case
CN109800087A (en) * 2019-01-02 2019-05-24 郑州云海信息技术有限公司 A method of for automatic test
CN110825620A (en) * 2019-10-16 2020-02-21 四川大学 Test case priority calculation method in regression test
CN112181819A (en) * 2020-09-23 2021-01-05 建信金融科技有限责任公司 Test case distribution method and device, electronic equipment and medium
CN112202952A (en) * 2020-10-22 2021-01-08 Tcl通讯(宁波)有限公司 Mobile terminal testing method and device, storage medium and mobile terminal
CN112231223A (en) * 2020-10-27 2021-01-15 南京林洋电力科技有限公司 Distributed automatic software testing method and system based on MQTT
CN112468564A (en) * 2020-11-20 2021-03-09 浙江百应科技有限公司 Method for realizing automatic multi-machine parallel of terminal APP UI based on Apdium
CN112559347A (en) * 2020-12-15 2021-03-26 北京百度网讯科技有限公司 Test distribution method and device, equipment, readable medium and computer program product
CN112783757A (en) * 2019-11-11 2021-05-11 北京沃东天骏信息技术有限公司 Test system, test method, computer system, and computer-readable storage medium
CN112910572A (en) * 2019-11-15 2021-06-04 大唐移动通信设备有限公司 Base station test method, device and readable storage medium
CN113722237A (en) * 2021-11-01 2021-11-30 荣耀终端有限公司 Device testing method and electronic device
CN114630343A (en) * 2020-12-10 2022-06-14 大唐移动通信设备有限公司 Multi-type terminal-oriented 5G access network testing system and testing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731748A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Testing system and method
CN101140541A (en) * 2007-09-29 2008-03-12 中兴通讯股份有限公司 Integration test system of distributed software system and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731748A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Testing system and method
CN101140541A (en) * 2007-09-29 2008-03-12 中兴通讯股份有限公司 Integration test system of distributed software system and method thereof

Cited By (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455425A (en) * 2013-09-25 2013-12-18 中国银行股份有限公司 System and method for distributed type tests
CN103455425B (en) * 2013-09-25 2016-08-17 中国银行股份有限公司 A kind of distributed test system and method
CN104639379A (en) * 2013-11-06 2015-05-20 中兴通讯股份有限公司 Proxy testing method and device
CN104734902A (en) * 2013-12-23 2015-06-24 展讯通信(上海)有限公司 Testing system and server end thereof
CN104734902B (en) * 2013-12-23 2018-03-23 展讯通信(上海)有限公司 Test system and its service end
CN104750585A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Terminal detecting method and terminal detecting device
CN104850491A (en) * 2014-02-19 2015-08-19 深圳中兴网信科技有限公司 Software test method, equipment and system
CN104978263A (en) * 2014-04-09 2015-10-14 腾讯科技(深圳)有限公司 Mobile terminal application program test method and mobile terminal application program test system
CN104978263B (en) * 2014-04-09 2019-01-29 腾讯科技(深圳)有限公司 A kind of mobile terminal applied program testing method and system
CN103955793B (en) * 2014-04-25 2017-04-26 国家电网公司 System and method for station level test task management based on Dijkstra algorithm
CN103955793A (en) * 2014-04-25 2014-07-30 国家电网公司 System and method for station level test task management based on Dijkstra algorithm
CN104008055A (en) * 2014-05-30 2014-08-27 广州华多网络科技有限公司 Software testing method, device and system
CN104008055B (en) * 2014-05-30 2017-06-06 广州华多网络科技有限公司 The method of software test, equipment and system
CN105591782A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Management method and apparatus for testing device
CN105591782B (en) * 2014-10-24 2019-07-09 中兴通讯股份有限公司 The management method and device of test equipment
CN105988904A (en) * 2015-02-06 2016-10-05 展讯通信(天津)有限公司 Self-adaptive testing method and system
CN106201852A (en) * 2015-04-29 2016-12-07 展讯通信(上海)有限公司 A kind of distributed test method and test system
CN106559244A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of session service test and management method and system and management end, test lead
WO2017054490A1 (en) * 2015-09-30 2017-04-06 中兴通讯股份有限公司 Session service test management method and system, and management end and test end
CN105207854A (en) * 2015-10-13 2015-12-30 上海斐讯数据通信技术有限公司 Multi-terminal concurrent testing system and method
CN105320598A (en) * 2015-11-24 2016-02-10 广州华多网络科技有限公司 Software testing method and device
CN105320598B (en) * 2015-11-24 2018-06-15 广州华多网络科技有限公司 Method for testing software and device
CN105912457A (en) * 2015-12-08 2016-08-31 乐视网信息技术(北京)股份有限公司 Test server, test client, test system, and test method
CN107124210A (en) * 2016-02-25 2017-09-01 北京博酷科技有限公司 By matching the method that machine cloud provides pairing machine
CN105786667A (en) * 2016-02-29 2016-07-20 惠州Tcl移动通信有限公司 Distributed automated testing method and system
CN107222878A (en) * 2016-03-22 2017-09-29 中国移动通信集团终端有限公司 The method of testing and device of a kind of terminal
CN107305511A (en) * 2016-04-18 2017-10-31 展讯通信(上海)有限公司 The mobile terminal test method and system of shared terminal test instrumentation
CN107015906B (en) * 2016-06-23 2020-12-04 创新先进技术有限公司 Test method and device, port generation method, port generator and test system
CN107015906A (en) * 2016-06-23 2017-08-04 阿里巴巴集团控股有限公司 Method of testing and device, port generation method and port maker and test system
CN107622006A (en) * 2016-07-14 2018-01-23 上海思立微电子科技有限公司 System and method for testing mobile device
CN106502235B (en) * 2016-10-31 2020-08-28 北京新能源汽车股份有限公司 Test method and system of automobile controller
CN106502235A (en) * 2016-10-31 2017-03-15 北京新能源汽车股份有限公司 Test method and system of automobile controller
CN107018045A (en) * 2017-06-02 2017-08-04 郑州云海信息技术有限公司 Distributed memory system method of testing and system based on RPC
CN107291621A (en) * 2017-07-07 2017-10-24 恒生电子股份有限公司 Processing method, processing unit, medium and the electronic equipment of test case
CN108052444A (en) * 2017-11-13 2018-05-18 北京百度网讯科技有限公司 A kind of method and apparatus of performance test for mobile application
CN109062786A (en) * 2018-07-16 2018-12-21 北京百度网讯科技有限公司 Operation method, device and the terminal of test case
CN109800087A (en) * 2019-01-02 2019-05-24 郑州云海信息技术有限公司 A method of for automatic test
CN110825620A (en) * 2019-10-16 2020-02-21 四川大学 Test case priority calculation method in regression test
CN112783757B (en) * 2019-11-11 2024-03-01 北京沃东天骏信息技术有限公司 Test system, method, computer system, and computer-readable storage medium
CN112783757A (en) * 2019-11-11 2021-05-11 北京沃东天骏信息技术有限公司 Test system, test method, computer system, and computer-readable storage medium
CN112910572B (en) * 2019-11-15 2022-06-10 大唐移动通信设备有限公司 Base station test method, device and readable storage medium
CN112910572A (en) * 2019-11-15 2021-06-04 大唐移动通信设备有限公司 Base station test method, device and readable storage medium
CN112181819A (en) * 2020-09-23 2021-01-05 建信金融科技有限责任公司 Test case distribution method and device, electronic equipment and medium
CN112202952A (en) * 2020-10-22 2021-01-08 Tcl通讯(宁波)有限公司 Mobile terminal testing method and device, storage medium and mobile terminal
CN112202952B (en) * 2020-10-22 2022-04-22 Tcl通讯(宁波)有限公司 Mobile terminal testing method and device, storage medium and mobile terminal
CN112231223A (en) * 2020-10-27 2021-01-15 南京林洋电力科技有限公司 Distributed automatic software testing method and system based on MQTT
CN112468564A (en) * 2020-11-20 2021-03-09 浙江百应科技有限公司 Method for realizing automatic multi-machine parallel of terminal APP UI based on Apdium
CN114630343A (en) * 2020-12-10 2022-06-14 大唐移动通信设备有限公司 Multi-type terminal-oriented 5G access network testing system and testing method
CN114630343B (en) * 2020-12-10 2024-05-17 大唐移动通信设备有限公司 5G access network test system and test method for multi-type terminals
CN112559347A (en) * 2020-12-15 2021-03-26 北京百度网讯科技有限公司 Test distribution method and device, equipment, readable medium and computer program product
CN112559347B (en) * 2020-12-15 2024-02-20 北京百度网讯科技有限公司 Test distribution method and apparatus, device, readable medium and computer program product
CN113722237A (en) * 2021-11-01 2021-11-30 荣耀终端有限公司 Device testing method and electronic device

Also Published As

Publication number Publication date
CN103298016B (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN103298016A (en) Test system for mobile terminals
US7334162B1 (en) Dynamic distribution of test execution
US7703091B1 (en) Methods and apparatus for installing agents in a managed network
CN110309051A (en) Method, system, equipment and the storage medium of management of test cases
CN101699825B (en) Network file system access method, device and system
CN101727389B (en) Automatic test system and method of distributed integrated service
CN100442233C (en) Method and system for implementing dynamic upgrade of application system
CN101150463B (en) Testing method and system
CN109787830A (en) Gray scale distribution control method, device, system, electronic equipment and storage medium
CN103501308A (en) Distributed cloud application deployment systems and/or associated methods
CN103186466A (en) Information interaction device and method based on automatic generation of associated test cases
CN113742033B (en) Kubernetes cluster federation system and implementation method thereof
CN101090295A (en) Test system and method for ASON network
CN102035896A (en) TTCN-3-based distributed testing framework applicable to software system
CN102089749B (en) Method and apparatus for managing binding information about a bundle installed remotely in an osgi service platform
CN101902361A (en) Disaster tolerance business system and disaster tolerance method
CN111858050B (en) Server cluster hybrid deployment method, cluster management node and related system
CN111858007A (en) Task scheduling method and device based on message middleware
CN105404582A (en) Application improvement verification method and system
CN113297055A (en) Cloud testing system and method
CN101877655A (en) Network management system, network management server and method
CN110297753A (en) A kind of method and system for verifying software version
CN102023857B (en) ServiceOS-based multi-platform application program service management method and system
CN102316117A (en) Resource processing method and device
CN114489989A (en) Method and system for parallel scheduling based on proxy client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant