CN106354643A - Method and system for testing accidental errors of interactive software - Google Patents

Method and system for testing accidental errors of interactive software Download PDF

Info

Publication number
CN106354643A
CN106354643A CN201610771300.9A CN201610771300A CN106354643A CN 106354643 A CN106354643 A CN 106354643A CN 201610771300 A CN201610771300 A CN 201610771300A CN 106354643 A CN106354643 A CN 106354643A
Authority
CN
China
Prior art keywords
test script
test
equipment
interactive software
testing
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
CN201610771300.9A
Other languages
Chinese (zh)
Other versions
CN106354643B (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.)
Fujian TQ Digital Co Ltd
Original Assignee
Fujian TQ Digital 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 Fujian TQ Digital Co Ltd filed Critical Fujian TQ Digital Co Ltd
Priority to CN201610771300.9A priority Critical patent/CN106354643B/en
Publication of CN106354643A publication Critical patent/CN106354643A/en
Application granted granted Critical
Publication of CN106354643B publication Critical patent/CN106354643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Abstract

The invention relates to the field of test, in particular to a method and system for testing accidental errors of interactive software. Test scripts for a server and client of interactive software under test are preset and are automatically transmitted to a device in which the server or client of the interactive software under test is deployed, the device automatically executes the corresponding test scripts after receiving the test scripts, and automatic testing for interactive software deployed on a large-sized apparatus is achieved; by presetting test duration, the same user scene is cyclically tested within the test duration, and the discovery of accidental errors is facilitated.

Description

A kind of accidental error method of testing of interactive software and system
Technical field
The present invention relates to field tests, the accidental error method of testing of more particularly, to a kind of interactive software and system.
Background technology
Interactive software generally includes client and server end, is required to carry out soft accordingly before formally being applied Part is tested, to find the problems such as property abnormality of tested software, program exception in time, thus carrying out accordingly to tested software Repair with perfect, to guarantee that interactive software product normally can run on equipment.
Accidental error often occurs in interactive software test process, affects Consumer's Experience to a great extent, The problems such as cause to restart software, loss of vital data.Additionally, accidental error is difficult to reappear mostly, if not recording phase in time The error message closed, related development personnel are difficult to find that the root of problem.
Prior art carries out software test mostly although being capable of the run mode of simulation softward in virtual machine, improves test The accuracy of result, but virtual machine and real equipment have differences all the time it is impossible to truly reflect software true completely Situation about running in equipment.
Content of the invention
The technical problem to be solved is: provides a kind of accidental error method of testing of interactive software and is System, realizes the accidental error that automatically testing is deployed in the interactive software in large-scale equipment.
In order to solve above-mentioned technical problem, the technical solution used in the present invention is:
The present invention provides a kind of accidental error method of testing of interactive software, comprising:
Step 1, default interactive software to be measured;Described interactive software includes client and server end;
Step 2, acquisition dispose the first equipment of the server end of described interactive software to be measured;Obtain deployment described to be measured Second equipment of the client of interactive software, obtains the second cluster tool;
Step 3, default first test script corresponding with the server end of described interactive software to be measured, form the first survey This set of training;Preset second test script corresponding with the client of described interactive software to be measured, form the second test foot This set;
Step 4, from described first test script set obtain one first test script, and will described one first test foot This sends to described first equipment;Corresponding with described one first test script the is obtained from described second test script set Two test scripts, and described second test script is sent the second equipment to described second cluster tool;
Step 5, default length of testing speech;
Step 6, acquisition present system time, obtain testing the time started;
Step 7, described first equipment parse and execute described one first test script;In described second cluster tool Two equipment parse and execute described second test script;
Step 8, acquisition present system time, present system time are deducted the described test time started, are currently surveyed Examination duration;If described current length of testing speech is less than described length of testing speech, return to step 7;Otherwise: terminate test.
The present invention also provides a kind of accidental error test system of interactive software, comprising:
First presetting module, for presetting interactive software to be measured;Described interactive software includes client and server End;
First acquisition module, for obtaining the first equipment of the server end disposing described interactive software to be measured;Obtain Dispose the second equipment of the client of described interactive software to be measured, obtain the second cluster tool;
Second presetting module, for default first test foot corresponding with the server end of described interactive software to be measured This, form the first test script set;Preset second test script corresponding with the client of described interactive software to be measured, shape Become the second test script set;
Second acquisition module, for obtaining one first test script from described first test script set, and will be described One first test script sends to described first equipment;Obtain from described second test script set and described one first test Corresponding second test script of script, and described second test script is sent to described second cluster tool second set Standby;
3rd presetting module, for presetting length of testing speech;
3rd acquisition module, for obtaining present system time, obtains testing the time started;
Performing module, parses and executes described one first test script for described first equipment;Described second equipment collection The second equipment in conjunction parses and executes described second test script;
4th acquisition module, for obtaining present system time, present system time is deducted the described test time started, Obtain current length of testing speech;If described current length of testing speech is less than described length of testing speech, return described performing module;Otherwise: Terminate test.
The beneficial effects of the present invention is: by the default server end of interactive software to be measured and the test foot of client This, and automatically send described test script to disposing the server end of interactive software to be measured or the equipment of client, institute After the equipment of stating receives test script, automatically execute corresponding test script, realize test automatically and be deployed in large-scale equipment Interactive software;By presetting length of testing speech, in described length of testing speech, loop test same user scene, be conducive to sending out Existing accidental error.
Brief description
Fig. 1 is a kind of FB(flow block) of the accidental error method of testing of interactive software of the present invention;
Fig. 2 is a kind of structured flowchart of the accidental error test system of interactive software of the present invention;
Label declaration:
1st, the first presetting module;2nd, the first acquisition module;3rd, the second presetting module;4th, the second acquisition module;5th, the 3rd is pre- If module;6th, the 3rd acquisition module;7th, performing module;8th, the 4th acquisition module.
Specific embodiment
By describing the technology contents of the present invention in detail, being realized purpose and effect, below in conjunction with embodiment and coordinate attached Figure is explained.
The design of most critical of the present invention is: by presetting length of testing speech, in described length of testing speech, loop test is same User's scene, is conducive to finding accidental error.
As shown in figure 1, the present invention provides a kind of accidental error method of testing of interactive software, comprising:
Step 1, default interactive software to be measured;Described interactive software includes client and server end;
Step 2, acquisition dispose the first equipment of the server end of described interactive software to be measured;Obtain deployment described to be measured Second equipment of the client of interactive software, obtains the second cluster tool;
Step 3, default first test script corresponding with the server end of described interactive software to be measured, form the first survey This set of training;Preset second test script corresponding with the client of described interactive software to be measured, form the second test foot This set;
Step 4, from described first test script set obtain one first test script, and will described one first test foot This sends to described first equipment;Corresponding with described one first test script the is obtained from described second test script set Two test scripts, and described second test script is sent the second equipment to described second cluster tool;
Step 5, default length of testing speech;
Step 6, acquisition present system time, obtain testing the time started;
Step 7, described first equipment parse and execute described one first test script;In described second cluster tool Two equipment parse and execute described second test script;
Step 8, acquisition present system time, present system time are deducted the described test time started, are currently surveyed Examination duration;If described current length of testing speech is less than described length of testing speech, return to step 7;Otherwise: terminate test.
All second equipment in described first equipment and described second cluster tool have been performed both by a test script Afterwards, judge current length of testing speech whether in the range of described default length of testing speech, if so, then described first equipment and described second All second equipment in cluster tool execute corresponding test script again, until current length of testing speech is more than described default survey Examination duration.By test script same user scene under is performed a plurality of times, is conducive to finding accidental error, improves test result Accuracy.Described the first equipment obtaining the server end disposing described interactive software to be measured;Obtain deployment described to be measured Second equipment of the client of interactive software, obtains the second cluster tool, including the unique mark identification obtaining relevant device The facility informations such as symbol, ip address, device name, system version number, internal memory, cpu, resolution, producer.In order to test interaction to be measured The server end of formula software, should preset corresponding test script, multi-user scene is included due to described server end it is therefore desirable to For each user's scene composition test script.Interact it is therefore desirable to be client due to existing between server end and client The default test script corresponding with the test script of the different user scene in server end, the survey at client and server end In training originally, the operation of simulation is interactive operation.It is deployed with peace in the equipment at client and server end of interactive software to be measured Equipped with resolver, described resolver can be used for receiving and executes test script.
Further, obtain one first test script from described first test script set, and described one first is surveyed Training originally sends to described first equipment, particularly as follows:
Random from described first test script set obtain one first test script, and by described one first test script Send to described first equipment.
Seen from the above description, the test script of service end can be obtained at random, thus realizing random test any user field Scape.
Further, obtain one first test script from described first test script set, and described one first is surveyed Training originally sends to described first equipment, particularly as follows:
Default one first test script;Described one first test script belongs to the first test script set;
Send described one first test script to described first equipment.
Seen from the above description, the nominative testing script of service end can be obtained, thus realizing testing specified user's scene.
Further, obtain second survey corresponding with described one first test script from described second test script set Training originally, and described second test script is sent the second equipment to described second cluster tool, particularly as follows:
Obtain second test script corresponding with described one first test script, obtain the 3rd test script set;
Random acquisition one the 3rd test script from described 3rd test script set;
Send the second equipment to described second cluster tool for described one the 3rd test script.
Seen from the above description, can achieve the same test script of client executing of all interactive software to be measured, thus When can test all of client and making same reaction simultaneously, if abnormal conditions occur.
Further, obtain second survey corresponding with described one first test script from described second test script set Training originally, and described second test script is sent the second equipment to described second cluster tool, particularly as follows:
Obtain second test script corresponding with described one first test script, obtain the 3rd test script set;
Obtain the quantity of the second equipment in described second cluster tool, obtain the second number of devices;
Default test script number;Described test script number is within the second number of devices;
From described 3rd test script set, random acquisition threeth test script corresponding with test script number, obtains 4th test script set;
The second equipment in described second cluster tool is pressed described test script number packet, obtains the second equipment group;
Test script in described 4th test script set is sent the second equipment to the second equipment group successively.
Seen from the above description, can achieve that the client of the interactive software to be measured being deployed in distinct device executes simultaneously many Kind of test script, thus when can test multiple client and making multiple reaction simultaneously, if abnormal conditions occur.
Further, also include:
Obtain the test data that test script returns;
Analyze described test data and form test report.
Seen from the above description, the test data of test script return can automatically be obtained, thus occasionality can be recorded in time The information of mistake, and generate test report, facilitate engineer according to test report tested software is repaired accordingly with complete Kind, to guarantee that interactive software product normally can run on equipment, improve Consumer's Experience.
As shown in Fig. 2 the present invention also provides a kind of accidental error test system of interactive software, comprising:
First presetting module 1, for presetting interactive software to be measured;Described interactive software includes client and server End;
First acquisition module 2, for obtaining the first equipment of the server end disposing described interactive software to be measured;Obtain Dispose the second equipment of the client of described interactive software to be measured, obtain the second cluster tool;
Second presetting module 3, for default first test foot corresponding with the server end of described interactive software to be measured This, form the first test script set;Preset second test script corresponding with the client of described interactive software to be measured, shape Become the second test script set;
Second acquisition module 4, for obtaining one first test script from described first test script set, and will be described One first test script sends to described first equipment;Obtain from described second test script set and described one first test Corresponding second test script of script, and described second test script is sent to described second cluster tool second set Standby;
3rd presetting module 5, for presetting length of testing speech;
3rd acquisition module 6, for obtaining present system time, obtains testing the time started;
Performing module 7, parses and executes described one first test script for described first equipment;Described second equipment collection The second equipment in conjunction parses and executes described second test script;
4th acquisition module 8, for obtaining present system time, when present system time is deducted described test beginning Between, obtain current length of testing speech;If described current length of testing speech is less than described length of testing speech, return described performing module;No Then: terminate test.
Embodiments of the invention one are:
Step 1, default interactive software to be measured;Described interactive software includes client and server end;
Step 2, acquisition dispose the first equipment of the server end of described interactive software to be measured;Obtain deployment described to be measured Second equipment of the client of interactive software, obtains the second cluster tool;
Step 3, default first test script corresponding with the server end of described interactive software to be measured, form the first survey This set of training;Preset second test script corresponding with the client of described interactive software to be measured, form the second test foot This set;
Step 4, random from described first test script set obtain one first test script, and will described one first survey Training originally sends to described first equipment;Obtain second test script corresponding with described one first test script, obtain the Three test script set;Random acquisition one the 3rd test script from described 3rd test script set;Send described one the 3rd Second equipment to described second cluster tool for the test script;
Step 5, default length of testing speech;
Step 6, acquisition present system time, obtain testing the time started;
Step 7, described first equipment parse and execute described one first test script;In described second cluster tool Two equipment parse and execute described second test script;
Step 8, acquisition present system time, present system time are deducted the described test time started, are currently surveyed Examination duration;If described current length of testing speech is less than described length of testing speech, return to step 7;Otherwise: terminate test;
The test data that step 9, acquisition test script return;Analyze described test data and form test report.
Seen from the above description, the present embodiment realizes random test one user's scene, the visitor of all interactive software to be measured Family end executes same operation, and repeats the test foot of active client server end acquisition in default length of testing speech This, and generate test report.
The application scenarios of the present embodiment are: in modern teaching, electronic instruction is very universal.If a wisdom classroom is by one Individual teacher side and 60 student side compositions.Teacher side can send different types of exercise question to student side simultaneously, and student side is made After answer, submit data to teacher side.If user's scene of the teacher side that system randomly chooses is, teacher side sends to student side One single choice, the test script of the student side that system randomly chooses is the test script that execution selects option a.During default test A length of 1 hour, then, in 1 hour, server end constantly repeats the test script sending one single choice to student side, learns Cause trouble and constantly repeat the test script selecting option a.And obtain corresponding test data, form test report, facilitate work Cheng Shi according to test report tested software is repaired accordingly with perfect, to guarantee that interactive software product can be on equipment Normal operation.
Embodiments of the invention two are:
Step 1, default interactive software to be measured;Described interactive software includes client and server end;
Step 2, acquisition dispose the first equipment of the server end of described interactive software to be measured;Obtain deployment described to be measured Second equipment of the client of interactive software, obtains the second cluster tool;
Step 3, default first test script corresponding with the server end of described interactive software to be measured, form the first survey This set of training;Preset second test script corresponding with the client of described interactive software to be measured, form the second test foot This set;
Step 4, random from described first test script set obtain one first test script, and will described one first survey Training originally sends to described first equipment;Obtain the quantity of the second equipment in described second cluster tool, obtain the second equipment Number;Default test script number;Described test script number is within the second number of devices;Random from described 3rd test script set Obtain threeth test script corresponding with test script number, obtain the 4th test script set;By described second cluster tool In the second equipment press the packet of described test script number, obtain the second equipment group;By the survey in described 4th test script set Training originally sends the second equipment to the second equipment group successively;
Step 5, default length of testing speech;
Step 6, acquisition present system time, obtain testing the time started;
Step 7, described first equipment parse and execute described one first test script;In described second cluster tool Two equipment parse and execute described second test script;
Step 8, acquisition present system time, present system time are deducted the described test time started, are currently surveyed Examination duration;If described current length of testing speech is less than described length of testing speech, return to step 7;Otherwise: terminate test;
The test data that step 9, acquisition test script return;Analyze described test data and form test report.
Seen from the above description, the present embodiment realizes random test one user's scene, the interactive software to be measured of different groups Client executing different operating, and repeat in default length of testing speech active client server end acquisition test Script, and generate test report.
The application scenarios of the present embodiment are: in modern teaching, electronic instruction is very universal.If a wisdom classroom is by one Individual teacher side and 60 student side compositions.Teacher side can send different types of exercise question to student side simultaneously, and student side is made After answer, submit data to teacher side.If user's scene of the teacher side that system randomly chooses is, teacher side sends to student side One single choice, then now the selectable test script of student side is, execution selects the test script of option a, and execution selects choosing The test script of item b, execution selects the test script of option c and the test script of execution selection option d.Student side is divided into four Group, every group comprises 15 student side, and four groups of student side execute the test script selecting option a, the test selecting option b respectively Script, the test script selecting option c and the test script selecting option d, then have 15 student side execution in wisdom classroom Select the operation of option a, 15 student side execution select the operation of option b, 15 student side execution select the behaviour of option c Make, also the operation of 15 student side execution selection option d, and selection result is uploaded to teacher side.Default length of testing speech For 1 hour, then in 1 hour, server end constantly repeat to student side send one single choice test script, 15 Individual student side constantly repeats the test script selecting option a, and 15 student side constantly repeat the survey selecting option b Originally, 15 student side constantly repeat the test script selecting option c, and also 15 student side constantly repeat to hold for training Row selects the test script of option d.And obtain corresponding test data, form test report.
Embodiments of the invention three are:
Step 1, default interactive software to be measured;Described interactive software includes client and server end;
Step 2, acquisition dispose the first equipment of the server end of described interactive software to be measured;Obtain deployment described to be measured Second equipment of the client of interactive software, obtains the second cluster tool;
Step 3, default first test script corresponding with the server end of described interactive software to be measured, form the first survey This set of training;Preset second test script corresponding with the client of described interactive software to be measured, form the second test foot This set;
Step 4, default one first test script;Described one first test script belongs to the first test script set;Send Described one first test script is to described first equipment;Obtain the second test foot corresponding with described one first test script This, obtain the 3rd test script set;Random acquisition one the 3rd test script from described 3rd test script set;Send institute State the second equipment to described second cluster tool for one the 3rd test script;
Step 5, default length of testing speech;
Step 6, acquisition present system time, obtain testing the time started;
Step 7, described first equipment parse and execute described one first test script;In described second cluster tool Two equipment parse and execute described second test script;
Step 8, acquisition present system time, present system time are deducted the described test time started, are currently surveyed Examination duration;If described current length of testing speech is less than described length of testing speech, return to step 7;Otherwise: terminate test;
The test data that step 9, acquisition test script return;Analyze described test data and form test report.
Seen from the above description, the present embodiment realizes nominative testing one user's scene, the visitor of all interactive software to be measured Family end executes same operation, and repeats the test foot of active client server end acquisition in default length of testing speech This, and generate test report.
The application scenarios of the present embodiment are: in modern teaching, electronic instruction is very universal.If a wisdom classroom is by one Individual teacher side and 60 student side compositions.Teacher side can send different types of exercise question to student side simultaneously, and student side is made After answer, submit data to teacher side.The user's scene to be measured now specifying teacher side is that teacher side sends to student side to be sentenced together Disconnected topic, then now the selectable test script of student side is, execution judges this entitled correct test script and judges that this is entitled Select the test script of mistake.If the test script of the student side that system randomly chooses is execution judges this entitled correct test Script, then 60 in wisdom classroom student side execution judges this entitled correct operation, and selection result is uploaded to religion Shi Duan.Default length of testing speech is 1 hour, then, in 1 hour, server end constantly repeats to send to student side and judges together The test script of topic, 60 student side constantly repeat this entitled correct test script of judgement.Obtain corresponding test Data, forms test report.
Embodiments of the invention four are:
Step 1, default interactive software to be measured;Described interactive software includes client and server end;
Step 2, acquisition dispose the first equipment of the server end of described interactive software to be measured;Obtain deployment described to be measured Second equipment of the client of interactive software, obtains the second cluster tool;
Step 3, default first test script corresponding with the server end of described interactive software to be measured, form the first survey This set of training;Preset second test script corresponding with the client of described interactive software to be measured, form the second test foot This set;
Step 4, default one first test script;Described one first test script belongs to the first test script set;Send Described one first test script is to described first equipment;Obtain the quantity of the second equipment in described second cluster tool, obtain Second number of devices;Default test script number;Described test script number is within the second number of devices;From described 3rd test script collection In conjunction, random acquisition threeth test script corresponding with test script number, obtains the 4th test script set;By described second The second equipment in cluster tool presses described test script number packet, obtains the second equipment group;By described 4th test script collection Test script in conjunction sends the second equipment to the second equipment group successively;
Step 5, default length of testing speech;
Step 6, acquisition present system time, obtain testing the time started;
Step 7, described first equipment parse and execute described one first test script;In described second cluster tool Two equipment parse and execute described second test script;
Step 8, acquisition present system time, present system time are deducted the described test time started, are currently surveyed Examination duration;If described current length of testing speech is less than described length of testing speech, return to step 7;Otherwise: terminate test;
The test data that step 9, acquisition test script return;Analyze described test data and form test report.
Seen from the above description, the present embodiment realizes nominative testing one user's scene, the interactive software to be measured of different groups Client executing different operating, and repeat in default length of testing speech active client server end acquisition test Script, and generate test report.
The application scenarios of the present embodiment are: in modern teaching, electronic instruction is very universal.If a wisdom classroom is by one Individual teacher side and 60 student side compositions.Teacher side can send different types of exercise question to student side simultaneously, and student side is made After answer, submit data to teacher side.The user's scene to be measured now specifying teacher side is that teacher side sends to student side to be sentenced together Disconnected topic, then now the selectable test script of student side is, execution judges that this entitled correct test script and execution judge this The test script of entitled mistake.Student side is divided into two groups, every group comprises 30 student side, and two groups of student side execute respectively and sentence This entitled correct test script disconnected and the test script judging this entitled mistake, then have 30 student side to hold in wisdom classroom Row judges this entitled correct operation, and 30 student side execution judge the operation of this entitled mistake, and will determine that result uploads To teacher side.Default length of testing speech is 1 hour, then, in 1 hour, server end constantly repeats and sends together to student side The test script of True-False, 30 student side constantly repeat and judge this entitled wrong test script, in addition 30 Student side constantly repeats this entitled correct test script of judgement.Obtain corresponding test data, form test report.
In sum, the present invention provides a kind of accidental error method of testing of interactive software and system, by pre- If the server end of interactive software to be measured and the test script of client, and automatically described test script is sent to disposing The server end of interactive software to be measured or the equipment of client, after described equipment receives test script, execute corresponding automatically Test script, realize automatically test and be deployed in the interactive software in large-scale equipment;By presetting length of testing speech, described In length of testing speech, loop test same user scene, be conducive to finding accidental error.Further, service can be obtained at random The test script at end, thus realize random test any user scene;Further, the nominative testing foot of service end can be obtained This, thus realize testing specified user's scene;Further, can achieve that the client executing of all interactive software to be measured is same Test script, thus when can test all of client and making same reaction simultaneously, if abnormal conditions occur;Further Ground, can achieve that the client of the interactive software to be measured being deployed in distinct device executes multiple test scripts, thus can survey simultaneously When examination multiple client makes multiple reaction simultaneously, if abnormal conditions occur;Further, test script can automatically be obtained The test data returning, thus the information of accidental error can be recorded in time, and generates test report, facilitates engineer according to survey Examination report tested software repaired accordingly with perfect, to guarantee that interactive software product normally can run on equipment, Improve Consumer's Experience.
The foregoing is only embodiments of the invention, not thereby limit the present invention the scope of the claims, every using this The equivalents that bright description and accompanying drawing content are made, or directly or indirectly it is used in the technical field of correlation, all include in the same manner In the scope of patent protection of the present invention.

Claims (10)

1. a kind of accidental error method of testing of interactive software is it is characterised in that include:
Step 1, default interactive software to be measured;Described interactive software includes client and server end;
Step 2, acquisition dispose the first equipment of the server end of described interactive software to be measured;Obtain and dispose described interaction to be measured Second equipment of the client of formula software, obtains the second cluster tool;
Step 3, default first test script corresponding with the server end of described interactive software to be measured, form the first test foot This set;Preset second test script corresponding with the client of described interactive software to be measured, form the second test script collection Close;
Step 4, from described first test script set, obtain one first test script, and described one first test script is sent out Deliver to described first equipment;Second survey corresponding with described one first test script is obtained from described second test script set Training originally, and described second test script is sent the second equipment to described second cluster tool;
Step 5, default length of testing speech;
Step 6, acquisition present system time, obtain testing the time started;
Step 7, described first equipment parse and execute described one first test script;In described second cluster tool second sets Standby parse and execute described second test script;
Step 8, acquisition present system time, present system time are deducted the described test time started, when currently being tested Long;If described current length of testing speech is less than described length of testing speech, return to step 7;Otherwise: terminate test.
2. a kind of accidental error method of testing of interactive software according to claim 1 is it is characterised in that from described Obtain one first test script in first test script set, and described one first test script is sent set to described first Standby, particularly as follows:
Random acquisition one first test script from described first test script set, and described one first test script is sent To described first equipment.
3. a kind of accidental error method of testing of interactive software according to claim 1 is it is characterised in that from described Obtain one first test script in first test script set, and described one first test script is sent set to described first Standby, particularly as follows:
Default one first test script;Described one first test script belongs to the first test script set;
Send described one first test script to described first equipment.
4. a kind of accidental error method of testing of interactive software according to claim 1 is it is characterised in that from described Obtain second test script corresponding with described one first test script in second test script set, and described second is tested Script sends the second equipment to described second cluster tool, particularly as follows:
Obtain second test script corresponding with described one first test script, obtain the 3rd test script set;
Random acquisition one the 3rd test script from described 3rd test script set;
Send the second equipment to described second cluster tool for described one the 3rd test script.
5. a kind of accidental error method of testing of interactive software according to claim 1 is it is characterised in that from described Obtain second test script corresponding with described one first test script in second test script set, and described second is tested Script sends the second equipment to described second cluster tool, particularly as follows:
Obtain second test script corresponding with described one first test script, obtain the 3rd test script set;
Obtain the quantity of the second equipment in described second cluster tool, obtain the second number of devices;
Default test script number;Described test script number is within the second number of devices;
From described 3rd test script set, random acquisition threeth test script corresponding with test script number, obtains the 4th Test script set;
The second equipment in described second cluster tool is pressed described test script number packet, obtains the second equipment group;
Test script in described 4th test script set is sent the second equipment to the second equipment group successively.
6. a kind of accidental error method of testing of interactive software according to claim 1 is it is characterised in that also wrap Include:
Obtain the test data that test script returns;
Analyze described test data and form test report.
7. a kind of accidental error test system of interactive software is it is characterised in that include:
First presetting module, for presetting interactive software to be measured;Described interactive software includes client and server end;
First acquisition module, for obtaining the first equipment of the server end disposing described interactive software to be measured;Obtain deployment Second equipment of the client of described interactive software to be measured, obtains the second cluster tool;
Second presetting module, for presetting first test script corresponding with the server end of described interactive software to be measured, shape Become the first test script set;Preset second test script corresponding with the client of described interactive software to be measured, formation the Two test script set;
Second acquisition module, for obtaining one first test script, and by described 1 the from described first test script set One test script sends to described first equipment;Obtain and described one first test script from described second test script set Corresponding second test script, and described second test script is sent the second equipment to described second cluster tool;
3rd presetting module, for presetting length of testing speech;
3rd acquisition module, for obtaining present system time, obtains testing the time started;
Performing module, parses and executes described one first test script for described first equipment;In described second cluster tool The second equipment parse and execute described second test script;
4th acquisition module, for obtaining present system time, present system time is deducted the described test time started, obtains Current length of testing speech;If described current length of testing speech is less than described length of testing speech, return described performing module;Otherwise: terminate Test.
8. a kind of accidental error test system of interactive software according to claim 7 is it is characterised in that described Two acquisition modules include:
First acquisition unit, obtains one first test script for random from described first test script set, and will be described One first test script sends to described first equipment;
First default unit, for presetting one first test script;Described one first test script belongs to the first test script collection Close;
First transmitting element, for sending described one first test script to described first equipment.
9. a kind of accidental error test system of interactive software according to claim 7 is it is characterised in that described Two acquisition modules also include:
Second acquisition unit, for obtaining second test script corresponding with described one first test script, obtains the 3rd survey This set of training;
3rd acquiring unit, obtains one the 3rd test script for random from described 3rd test script set;
Second transmitting element, for sending the second equipment to described second cluster tool for described one the 3rd test script;
4th acquiring unit, for obtaining the quantity of the second equipment in described second cluster tool, obtains the second number of devices;
Second default unit, for presetting test script number;Described test script number is within the second number of devices;
5th acquiring unit, obtains threeth corresponding with test script number for random from described 3rd test script set Test script, obtains the 4th test script set;
Grouped element, for the second equipment in described second cluster tool is pressed described test script number packet, obtains second Equipment group;
3rd transmitting element, for sending the test script in described 4th test script set successively to the second equipment group The second equipment.
10. a kind of accidental error test system of interactive software according to claim 7 is it is characterised in that also wrap Include:
3rd acquisition module, for obtaining the test data of test script return;
Analysis module, forms test report for analyzing described test data.
CN201610771300.9A 2016-08-30 2016-08-30 A kind of the accidental error test method and system of interactive software Active CN106354643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610771300.9A CN106354643B (en) 2016-08-30 2016-08-30 A kind of the accidental error test method and system of interactive software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610771300.9A CN106354643B (en) 2016-08-30 2016-08-30 A kind of the accidental error test method and system of interactive software

Publications (2)

Publication Number Publication Date
CN106354643A true CN106354643A (en) 2017-01-25
CN106354643B CN106354643B (en) 2019-04-09

Family

ID=57857836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610771300.9A Active CN106354643B (en) 2016-08-30 2016-08-30 A kind of the accidental error test method and system of interactive software

Country Status (1)

Country Link
CN (1) CN106354643B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071850A (en) * 2019-04-10 2019-07-30 北京奇安信科技有限公司 The automated testing method and device of server-side log performance
CN111694752A (en) * 2020-07-28 2020-09-22 中移(杭州)信息技术有限公司 Application testing method, electronic device and storage medium
CN111722997A (en) * 2019-03-21 2020-09-29 福建天晴在线互动科技有限公司 Abnormality detection method for automated testing and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659547A (en) * 1992-08-31 1997-08-19 The Dow Chemical Company Script-based system for testing a multi-user computer system
US20030217308A1 (en) * 2002-05-16 2003-11-20 Sun Microsystems, Inc. Distributed test harness model
CN101521899A (en) * 2009-03-31 2009-09-02 大连海事大学 System and method for on-computer test of mobile applications
US20120144410A1 (en) * 2010-12-02 2012-06-07 At&T Intellectual Property I, L.P. Method and system using automated workflow for monitoring of video assets
CN103973858A (en) * 2014-05-21 2014-08-06 重庆泰凯科技有限公司 Automatic testing system of mobile terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659547A (en) * 1992-08-31 1997-08-19 The Dow Chemical Company Script-based system for testing a multi-user computer system
US20030217308A1 (en) * 2002-05-16 2003-11-20 Sun Microsystems, Inc. Distributed test harness model
CN101521899A (en) * 2009-03-31 2009-09-02 大连海事大学 System and method for on-computer test of mobile applications
US20120144410A1 (en) * 2010-12-02 2012-06-07 At&T Intellectual Property I, L.P. Method and system using automated workflow for monitoring of video assets
CN103973858A (en) * 2014-05-21 2014-08-06 重庆泰凯科技有限公司 Automatic testing system of mobile terminals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722997A (en) * 2019-03-21 2020-09-29 福建天晴在线互动科技有限公司 Abnormality detection method for automated testing and computer-readable storage medium
CN111722997B (en) * 2019-03-21 2023-05-23 福建天晴在线互动科技有限公司 Abnormality detection method for automated test and computer-readable storage medium
CN110071850A (en) * 2019-04-10 2019-07-30 北京奇安信科技有限公司 The automated testing method and device of server-side log performance
CN111694752A (en) * 2020-07-28 2020-09-22 中移(杭州)信息技术有限公司 Application testing method, electronic device and storage medium
CN111694752B (en) * 2020-07-28 2023-09-05 中移(杭州)信息技术有限公司 Application testing method, electronic device and storage medium

Also Published As

Publication number Publication date
CN106354643B (en) 2019-04-09

Similar Documents

Publication Publication Date Title
Belinfante JTorX: A tool for on-line model-driven test derivation and execution
CN101478449B (en) Protocol automatic test method and system thereof
Kuhn et al. An investigation of the applicability of design of experiments to software testing
CN104636254B (en) Generate method and apparatus, method of testing and the equipment of test case
CN108733552B (en) FPGA remote debugging system and remote debugging method
CN103560932B (en) Wireless sensor network remote protocol conformance testing system and method
CN104268079B (en) A kind of method and system of POS Application testings
US8731896B2 (en) Virtual testbed for system verification test
CN102495802B (en) Method and device for testing software system, and computer system
CN104579822A (en) Automatic performance test system and method of mobile application based on Http protocol
CN107390110A (en) A kind of method, apparatus and system tested automatically PCBA
CN106354643A (en) Method and system for testing accidental errors of interactive software
CN108923999A (en) A kind of net surfing server automatic performance test method and system
CN110705017A (en) Model disassembling and assembling simulation system and simulation method based on AR
CN107908538A (en) A kind of automated testing method and system of server system performance
CN109885500A (en) A kind of method and system improving software test coverage rate
CN106371990B (en) A kind of test method and system of interactive software oncurrent processing ability
CN106445810B (en) A kind of test method and system of interactive software and equipment compatibility
CN106339319A (en) Method and system for testing interactive software
CN107733743B (en) Method and system for realizing automatic test of Ethernet bus data
CN114039899A (en) Method for realizing network performance test of WEB product based on Fiddler tool
CN110399723A (en) Leak detection method and device, storage medium and electronic device
CN102624587A (en) System and method capable of achieving defect detection for IEC60870-5-101/104 communication protocol
CN111190786A (en) UVM-based test framework, test platform and test method
CN105282541B (en) A kind of test device and method of testing applied to video on-demand system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant