CN105279087A - Test method and test system applied to test software - Google Patents

Test method and test system applied to test software Download PDF

Info

Publication number
CN105279087A
CN105279087A CN201510688555.4A CN201510688555A CN105279087A CN 105279087 A CN105279087 A CN 105279087A CN 201510688555 A CN201510688555 A CN 201510688555A CN 105279087 A CN105279087 A CN 105279087A
Authority
CN
China
Prior art keywords
test
pressure
testing
module
test result
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
CN201510688555.4A
Other languages
Chinese (zh)
Other versions
CN105279087B (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 invention relates to software test technologies, in particular to a test method and a test system applied to test software. The test method comprises: determining the number of press machines according to performance test requirements of to-be-tested software, setting one of all the press machines as a control node, and setting the rest of the press machines as pressure nodes, wherein all the pressure nodes are related with the control node to form a wide-range and distributed mode; and defining tasks and roles undertaken by the control node and the pressure nodes, and transmitting test result data to the control node, wherein the control node in such a test mechanism is only in charge of summarizing and analyzing test data from the pressure nodes, and the pressure nodes are only in charge of generating pressure flow. Therefore, the test method can enable both the control node and the pressure nodes to release a large amount of resources and simulate more virtual users.

Description

Be applied in the method for testing in testing software and test macro
Technical field
The present invention relates to software testing technology, in particular to the method for testing be applied in testing software and test macro.
Background technology
Along with the Chinese government has formulated a series of policy and the construction of lasting reinforcement infrastructure network, for linking Internet provides good network foundation condition at informatization.Operator and all big enterprises actively promote internet, applications development, accelerating network application to the infiltration of social life, as combined under the application such as E-Government, ecommerce and line closely, attracting more people to use internet.Conventional internet enterprise is also making the transition to mobile Internet direction or product compatibility one after another, the hot topic application that visit capacity is very high is originally caused to add again mobile interchange user, internet, applications user visit capacity is hit new peak repeatly, the internet, applications of magnanimity access is also continuing to bring out, and these internet, applications are faced with the technology test that average daily visit capacity crosses the high Concurrency Access of hundred million.Also bring unprecedented challenge to Software Quality Assurance work simultaneously, be mainly manifested in two aspects, one is the difference of accessing magnitude, the information system access amount concurrent user amount of tradition performance test is below 10,000, and the Concurrency Access amount of high concurrent internet, applications can reach tens thousand of, even higher, so directly cause traditional test instrument cannot simulate the Virtual User needed for Concurrency Access amount of high concurrent internet, applications, two is that test environment directly affects test execution, tradition performance test directly initiates pressure to server by LAN (Local Area Network), the pressure that monitoring server can bear, if server cluster, the access pressure magnitude that then can only be can bear by the mode calculation server cluster calculated, and high concurrent internet, applications is based on internet, this kind of being applied as improves user's viewing experience simultaneously, place node server everywhere at network and be formed in one deck intelligent virtual network on existing Internet basic, avoid the bottleneck and the link that internet likely affect data rate and stability as far as possible, make the faster of content delivery, more stable, so directly cause traditional test instrument, test environment all cannot meet testing requirement.
When lacking quality assurance means (i.e. capabilities detection tools), the performance test abandoned performance test or select foreign vendor is selected by a lot of internet applications enterprise.In software performance testing tool, the object driveability test model that what foreign vendor was more famous have InfosysTechnologies company to propose, the Loadrunner of former MercuryInteractive, the WAS testing tool etc. of Microsoft.But these performance tests are subject to the restriction of the factor such as testing tool, test environment (internet environment), performance test can only be carried out to the loading condition of single server in LAN (Local Area Network), but not server cluster, the load capacity of a server cluster is through reckoning and draws, namely single server is multiplied by server number of units, and product is the load capacity of this server cluster.This reckoning have ignored the factors such as load-balancing device, the network bandwidth and quality.So after really reaching the standard grade, the situations such as service response is slow, response time long machine of even delaying that there will be occur.Further, the Controlling vertex in these Performance measurement software and pressure node work are not well distinguished, and cause Controlling vertex function various, at substantial system resource, the Virtual User amount of restriction testing software.
For large-scale distributed test, 100,000 Virtual User simulations, the data volume of about generation is at 50 to 70 ten thousand row, need to call about 100 pressing machinees to simulate, so large-scale pressing machine, when returning test result, is received the reliability and the transmission performance that have a strong impact on data by a control end.Because this process data is frequent alternately, 100 station servers carry out data transmission with 1 station server simultaneously, are difficult to avoid the situation of data transmission fault or failure to occur.Given this, overcoming above-mentioned existing defective performance testing tool data test mechanism is problem demanding prompt solution of the present invention.
Summary of the invention
The object of the present invention is to provide and be a kind ofly applied in method of testing in testing software and test macro, to solve Virtual User restricted number problem, make Controlling vertex and pressure node all can discharge ample resources, simulate more Virtual User amount.
Embodiments provide a kind of method of testing be applied in testing software, it comprises:
Step 1, requires according to the performance test of software to be tested the quantity determining pressing machine;
Step 2, the pressing machine of in all pressing machinees is defined as Controlling vertex, and other pressing machinees are defined as pressure node; And set up all described pressure nodes and be connected with the network of described Controlling vertex;
Step 3, described Controlling vertex sends pressure test instruction to described pressure node;
Step 4, described pressure node, according to described pressure test instruction, creates predetermined number thread and also carries out pressure test, and test record described in real-time storage test record buffer memory;
Step 5, after all pressure node pressure tests terminate, described Controlling vertex collects, integrate be stored on pressure node test record, and analyze obtain test result.
In certain embodiments, be preferably, before described step 3, described method of testing also comprises:
Require to record script according to the performance test of software to be tested;
Adjust described script, obtain executable test script.
In certain embodiments, be preferably, in described step 4, described test record comprises: the response time of each Virtual User access, success ratio, script execution journal.
In certain embodiments, be preferably, after described step 5, described method of testing also comprises:
Step 6, is defined as the front test result of adjustment by described test result;
Step 7, determines to test bottleneck according to test result before described adjustment;
Step 8, adjusts according to described test bottleneck, and re-executes step 3-step 5, be adjusted rear test result.
In certain embodiments, be preferably, after described step 8, described method of testing also comprises:
Test result after test result and described adjustment before more described adjustment;
If test result is better than test result before described adjustment after described adjustment, and after described adjustment, test result is in default test expectation value, then, test terminates; Otherwise, continue to perform step 6-step 8.
Present invention also offers a kind of test macro be applied in testing software, it comprises:
First determination module, it is for requiring according to the performance test of software to be tested the quantity determining pressing machine;
Distribution module, it is for being defined as Controlling vertex by the pressing machine of in all pressing machinees, and other pressing machinees are defined as pressure node;
Link block, according to the allocation result of described distribution module, sets up all described pressure nodes and is connected with the network of described Controlling vertex;
Transport module, it sends pressure test instruction for described Controlling vertex to described pressure node;
Test module, it comprises all pressure nodes, for described pressure node according to described pressure test instruction, creates predetermined number thread and also carries out pressure test, and test record described in real-time storage test record buffer memory;
Analysis module, it comprises Controlling vertex, for after all pressure node pressure tests terminate, described Controlling vertex collects, integrate be stored on pressure node test record, and analyze obtain test result.
In certain embodiments, be preferably, the test macro be applied in testing software also comprises:
Record module, for requiring to record script according to the performance test of software to be tested;
Adjusting module, for adjusting described script, obtains executable test script.
In certain embodiments, be preferably, each pressure node comprises buffer unit, and for real-time storage test record, described test record comprises: the response time of each Virtual User access, success ratio, script execution journal.
In certain embodiments, be preferably, the described test macro be applied in testing software also comprises:
Adjusting module, is connected with analysis module, for described test result being defined as the front test result of adjustment, determining to test bottleneck, adjust according to described test bottleneck according to test result before described adjustment;
Calling module, for based on the test macro after adjusting module adjustment, calls described transport module, described test module, described analysis module, then tests, be adjusted rear test result.
In certain embodiments, be preferably, the described test macro be applied in testing software also comprises: comparison module, is connected with calling module with analysis module;
Described comparison module is for test result after test result before more described adjustment and described adjustment; If test result is better than test result before described adjustment after described adjustment, and after described adjustment, test result is in default test expectation value, then, test terminates; Otherwise, call described adjusting module and described calling module.
The method of testing that what the embodiment of the present invention provided be applied in testing software and test macro, compared with prior art, after requiring to determine pressing machine quantity according to the performance test of software to be tested, by all pressing machinees wherein one be set to Controlling vertex, other are set to pressure node, all pressure nodes all contact with Controlling vertex, form wide area, distributed way.And bearing Controlling vertex, pressure node of task and role define, in this testing mechanism, Controlling vertex is only responsible for gathering and the test data analyzed from pressure node, pressure node is only responsible for generating pressure flow, test result data is transferred to Controlling vertex, this method of testing can make Controlling vertex and pressure node all can discharge ample resources, simulates more Virtual User amount.
For large-scale distributed test, 100,000 Virtual User simulations, the data volume of about generation is at 50 to 70 ten thousand row, need to call about 100 pressing machinees to simulate, so large-scale pressing machine is when returning test result, received, if do not adopt Data cache technology to have a strong impact on reliability and the transmission performance of data by a control end.Therefore utilize pressure node to carry out buffer memory to data, improve reliability and transmission performance.
Accompanying drawing explanation
Fig. 1 is the step schematic diagram of the method for testing be applied in one embodiment of the invention in testing software.
Embodiment
By reference to the accompanying drawings the present invention is described in further detail below by specific embodiment.
Consider that the Concurrency Access amount of high concurrent internet, applications can reach tens thousand of, even higher, so directly cause traditional test instrument cannot simulate the Virtual User needed for Concurrency Access amount of high concurrent internet, applications, tradition performance test directly initiates pressure to server by LAN (Local Area Network), the pressure that monitoring server can bear, if server cluster, the access pressure magnitude that then can only be can bear by the mode calculation server cluster calculated, and high concurrent internet, applications is based on internet, this kind of being applied as improves user's viewing experience simultaneously, place node server everywhere at network and be formed in one deck intelligent virtual network on existing Internet basic, avoid the bottleneck and the link that internet likely affect data rate and stability as far as possible, make the faster of content delivery, more stable, so directly cause traditional test instrument, test environment all cannot meet testing requirement.The present embodiment provides and is applied in method of testing in testing software and test macro, tests, and effectively carry out the object of test data transmission, process to reach the more Virtual User of utilization to software.
Be applied in the method for testing in testing software, it comprises:
Step 1, requires according to the performance test of software to be tested the quantity determining pressing machine;
Step 2, the pressing machine of in all pressing machinees is defined as Controlling vertex, and other pressing machinees are defined as pressure node; And set up all pressure nodes and be connected with the network of Controlling vertex;
Step 3, Controlling vertex sends pressure test instruction to pressure node;
Step 4, pressure node, according to pressure test instruction, creates predetermined number thread and also carries out pressure test, and real-time storage test record cache test record;
Step 5, after all pressure node pressure tests terminate, Controlling vertex collects, integrate be stored on pressure node test record, and analyze obtain test result.
This method of testing is configured to concrete test macro, and it comprises:
First determination module, it is for requiring according to the performance test of software to be tested the quantity determining pressing machine;
Distribution module, it is for being defined as Controlling vertex by the pressing machine of in all pressing machinees, and other pressing machinees are defined as pressure node;
Link block, according to the allocation result of distribution module, sets up all pressure nodes and is connected with the network of Controlling vertex;
Transport module, it sends pressure test instruction for Controlling vertex to pressure node;
Test module, it comprises all pressure nodes, for pressure node according to pressure test instruction, creates predetermined number thread and also carries out pressure test, and real-time storage test record cache test record;
Analysis module, it comprises Controlling vertex, for after all pressure node pressure tests terminate, Controlling vertex collects, integrate be stored on pressure node test record, and analyze obtain test result.
After requiring to determine pressing machine quantity according to the performance test of software to be tested, by all pressing machinees wherein one be set to Controlling vertex, other are set to pressure node, and all pressure nodes all contact with Controlling vertex, form wide area, distributed way.And bearing Controlling vertex, pressure node of task and role define, in this testing mechanism, Controlling vertex is only responsible for gathering and the test data analyzed from pressure node, pressure node is only responsible for generating pressure flow, test result data is transferred to Controlling vertex, this method of testing can make Controlling vertex and pressure node all can discharge ample resources, simulates more Virtual User amount.
For large-scale distributed test, 100,000 Virtual User simulations, the data volume of about generation is at 50 to 70 ten thousand row, need to call about 100 pressing machinees to simulate, so large-scale pressing machine is when returning test result, received, if do not adopt Data cache technology to have a strong impact on reliability and the transmission performance of data by a control end.Therefore utilize pressure node to carry out buffer memory to data, improve reliability and transmission performance.
Next, this technology is described in detail:
In order to adapt to the characteristic that current interconnected net height is concurrent, Concurrency Access amount is large, a kind of concrete grammar being applied in testing mechanism in testing software and distributed testing is newly proposed.
New testing mechanism is: a test machine, as Controlling vertex, realizes pressing creation by Long-distance Control multiple stage pressure node, thus meets high concurrent or on-line testing.Can resource utilization be improved, solve the problem of Virtual User restricted number
Be applied in distributed testing by this testing mechanism, concrete method of testing is, as shown in Figure 1:
Step 101, requires according to the performance test of software to be tested the quantity determining pressing machine;
The performance test of each software to be tested requires different, needs the quantity determining pressing machine according to specific requirement, and the simulation thread quantity of each pressing machine (Virtual User amount).
Step 102, the pressing machine of in all pressing machinees is defined as Controlling vertex, and other pressing machinees are defined as pressure node; And set up all pressure nodes and be connected with the network of Controlling vertex;
Pressing machine is distributed with the role set in testing mechanism, and guarantees that network is unimpeded.
Step 103, Controlling vertex sends pressure test instruction to pressure node;
After the performance test of software clearly to be tested requires, determine pressure test instruction, this pressure test instruction comprises: test open command and pressure node simulation thread amount etc.
Step 104, pressure node, according to pressure test instruction, creates predetermined number thread and also carries out pressure test, and real-time storage test record cache test record;
For large-scale distributed test, 100,000 Virtual User simulations, the data volume of about generation is at 50 to 70 ten thousand row, need to call about 100 pressing machinees to simulate, so large-scale pressing machine is when returning test result, received, if do not adopt Data cache technology to have a strong impact on reliability and the transmission performance of data by a control end.So, the test record of pressure node real time record, and by test record buffer memory, after all threads are all tested, data cached unification is sent to Controlling vertex, avoid the situation frequently causing network congestion in traditional test to Controlling vertex transmission data.And the internal processes that Controlling vertex, pressure node call in test process is few, can promote that the stable of test carries out.
Wherein the particular content of test record needs to require specifically to determine according to test performance, generally includes: the response time of each Virtual User access, success ratio, script execution journal.
Step 105, after all pressure node pressure tests terminate, Controlling vertex collects, integrate be stored on pressure node test record, and analyze obtain test result.
The unified test record collecting, integrate storage of Controlling vertex, the problems such as analyze and obtain test result, avoid frequently transmitting data, frequently process the error in data caused, analysis result is made mistakes, and test is unstable.
In above-mentioned most basic method of testing, need to require setup test script according to the performance test of software to be tested, so before step 3, method of testing also comprises:
Step 106, requires to record script according to the performance test of software to be tested;
Concrete method for recording, similar to routine.
Step 107, adjustment script, obtains executable test script.
Carrying out smoothly to improve test, needing to ensure that test script can perform smoothly, so, need to operate a whole test script on a pressing machine, revise the wrong content of the inside.
When 100 station servers simultaneously carry out data transmission with 1 station server, be difficult to avoid the situation of data transmission fault or failure to occur, thus need the availability of data after data checking mechanisms guarantee data interaction, avoid because misdata causes the inaccurate of test result
Can increase by a step between step 104 and step 105:
Step 108, detects test record error rate.
The all test result raw data accepted are kept in a data file by Controlling vertex, and timing read test result raw data file, file content after reading is temporarily stored in the data buffer storage of Controlling vertex, Controlling vertex carries out data check to the data content in data buffer storage and form, the data meeting content and call format are carried out data analysis, undesirable data are directly abandoned, and finally form test result.
Because software test there will be various problem, these problems are embodied by test result, therefore according to test result adjustment method of testing, to obtain satisfactory test result.So,
After step 105, method of testing also comprises:
Step 109, is defined as the front test result of adjustment by test result;
Step 110, determines to test bottleneck according to test result before adjustment;
Step 111, adjusts according to test bottleneck, and re-executes step 103-step 105, be adjusted rear test result.
Step 112, compares the front test result of adjustment test result rear with adjustment;
If test result is better than adjusting front test result after adjustment, and after adjustment, test result is in default test expectation value, then, test terminates; Otherwise, continue to perform step 109-step 111.
By step 109-112, can successive optimization method of testing, and then get satisfactory test result, finally complete software test.
Specific embodiment: this method of testing is carried out exemplary application in a concrete software test
Testing software distributed testing mechanism example is as follows:
Tested application system is typical B/S architecture system, and based on .net platform development, database adopts SQLServer, and Application Middleware is IIS, and deployment server is WindowsServer2008.
System under test (SUT) is a knowledge base, has login, my problem, knowledge base, notice and the content such as news, survey.Testing requirement is support 100,000 concurrent test, infers that separate unit application can support that 3000 is concurrent, by calculating that deployment 34 station server can realize the support of 100,000 concurrent tests.
34 station servers choosing same model configuration carry out test environment and build, all safe self contained data base of Servers-all, and namely database and application deployment are at same station server, and equivalent environment disposes 34 covers.All WindowsServer2008, IIS7, SQLserver2008 is adopted as 34 pressure node server test environment.Every station server distributes an IP address.
Step 1: script is recorded: first, input tested application system path (network address), need to record (submit to-logging off after opening login page-input username and password-execution register-Successful login system-enter new problem-input problem content) according to test; Then, the content for script of recording is saved to Controlling vertex, completes script and record
Step 2: script is issued arbitrary pressure node by Controlling vertex, by this pressure node pre-execution script, can detect this script run succeeded, and modifies to incomplete script, until can correctly perform
Step 3: Controlling vertex selects whole pressure node, sends test script, starts to perform test,
Step 4: each pressure node creates 3000 threads, simulate 3000 concurrent users to conduct interviews to system under test (SUT), simultaneously by response time that each Virtual User is accessed, success ratio, script execution journal etc., stored in buffer memory, send to Controlling vertex when the data in data buffer storage reach the buffer memory capacity of setting.
Step 5: all pressure node test result data accepted are analyzed by Controlling vertex, and one is error rate, namely in measuring executing process, false request number per minute, and wrong content; Two is monitoring resource, comprises the resource information of testing server and tested application system server.
Step 6: can see the statistics of test result, the error rate of test is higher when 16:10-16:12, thought by the component analysis of contrast EMS memory occupation, partial pressure node is had to cause simulating unsuccessfully because of EMS memory occupation is too high when simulation 3000 users, thus tuning is carried out to test macro, be adjusted to 2800 by under analog subscriber, increase pressure node is 38 simultaneously, repeats the 2nd and takes turns test.Newly-increased 100,000 data can be found out by inquiry system under test (SUT) database, reach desired standard, test result success.
According to above-mentioned method of testing measuring system constructing, comprising:
First determination module, it is for requiring according to the performance test of software to be tested the quantity determining pressing machine;
Distribution module, it is for being defined as Controlling vertex by the pressing machine of in all pressing machinees, and other pressing machinees are defined as pressure node;
Link block, according to the allocation result of distribution module, sets up all pressure nodes and is connected with the network of Controlling vertex;
Transport module, it sends pressure test instruction for Controlling vertex to pressure node;
Test module, it comprises all pressure nodes, for pressure node according to pressure test instruction, creates predetermined number thread and also carries out pressure test, and real-time storage test record cache test record;
Analysis module, it comprises Controlling vertex, for after all pressure node pressure tests terminate, Controlling vertex collects, integrate be stored on pressure node test record, and analyze obtain test result.
In order to obtain qualified test script, also need to increase as lower module in a test system:
Record module, for requiring to record script according to the performance test of software to be tested;
Adjusting module, for adjusting script, obtains executable test script.
In order to improve the buffer memory of pressure node to test record, improve the stability of buffer memory and correct degree, comprise buffer unit in each pressure node, for real-time storage test record, test record comprises: the response time of each Virtual User access, success ratio, script execution journal.
In order to successive optimization method of testing, have also been devised in this test macro:
Adjusting module, is connected with analysis module, for test result being defined as the front test result of adjustment, determining to test bottleneck according to test result before adjustment, adjusting according to test bottleneck;
Calling module, for based on the test macro after adjusting module adjustment, calls transport module, test module, analysis module, then tests, be adjusted rear test result.
Comparison module, is connected with calling module with analysis module;
Comparison module is used for comparing the front test result of adjustment test result rear with adjustment; If test result is better than adjusting front test result after adjustment, and after adjustment, test result is in default test expectation value, then, test terminates; Otherwise, call adjusting module and calling module.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. be applied in the method for testing in testing software, it is characterized in that, comprising:
Step 1, requires according to the performance test of software to be tested the quantity determining pressing machine;
Step 2, the pressing machine of in all pressing machinees is defined as Controlling vertex, and other pressing machinees are defined as pressure node; And set up all described pressure nodes and be connected with the network of described Controlling vertex;
Step 3, described Controlling vertex sends pressure test instruction to described pressure node;
Step 4, described pressure node, according to described pressure test instruction, creates predetermined number thread and also carries out pressure test, and test record described in real-time storage test record buffer memory;
Step 5, after all pressure node pressure tests terminate, described Controlling vertex collects, integrate be stored on pressure node test record, and analyze obtain test result.
2. be applied in the method for testing in testing software as claimed in claim 1, it is characterized in that, before described step 3, described method of testing also comprises:
Require to record script according to the performance test of software to be tested;
Adjust described script, obtain executable test script.
3. be applied in the method for testing in testing software as claimed in claim 1, it is characterized in that, in described step 4, described test record comprises: the response time of each Virtual User access, success ratio, script execution journal.
4. the method for testing be applied in testing software as described in any one of claim 1-3, is characterized in that, after described step 5, described method of testing also comprises:
Step 6, is defined as the front test result of adjustment by described test result;
Step 7, determines to test bottleneck according to test result before described adjustment;
Step 8, adjusts according to described test bottleneck, and re-executes step 3-step 5, be adjusted rear test result.
5. be applied in the method for testing in testing software as claimed in claim 4, it is characterized in that, after described step 8, described method of testing also comprises:
Test result after test result and described adjustment before more described adjustment;
If test result is better than test result before described adjustment after described adjustment, and after described adjustment, test result is in default test expectation value, then, test terminates; Otherwise, continue to perform step 6-step 8.
6. be applied in the test macro in testing software, it is characterized in that, comprising:
First determination module, it is for requiring according to the performance test of software to be tested the quantity determining pressing machine;
Distribution module, it is for being defined as Controlling vertex by the pressing machine of in all pressing machinees, and other pressing machinees are defined as pressure node;
Link block, according to the allocation result of described distribution module, sets up all described pressure nodes and is connected with the network of described Controlling vertex;
Transport module, it sends pressure test instruction for described Controlling vertex to described pressure node;
Test module, it comprises all pressure nodes, for described pressure node according to described pressure test instruction, creates predetermined number thread and also carries out pressure test, and test record described in real-time storage test record buffer memory;
Analysis module, it comprises Controlling vertex, for after all pressure node pressure tests terminate, described Controlling vertex collects, integrate be stored on pressure node test record, and analyze obtain test result.
7. be applied in the test macro in testing software as claimed in claim 6, it is characterized in that, also comprise:
Record module, for requiring to record script according to the performance test of software to be tested;
Adjusting module, for adjusting described script, obtains executable test script.
8. be applied in the test macro in testing software as claimed in claim 6, it is characterized in that, each pressure node comprises buffer unit, and for real-time storage test record, described test record comprises: the response time of each Virtual User access, success ratio, script execution journal.
9. be applied in the test macro in testing software as claimed in claim 6, it is characterized in that, also comprise:
Adjusting module, is connected with analysis module, for described test result being defined as the front test result of adjustment, determining to test bottleneck, adjust according to described test bottleneck according to test result before described adjustment;
Calling module, for based on the test macro after adjusting module adjustment, calls described transport module, described test module, described analysis module, then tests, be adjusted rear test result.
10. the test macro be applied in testing software as described in any one of claim 6-9, is characterized in that, also comprise: comparison module, be connected with analysis module with calling module;
Described comparison module is for test result after test result before more described adjustment and described adjustment; If test result is better than test result before described adjustment after described adjustment, and after described adjustment, test result is in default test expectation value, then, test terminates; Otherwise, call described adjusting module and described calling module.
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 true CN105279087A (en) 2016-01-27
CN105279087B 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)

Cited By (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
CN106959926A (en) * 2017-05-09 2017-07-18 山东浪潮商用系统有限公司 A kind of the software test module and method of software-oriented upgrading
CN107341081A (en) * 2017-07-07 2017-11-10 北京奇虎科技有限公司 Test system and method
CN107733735A (en) * 2017-06-01 2018-02-23 云智慧(北京)科技有限公司 Script recording system and method
CN108156088A (en) * 2018-02-02 2018-06-12 北京盛科维科技发展有限公司 Letter hair screen flow control methods and system, computer storage media
CN108196992A (en) * 2017-12-28 2018-06-22 广州品唯软件有限公司 A kind of automatic performance test method and device
CN108243070A (en) * 2016-12-23 2018-07-03 中国移动通信有限公司研究院 A kind of test method, control node and pressure node
CN109284230A (en) * 2018-10-18 2019-01-29 武汉斗鱼网络科技有限公司 A kind of method, equipment, system and medium improving pressing machine stability
CN110019061A (en) * 2017-07-28 2019-07-16 中国移动通信有限公司研究院 End-to-end QoS analysis method, terminal and computer readable storage medium
CN111290907A (en) * 2020-01-14 2020-06-16 深圳市网心科技有限公司 Distributed storage network pressure measurement method and device, computer device and storage medium
CN111444068A (en) * 2020-03-03 2020-07-24 Oppo广东移动通信有限公司 System performance testing method and device, computer equipment and storage medium
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device
CN113849399A (en) * 2021-09-13 2021-12-28 北京计算机技术及应用研究所 Automatic testing system and method for multi-machine cooperative software under multi-localization platform

Citations (4)

* 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
US20090083585A1 (en) * 2007-09-21 2009-03-26 Inventec Corporation Method of pressure testing for peripheral component interconnect (pci) bus stage
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

Patent Citations (4)

* 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
US20090083585A1 (en) * 2007-09-21 2009-03-26 Inventec Corporation Method of pressure testing for peripheral component interconnect (pci) bus stage
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
宾建伟: "压力测试", 《电子产品可靠性与环境试验》 *

Cited By (18)

* 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
CN108243070A (en) * 2016-12-23 2018-07-03 中国移动通信有限公司研究院 A kind of test method, 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
CN107733735A (en) * 2017-06-01 2018-02-23 云智慧(北京)科技有限公司 Script recording system and method
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
CN108196992A (en) * 2017-12-28 2018-06-22 广州品唯软件有限公司 A kind of automatic performance test method and device
CN108196992B (en) * 2017-12-28 2021-05-28 广州品唯软件有限公司 Automatic performance testing method and device
CN108156088A (en) * 2018-02-02 2018-06-12 北京盛科维科技发展有限公司 Letter hair screen flow control methods and system, computer storage media
CN109284230A (en) * 2018-10-18 2019-01-29 武汉斗鱼网络科技有限公司 A kind of method, equipment, system and medium improving pressing machine stability
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
CN111444068A (en) * 2020-03-03 2020-07-24 Oppo广东移动通信有限公司 System performance testing method and device, computer equipment and storage medium
CN111444068B (en) * 2020-03-03 2023-09-19 Oppo广东移动通信有限公司 System performance test method, device, computer equipment and storage medium
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device
CN113849399A (en) * 2021-09-13 2021-12-28 北京计算机技术及应用研究所 Automatic testing system and method for multi-machine cooperative software under multi-localization platform
CN113849399B (en) * 2021-09-13 2023-06-30 北京计算机技术及应用研究所 Automatic test system and method for multi-machine collaborative software under multi-localization platform

Also Published As

Publication number Publication date
CN105279087B (en) 2018-02-06

Similar Documents

Publication Publication Date Title
CN105279087A (en) Test method and test system applied to test software
Zhu et al. Research the performance testing and performance improvement strategy in web application
CN101930400B (en) SDK (Software Development Kit) automatic test system and method
CN109981805A (en) A kind of method and device of domain name mapping
CN110034972B (en) Server pressure testing method and device
CN113163002B (en) Server switching method and device and storage medium
US11809882B2 (en) Interface calling method and apparatus, and computer-readable storage medium
CN110109733A (en) Virtual Machine Worker queue and redundancy queue update method towards different aging scenes
CN115328752B (en) Cluster simulation method and system for Kubernetes control plane test
CN1953401A (en) Multi-threading network pressure testing method
CN111181800A (en) Test data processing method and device, electronic equipment and storage medium
CN113238965B (en) Interface test script generation method, system and storage medium
CN113127356A (en) Pressure measurement method and device, electronic equipment and storage medium
CN106060048A (en) Network resource access method and network resource access device
CN109409948A (en) Transaction method for detecting abnormality, device, equipment and computer readable storage medium
CN116974874A (en) Database testing method and device, electronic equipment and readable storage medium
CN108833168A (en) A kind of server cluster environment network system and Detection of Stability method
CN110716875A (en) Concurrency test method based on feedback mechanism in domestic office environment
Linling et al. Research on automatic test of WEB system based on Loadrunner
CN113014443B (en) Method and system for testing whether CDN (content delivery network) resources hit cache
CN116962395A (en) Cloud node determining method, device, equipment and computer readable storage medium
CN113672200A (en) Microservice processing method and device, storage medium and electronic equipment
Dutta et al. ReDAL: An efficient and practical request distribution technique for application server clusters
CN117194131B (en) Data processing method, apparatus, device, readable storage medium, and program product
CN115225548B (en) Method for evaluating cloud desktop bearing capacity by server and storage medium

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