CN105279087B - Apply method of testing and test system in test software - Google Patents

Apply method of testing and test system in test software Download PDF

Info

Publication number
CN105279087B
CN105279087B CN201510688555.4A CN201510688555A CN105279087B CN 105279087 B CN105279087 B CN 105279087B CN 201510688555 A CN201510688555 A CN 201510688555A CN 105279087 B CN105279087 B CN 105279087B
Authority
CN
China
Prior art keywords
test
pressure
node
data
control node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510688555.4A
Other languages
Chinese (zh)
Other versions
CN105279087A (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.)
BEIJING SOFTWARE TESTING CENTER
Original Assignee
BEIJING SOFTWARE TESTING CENTER
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 BEIJING SOFTWARE TESTING CENTER filed Critical BEIJING SOFTWARE TESTING CENTER
Priority to CN201510688555.4A priority Critical patent/CN105279087B/en
Publication of CN105279087A publication Critical patent/CN105279087A/en
Application granted granted Critical
Publication of CN105279087B publication Critical patent/CN105279087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to software testing technology, in particular to applying method of testing and test system in test software.The method of testing is required after determining forcing press quantity according to the performance test of software to be tested, and control node is set to by wherein one of all forcing presses, and other are set to pressure node, and all pressure nodes all contact with control node, forms wide area, distributed way.And being undertaken to control node, pressure node for task and role are defined, control node is only responsible for collecting and test data of the analysis from pressure node in the testing mechanism, pressure node is only responsible for generation pressure flow, test result data is transferred to control node, the method of testing can cause control node and pressure node to discharge ample resources, simulate more Virtual User amounts.

Description

Apply method of testing and test system in test software
Technical field
The present invention relates to software testing technology, in particular to the method for testing and test applied in test software System.
Background technology
Built as the Chinese government has formulated a series of policies and continued reinforcement infrastructure network in informatization If provide preferable network foundation condition for linking Internet.Operator and all big enterprises actively promote the Internet, applications development, Accelerate infiltration of the network application to social life, such as E-Government, ecommerce application attracts more with being tightly combined under line People uses internet.Conventional internet enterprise also to the transition of mobile Internet direction or product compatibility, is causing to visit originally one after another The very high popular application of the amount of asking adds mobile interchange user again so that and the Internet, applications user's visit capacity hits new peak repeatly, The Internet, applications that magnanimity accesses also are continuing to bring out, and these the Internet, applications are faced with the high concurrent visit that average daily visit capacity crosses hundred million The technology test asked.Unprecedented challenge also is brought to Software Quality Assurance work simultaneously, is mainly manifested in two aspects, First, accessing the difference of magnitude, the information system access amount concurrent user of traditional performance test is measured below 10,000, and high concurrent The Internet, applications concurrent visit capacity up to tens thousand of, even more high, height can not be simulated by so directly resulting in traditional test instrument Virtual User needed for the concurrent visit capacity of concurrent the Internet, applications;Second, test environment directly affects test execution, tradition Performance test directly initiates pressure, the pressure that monitoring server can bear, if server by LAN to server Cluster, then can only calculation server cluster can bear by way of reckoning access pressure magnitude, and the interconnection of high concurrent Net application is to be based on internet, while this kind of application places node server structure everywhere to improve user's viewing experience in network Into one layer of intelligent virtual network on existing Internet basic, avoid being possible to influence data biography on internet as far as possible The bottleneck and link of defeated speed and stability, make content transmission faster, it is more stable, so directly result in traditional test instrument, Test environment can not all meet testing requirement.
In the case where lacking quality assurance means (i.e. capabilities detection tools), many internet applications enterprise selections Abandon performance test or select the performance test of foreign vendor.In terms of software performance detection instrument, foreign vendor compares Famous has the object driveability test model that Infosys Technologies companies propose, original MercuryInteractive Loadrunner, the WAS testing tools of Microsoft etc..But these performance tests are surveyed The limitation of the factors such as trial work tool, test environment (internet environment), can only be in LAN to the loading condition of single server Performance test is carried out, rather than server cluster, the load capacity of a server cluster are drawn by reckoning, i.e. separate unit service Device is multiplied by server number of units, and product is the load capacity of the server cluster.This reckoning have ignored load-balancing device, network The factor such as bandwidth and quality.So after really reaching the standard grade, it may appear that service response is slow, the response time grows situations such as even delaying machine and sent out It is raw.Also, the control node and pressure node work in these Performance measurement softwares are not distinguished well, cause control node Function is various, expends a large amount of system resources, restricts the Virtual User amount of test software.
For large-scale distributed test, a 100000 Virtual User simulation, about caused data volume is 50 to 70 Ten thousand rows are, it is necessary to call 100 or so forcing presses to be simulated, and so large-scale forcing press is when returning test result, by one Platform control terminal receives the reliability and transmission performance for having a strong impact on data.Because process data interaction is frequent, 100 servers Carry out data transmission simultaneously with 1 server, it is difficult to avoid data transmission fault or the situation of failure from occurring.In consideration of it, overcome Above-mentioned existing defective performance testing tool data test mechanism is urgent problem to be solved of the present invention.
The content of the invention
It is an object of the invention to provide a kind of method of testing and test system applied in test software, to solve to solve Certainly Virtual User quantity restricted problem so that control node and pressure node can discharge ample resources, and simulation is more Virtual User amount.
The embodiments of the invention provide a kind of method of testing applied in test software, it includes:
Step 1, required to determine the quantity of forcing press according to the performance test of software to be tested;
Step 2, a forcing press in all forcing presses is defined as control node, other forcing presses are defined as pressure section Point;And establish the network connection of all pressure nodes and the control node;The control node is responsible for collecting and analyzed Test record from the pressure node, the pressure node are responsible for generating pressure flow, test record are transferred to described Control node;
Step 3, the control node sends pressure test instruction to the pressure node;
Step 4, the pressure node instructs according to the pressure test, creates predetermined number thread and carries out pressure survey Examination, and real-time storage test record and cache the test record;
Step 5, after all pressure node pressure tests terminate, the control node collects, integrates and is stored in pressure section Test record on point, the initial data of all test records is stored in a data file;The control node timing The data file is read, the file content of reading is temporarily stored in its data buffer storage, and to the data content in data buffer storage And form carries out data check, the data for meeting content and call format are subjected to data analysis, undesirable data are straight Connect and abandon, ultimately form test result;
Step 6, the test result is defined as adjusting preceding test result;
Step 7, test bottleneck is determined according to test result before the adjustment;
Step 8, it is adjusted according to the test bottleneck, and re-executes step 3- steps 5, knot is tested after being adjusted Fruit;
Step 9, test result and test result after the adjustment before the adjustment;If test result after the adjustment Better than test result before the adjustment, and test result is in default test desired value after the adjustment, then, test terminates;It is no Then, step 6- steps 8 are continued executing with.
In certain embodiments, it is preferably, before the step 3, the method for testing also includes:
Required to record script according to the performance test of software to be tested;
The script is adjusted, obtains executable test script.
In certain embodiments, it is preferably, in the step 4, the test record includes:Each Virtual User accesses Response time, success rate, script execution journal.
Present invention also offers a kind of test system applied in test software, it includes:
First determining module, it is used for the quantity that forcing press is determined according to the performance test requirement of software to be tested;
Distribute module, it is used to a forcing press in all forcing presses being defined as control node, and other forcing presses are determined Justice is pressure node;The control node is responsible for collecting and test record of the analysis from the pressure node, the pressure section Point is responsible for generation pressure flow, and test record is transferred into the control node;
Link block, according to the allocation result of the distribute module, establish all pressure nodes and saved with the control The network connection of point;
Transport module, it is used for the control node and sends pressure test instruction to the pressure node;
Test module, it includes all pressure nodes, is instructed for the pressure node according to the pressure test, creates Predetermined number thread simultaneously carries out pressure test, and real-time storage test record and caches the test record;
Analysis module, it includes control node, for after all pressure node pressure tests terminate, the control node Collect, integrate the test record being stored on pressure node, the initial data of all test records is stored in a data In file;The data file is read in the control node timing, and the file content of reading is temporarily stored in its data buffer storage, and Data check is carried out to the data content in data buffer storage and form, the data for meeting content and call format are subjected to data point Analysis, undesirable data are directly abandoned, and ultimately form test result;
Adjusting module, it is connected with analysis module, for being defined as the test result to adjust preceding test result, according to institute Test result determines test bottleneck before stating adjustment, is adjusted according to the test bottleneck;
Calling module, for the test system after being adjusted based on adjusting module, call the transport module, the test mould Block, the analysis module, then tested, it is adjusted rear test result;
Comparison module, it is connected with analysis module and calling module;The comparison module is tested before being used for the adjustment As a result with test result after the adjustment;If test result is better than test result before the adjustment, and the tune after the adjustment Test result is in default test desired value after whole, then, test terminates;Otherwise, the adjusting module and the calling mould are called Block.
In certain embodiments, it is preferably, applies the test system in test software also to include:
Module is recorded, for requiring to record script according to the performance test of software to be tested;
Adjusting module, for adjusting the script, obtain executable test script.
In certain embodiments, it is preferably that each pressure node includes buffer unit, for real-time storage test record, The test record includes:The response time of each Virtual User access, success rate, script execution journal.
The method of testing and test system provided in an embodiment of the present invention applied in test software, with prior art phase Than being required according to the performance test of software to be tested after determining forcing press quantity, wherein one of all forcing presses being set to control Node processed, other are set to pressure node, and all pressure nodes all contact with control node, form wide area, distributed way.It is and right The task and role that control node, pressure node undertake are defined, and control node is only responsible for collecting with dividing in the testing mechanism The test data from pressure node is analysed, pressure node is only responsible for generation pressure flow, test result data is transferred into control Node, the method for testing can cause control node and pressure node to discharge ample resources, and simulation is more virtual Customer volume.
For large-scale distributed test, a 100000 Virtual User simulation, about caused data volume is 50 to 70 Ten thousand rows are, it is necessary to call 100 or so forcing presses to be simulated, and so large-scale forcing press is when returning test result, by one Platform control terminal receives, if not using Data cache technology to have a strong impact on the reliability and transmission performance of data.Therefore utilize Pressure node caches to data, improves reliability and transmission performance.
Brief description of the drawings
Fig. 1 is the step schematic diagram that the method for testing in test software is applied in one embodiment of the invention.
Embodiment
The present invention is described in further detail below by specific embodiment combination accompanying drawing.
In view of high concurrent the Internet, applications concurrent visit capacity up to tens thousand of, even more high, so directly result in biography Virtual User needed for the concurrent visit capacity for the Internet, applications that system testing tool can not simulate high concurrent, traditional performance test are led to Cross LAN and pressure directly is initiated to server, the pressure that monitoring server can bear, if server cluster, then can only The access pressure magnitude that calculation server cluster can bear by way of reckoning, and the Internet, applications of high concurrent are to be based on Internet, at the same this kind of application for improve user's viewing experience, network place everywhere node server be formed in it is existing mutually One layer of intelligent virtual network on networking basis, avoid being possible to influenceing data transmission bauds and stably as far as possible on internet The bottleneck and link of property, make content transmission faster, it is more stable, so directly result in traditional test instrument, test environment all without Method meets testing requirement.The present embodiment provides and applies method of testing and test system in test software, to reach using more More Virtual User are tested software, and effectively carry out test data transmission, the purpose of processing.
A kind of method of testing applied in test software, it includes:
Step 1, required to determine the quantity of forcing press according to the performance test of software to be tested;
Step 2, a forcing press in all forcing presses is defined as control node, other forcing presses are defined as pressure section Point;And establish the network connection of all pressure nodes and control node;
Step 3, control node sends pressure test instruction to pressure node;
Step 4, pressure node instructs according to pressure test, creates predetermined number thread and carries out pressure test, and in real time Store test record and cache test record;
Step 5, after all pressure node pressure tests terminate, control node collects, integrates and is stored on pressure node Test record, and analyze obtain test result.
The method of testing is configured to specific test system, it includes:
First determining module, it is used for the quantity that forcing press is determined according to the performance test requirement of software to be tested;
Distribute module, it is used to a forcing press in all forcing presses being defined as control node, and other forcing presses are determined Justice is pressure node;
Link block, according to the allocation result of distribute module, establish the network connection of all pressure nodes and control node;
Transport module, it is used for control node and sends pressure test instruction to pressure node;
Test module, it includes all pressure nodes, is instructed for pressure node according to pressure test, creates predetermined number Thread simultaneously carries out pressure test, and real-time storage test record and cache test record;
Analysis module, it includes control node, for after all pressure node pressure tests terminate, control node to be converged Collection, the test record being stored on pressure node is integrated, and analyze and obtain test result.
Required according to the performance test of software to be tested after determining forcing press quantity, wherein one of all forcing presses is set For control node, other are set to pressure node, and all pressure nodes all contact with control node, form wide area, distributed way. And being undertaken to control node, pressure node for task and role are defined, control node is only responsible for collecting in the testing mechanism With analyzing the test data from pressure node, pressure node is only responsible for generation pressure flow, test result data is transferred to Control node, the method for testing can cause control node and pressure node to discharge ample resources, and simulation is more Virtual User amount.
For large-scale distributed test, a 100000 Virtual User simulation, about caused data volume is 50 to 70 Ten thousand rows are, it is necessary to call 100 or so forcing presses to be simulated, and so large-scale forcing press is when returning test result, by one Platform control terminal receives, if not using Data cache technology to have a strong impact on the reliability and transmission performance of data.Therefore utilize Pressure node caches to data, improves reliability and transmission performance.
Next, the technology is described in detail:
In order to adapt to the big characteristic of current internet high concurrent, concurrent visit capacity, propose it is a kind of it is new apply test it is soft The specific method of testing mechanism and distributed testing in part.
New testing mechanism is:One test machine realizes pressure as control node by more pressure nodes of remote control Power generates, so as to meet high concurrent or on-line testing.Resource utilization can be improved, solves the problems, such as the limitation of Virtual User quantity
The testing mechanism is applied in distributed testing, specific method of testing is, as shown in Figure 1:
Step 101, required to determine the quantity of forcing press according to the performance test of software to be tested;
The performance test of each software to be tested requires different, it is necessary to determine the quantity of forcing press according to specific requirement, And the simulation thread quantity (Virtual User amount) of each forcing press.
Step 102, a forcing press in all forcing presses is defined as control node, other forcing presses are defined as pressure Node;And establish the network connection of all pressure nodes and control node;
Forcing press is allocated with the role set in testing mechanism, and ensures that network is unimpeded.
Step 103, control node sends pressure test instruction to pressure node;
After the performance test requirement of software clearly to be tested, determine that pressure test instructs, wrapped in pressure test instruction Include:Test open command and pressure node simulation thread amount etc..
Step 104, pressure node instructs according to pressure test, creates predetermined number thread and carries out pressure test, and in fact When stores test record, and simultaneously cache test records;
For large-scale distributed test, a 100000 Virtual User simulation, about caused data volume is 50 to 70 Ten thousand rows are, it is necessary to call 100 or so forcing presses to be simulated, and so large-scale forcing press is when returning test result, by one Platform control terminal receives, if not using Data cache technology to have a strong impact on the reliability and transmission performance of data.So pressure Node records test record in real time, and test record is cached, and after all threads are tested, is uniformly sent to data cached Control node, cause the situation of network congestion from frequently sending data to control node in traditional test.Moreover, control section The internal processes that point, pressure node call in test process are few, can promote the stable progress of test.
Wherein the particular content of test record needs specifically to be determined according to test performance requirement, generally includes:It is each empty The response time of plan user's access, success rate, script execution journal.
Step 105, after all pressure node pressure tests terminate, control node collects, integrates and is stored in pressure node On test record, and analyze obtain test result.
The test record of storage is uniformly collected, integrated to control node, and analysis obtains test result, avoids frequently transmitting number According to frequently error in data caused by processing, analysis result error, tests the problems such as unstable.
In above-mentioned most basic method of testing, it is necessary to require setup test script according to the performance test of software to be tested, So before step 3, method of testing also includes:
Step 106, required to record script according to the performance test of software to be tested;
Specific method for recording, it is similar to routine.
Step 107, script is adjusted, obtains executable test script.
It is smoothed out to improve test, it is necessary to ensure that test script can be performed smoothly, it is therefore desirable in a pressure A whole test script is operated on machine, corrects the wrong content of the inside.
When 100 servers carry out data transmission with 1 server simultaneously, it is difficult to avoid data transmission fault or failure Situation occurs, thus needs data checking mechanisms to ensure the availability of data after data interaction, avoids because wrong data causes to survey The inaccuracy of test result
It can increase by a step between step 104 and step 105:
Step 108, test record error rate is detected.
All test result initial data of receiving are stored in a data file by control node, and timing is read and surveyed Test result raw data file, the file content after reading are temporarily stored in the data buffer storage of control node, and control node is to data Data content and form in caching carry out data check, the data for meeting content and call format are carried out into data analysis, no Satisfactory data are directly abandoned, and ultimately form test result.
Because various problems occur in software test, these problems are embodied by test result, therefore according to test As a result method of testing is adjusted, to obtain satisfactory test result.So
After step 105, method of testing also includes:
Step 109, test result is defined as adjusting preceding test result;
Step 110, test bottleneck is determined according to test result before adjustment;
Step 111, it is adjusted according to test bottleneck, and re-executes step 103- steps 105, is tested after being adjusted As a result.
Step 112, test result and test result after adjustment before adjusting are compared;
If test result is better than test result before adjustment after adjustment, and test result is presetting test desired value after adjustment Interior, then, test terminates;Otherwise, step 109- steps 111 are continued executing with.
, can be with successive optimization method of testing by step 109-112, and then satisfactory test result is got, most Software test is completed eventually.
Specific embodiment:The method of testing is subjected to exemplary application in a specific software test
Test software distributed testing mechanism example is as follows:
Tested application system is typical B/S architecture systems, and based on .net platform developments, database uses SQL Server, It is IIS using middleware, deployment services device is Windows Server 2008.
System under test (SUT) is a knowledge base, have log in, I the problem of, in knowledge base, notice and news, survey etc. Hold.Testing requirement is 100,000 concurrent tests of support, thus it is speculated that separate unit application can be supported to 3000 concurrently, to pass through and calculate 34 clothes of deployment Business device can realize the support of 100,000 concurrent tests.
The 34 servers progress test environment for choosing same model configuration is built, the safe independent data of Servers-all Storehouse, i.e. database and application are deployed in same server, and identical environment disposes 34 sets.Surveyed as 34 pressure node servers Test ring border is all using Windows Server 2008, IIS 7, SQL server2008.One IP of every server-assignment Location.
Step 1:Script is recorded:First, input tested application system path (network address), need to record according to test and (beat Login page-input username and password-execution register-Successful login system-is opened to ask into new problem-input Submit-logged off after topic content);Then, the content for script of recording is preserved to control node, completes script and record
Step 2:Script is issued any pressure node by control node, by the pressure node pre-execution script, detects the pin Originally it can run succeeded, incomplete script is modified, until can correctly perform
Step 3:Control node selects whole pressure nodes, sends test script, starts to perform test,
Step 4:Each pressure node creates 3000 threads, and 3000 concurrent users of simulation are visited system under test (SUT) Ask, while the response time that each Virtual User is accessed, success rate, the deposit caching such as script execution journal, in data buffer storage Data be sent to control node when reaching the buffer memory capacity of setting.
Step 5:Control node is analyzed all pressure node test result datas of receiving, and one is error rate, i.e., In measuring executing process, false request number per minute, and wrong content;Two be monitoring resource, including test server and The resource information of tested application system server.
Step 6:The statistics of test result can see, the error rate of test is 16:10-16:It is higher when 12, by right Think than EMS memory occupation amount, have partial pressure node when simulating 3000 users causes to simulate because EMS memory occupation is too high Failure, tuning thus is carried out to test system, 2800 will be adjusted under analog subscriber, while increase pressure node as 38, repeated Carry out the 2nd wheel test.Newly-increased 100,000 data is can be seen that by inquiring about system under test (SUT) database, reaches desired standard, is tested As a result succeed.
According to above-mentioned method of testing measuring system constructing, including:
First determining module, it is used for the quantity that forcing press is determined according to the performance test requirement of software to be tested;
Distribute module, it is used to a forcing press in all forcing presses being defined as control node, and other forcing presses are determined Justice is pressure node;
Link block, according to the allocation result of distribute module, establish the network connection of all pressure nodes and control node;
Transport module, it is used for control node and sends pressure test instruction to pressure node;
Test module, it includes all pressure nodes, is instructed for pressure node according to pressure test, creates predetermined number Thread simultaneously carries out pressure test, and real-time storage test record and cache test record;
Analysis module, it includes control node, for after all pressure node pressure tests terminate, control node to be converged Collection, the test record being stored on pressure node is integrated, and analyze and obtain test result.
In order to obtain qualified test script, it is also necessary to increase following module in a test system:
Module is recorded, for requiring to record script according to the performance test of software to be tested;
Adjusting module, for adjusting script, obtain executable test script.
In order to improve caching of the pressure node to test record, the stability of caching and correct degree, each pressure are improved Buffer unit is included in node, for real-time storage test record, test record includes:During the response that each Virtual User accesses Between, success rate, script execution journal.
For successive optimization method of testing, have also been devised in the test system:
Adjusting module, it is connected with analysis module, for being defined as test result to adjust preceding test result, before adjustment Test result determines test bottleneck, is adjusted according to test bottleneck;
Calling module, for the test system after being adjusted based on adjusting module, call transport module, test module, analysis Module, then tested, it is adjusted rear test result.
Comparison module, it is connected with analysis module and calling module;
Comparison module be used for compare adjustment before test result with adjustment after test result;If test result is better than tune after adjustment Whole preceding test result, and test result is in default test desired value after adjustment, then, test terminates;Otherwise, adjusting module is called And calling module.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (6)

  1. A kind of 1. method of testing applied in test software, it is characterised in that including:
    Step 1, required to determine the quantity of forcing press according to the performance test of software to be tested;
    Step 2, a forcing press in all forcing presses is defined as control node, other forcing presses are defined as pressure node; And establish the network connection of all pressure nodes and the control node;The control node is responsible for collecting to be come from analysis The test record of the pressure node, the pressure node are responsible for generating pressure flow, and test record is transferred into the control Node;
    Step 3, the control node sends pressure test instruction to the pressure node;
    Step 4, the pressure node instructs according to the pressure test, creates predetermined number thread and carries out pressure test, and Real-time storage test record simultaneously caches the test record;
    Step 5, after all pressure node pressure tests terminate, the control node collects, integrates and is stored on pressure node Test record, the initial data of all test records is stored in a data file;The control node timing is read The data file, the file content of reading is temporarily stored in its data buffer storage, and the data content in data buffer storage is passed Formula carries out data check, the data for meeting content and call format is carried out into data analysis, undesirable data are directly thrown Abandon, ultimately form test result;
    Step 6, the test result is defined as adjusting preceding test result;
    Step 7, test bottleneck is determined according to test result before the adjustment;
    Step 8, it is adjusted according to the test bottleneck, and re-executes step 3- steps 5, is adjusted rear test result;
    Step 9, test result and test result after the adjustment before the adjustment;If test result is better than after the adjustment Test result before the adjustment, and test result is in default test desired value after the adjustment, then, test terminates;Otherwise, after It is continuous to perform step 6- steps 8.
  2. 2. apply the method for testing in test software as claimed in claim 1, it is characterised in that before the step 3, The method of testing also includes:
    Required to record script according to the performance test of software to be tested;
    The script is adjusted, obtains executable test script.
  3. 3. apply the method for testing in test software as claimed in claim 1, it is characterised in that in the step 4, institute Stating test record includes:The response time of each Virtual User access, success rate, script execution journal.
  4. A kind of 4. test system applied in test software, it is characterised in that including:
    First determining module, it is used for the quantity that forcing press is determined according to the performance test requirement of software to be tested;
    Distribute module, it is used to a forcing press in all forcing presses being defined as control node, and other forcing presses are defined as Pressure node;The control node is responsible for collecting to be born with test record of the analysis from the pressure node, the pressure node Duty generation pressure flow, the control node is transferred to by test record;
    Link block, according to the allocation result of the distribute module, establish all pressure nodes and the control node Network connection;
    Transport module, it is used for the control node and sends pressure test instruction to the pressure node;
    Test module, it includes all pressure nodes, is instructed for the pressure node according to the pressure test, creates default Quantity thread simultaneously carries out pressure test, and real-time storage test record and caches the test record;
    Analysis module, it includes control node, for after all pressure node pressure tests terminate, the control node to be converged Collection, the test record being stored on pressure node is integrated, the initial data of all test records is stored in a data text In part;The data file is read in the control node timing, and the file content of reading is temporarily stored in its data buffer storage, and right Data content and form in data buffer storage carry out data check, and the data for meeting content and call format are carried out into data point Analysis, undesirable data are directly abandoned, and ultimately form test result;
    Adjusting module, it is connected with analysis module, for being defined as the test result to adjust preceding test result, according to the tune Whole preceding test result determines test bottleneck, is adjusted according to the test bottleneck;
    Calling module, for the test system after being adjusted based on adjusting module, call the transport module, the test module, The analysis module, then tested, it is adjusted rear test result;
    Comparison module, it is connected with analysis module and calling module;The comparison module is used for test result before the adjustment With test result after the adjustment;If test result is better than test result before the adjustment after the adjustment, and after the adjustment Test result is in default test desired value, then, test terminates;Otherwise, the adjusting module and the calling module are called.
  5. 5. apply the test system in test software as claimed in claim 4, it is characterised in that also include:
    Module is recorded, for requiring to record script according to the performance test of software to be tested;
    Adjusting module, for adjusting the script, obtain executable test script.
  6. 6. apply the test system in test software as claimed in claim 4, it is characterised in that each pressure node includes Buffer unit, for real-time storage test record, the test record includes:Response time that each Virtual User accesses, into Power, script execution journal.
CN201510688555.4A 2015-10-21 2015-10-21 Apply method of testing and test system in test software Active CN105279087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510688555.4A CN105279087B (en) 2015-10-21 2015-10-21 Apply method of testing and test system in test software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510688555.4A CN105279087B (en) 2015-10-21 2015-10-21 Apply method of testing and test system in test software

Publications (2)

Publication Number Publication Date
CN105279087A CN105279087A (en) 2016-01-27
CN105279087B true CN105279087B (en) 2018-02-06

Family

ID=55148132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510688555.4A Active CN105279087B (en) 2015-10-21 2015-10-21 Apply method of testing and test system in test software

Country Status (1)

Country Link
CN (1) CN105279087B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055477A (en) * 2016-05-31 2016-10-26 浪潮电子信息产业股份有限公司 Software testing method, device and system
CN108243070B (en) * 2016-12-23 2020-01-31 中国移动通信有限公司研究院 test methods, control node and pressure node
CN106959926A (en) * 2017-05-09 2017-07-18 山东浪潮商用系统有限公司 A kind of the software test module and method of software-oriented upgrading
CN107733735B (en) * 2017-06-01 2022-03-04 云智慧(北京)科技有限公司 Script recording system and method implanted in pressure measurement device
CN107341081A (en) * 2017-07-07 2017-11-10 北京奇虎科技有限公司 Test system and method
CN110019061A (en) * 2017-07-28 2019-07-16 中国移动通信有限公司研究院 End-to-end QoS analysis method, terminal and computer readable storage medium
CN108196992B (en) * 2017-12-28 2021-05-28 广州品唯软件有限公司 Automatic performance testing method and device
CN108156088B (en) * 2018-02-02 2021-04-23 北京盛科维科技发展有限公司 Method and system for controlling flow of message sending screen and computer storage medium
CN109284230B (en) * 2018-10-18 2021-11-26 武汉斗鱼网络科技有限公司 Method, equipment, system and medium for improving stability of pressing machine
CN111290907A (en) * 2020-01-14 2020-06-16 深圳市网心科技有限公司 Distributed storage network pressure measurement method and device, computer device and storage medium
CN111444068B (en) * 2020-03-03 2023-09-19 Oppo广东移动通信有限公司 System performance test method, device, computer equipment and storage medium
CN111651349B (en) * 2020-05-26 2023-07-14 泰康保险集团股份有限公司 Test method and device
CN113849399B (en) * 2021-09-13 2023-06-30 北京计算机技术及应用研究所 Automatic test system and method for multi-machine collaborative software under multi-localization platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5371883A (en) * 1993-03-26 1994-12-06 International Business Machines Corporation Method of testing programs in a distributed environment
CN102541723A (en) * 2010-12-08 2012-07-04 上海杉达学院 Automated testing device for software testing
CN104077230A (en) * 2014-07-11 2014-10-01 百度在线网络技术(北京)有限公司 Method and device for conducting pressure test on distributed system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090083585A1 (en) * 2007-09-21 2009-03-26 Inventec Corporation Method of pressure testing for peripheral component interconnect (pci) bus stage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5371883A (en) * 1993-03-26 1994-12-06 International Business Machines Corporation Method of testing programs in a distributed environment
CN102541723A (en) * 2010-12-08 2012-07-04 上海杉达学院 Automated testing device for software testing
CN104077230A (en) * 2014-07-11 2014-10-01 百度在线网络技术(北京)有限公司 Method and device for conducting pressure test on distributed system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
压力测试;宾建伟;《电子产品可靠性与环境试验》;20080229;第26卷(第1期);第48-51页 *

Also Published As

Publication number Publication date
CN105279087A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
CN105279087B (en) Apply method of testing and test system in test software
CN103257989B (en) Web page download time is analyzed
US8667147B2 (en) Monitoring related content requests
CN103117907B (en) The method and system of server is accelerated in network speed method of testing and system, selection
Zhu et al. Research the performance testing and performance improvement strategy in web application
CN108199921A (en) The method, apparatus and storage medium of a kind of simulation test
CN109714209B (en) Method and system for diagnosing website access fault
US8291068B2 (en) Automatic protocol detection
CN108075934A (en) A kind of network quality monitoring method, apparatus and system
CN109981805A (en) A kind of method and device of domain name mapping
CN106294075A (en) A kind of SQL is monitored method, Apparatus and system
CN108632213A (en) Facility information processing method and processing device
CN109525679A (en) A kind of web file server test method based on http protocol
CN109726340A (en) The querying method and device of uniform resource locator classification
CN109617966A (en) A kind of cloud pipe Platform deployment system and method based on Openstack
CN107168844A (en) A kind of method and device of performance monitoring
CN1953401A (en) Multi-threading network pressure testing method
CN111181800A (en) Test data processing method and device, electronic equipment and storage medium
CN113127356A (en) Pressure measurement method and device, electronic equipment and storage medium
CN106161143A (en) A kind of network performance test method based on ARM server and device
CN109409948A (en) Transaction method for detecting abnormality, device, equipment and computer readable storage medium
CN103780446A (en) Method and system for monitoring network bandwidth resource in real time
CN108574610B (en) Pressure testing method and device, electronic equipment and medium
CN107104997A (en) A kind of reorientation method, terminal and system
CN113014443B (en) Method and system for testing whether CDN (content delivery network) resources hit cache

Legal Events

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